Repeat buy or sell from the same price point
-
-
If I understand that chat correctly what you want is opening 3 buy trades at the exact same place, in this example 50 pips below current price. Is that correct?
-
To open more than 1 trade/order at the same price, set the changing variable to the 1st value use a loop and pass to place the trade/order, and change the variable with a modify block, this way every loop will place the trade/order with the selected value changed
-
@l-andorrà Yes , All three trades below 50 pips and a take profit of 30 pips each. Each trade starts only after the take profit of the previous trade.
-
@vijithtr Then you need to use this structure in the 'on trade' tab:
https://fxdreema.com/shared/gfIgcFVFd
Please beware of the variables. Both need to be reset when necessary.
-
@l-andorrà Pls check now
https://fxdreema.com/shared/syOuv4e9c -
-
@l-andorrà ok thank you..
How to reset variables ? After taking profit percentage? -
I see they are reset immediately below those 'once a day' blocks. I guess you mean the one controlling the maximum of 3 tries, right. You can do it exactly in the same way. At the beginning of the next day.
-
@l-andorrà ok
Percentage profit closing blocks are correct ? If there are any changes needed ? Can I add ‘delete pending order’ block below ‘close trades’ ?
https://fxdreema.com/shared/c6B04MD6e -
@vijithtr Considering you want to close all open trades when a specific loss is hit, you need to do this instead:

-
@l-andorrà ok this option is only for loss percentage right ?
For profit percentage, it is ‘greater than equal to’ profit .
So I need to create same set of blocks for loss percentage also ? -
For percent you can add a line of code like what's in here: https://fxdreema.com/shared/KFmMNkqib
-
@jstap but if I want to change, like 1% , 2% ,3% etc in input variables how to do that ?
-
@vijithtr Correct.
-
The DAY_PERCENTAGE constant will be in your inputs, you can change this yo any number you like, and this represents the percent.
-
@jstap ok thank you….
What is the use of once per bar block above modify variable block ?? -
So at the start of the day, your balance is set to the current account balance.
-
Ok thank you @jstap
-
@jstap this close trades block will close all trades including including pending orders ???

