Please help. Is the logic here correct / if it was wrong, then what is correct؟
-
https://fxdreema.com/shared/WeDg6ptle
In this project, I try to open a position when the price has moved twenty-five pips up or down from the last opened position.
Always open the first deal only, and the rest of the blocks do not work.
Required for example:
Price now = 250
Then the price moved up 25 PIPS to 275 open buy .Then the price moved to down -25 back to 250 open sell .
Please help. Is the logic here correct / if it was wrong, then what is correct؟ -
@khalids222 You cannot catch the 'close price' of an open trade.
You should use the 'For each closed trade' bloack instead. -
@l-andorrà ok but I did not used and however not work
-
I've tried all the ways but unfortunately it doesn't work as intended.
And when I place a sign greater than or less than without equal, it opens many deals in one direction for the first trade .
Is there anyone who can help me with this
https://fxdreema.com/shared/aUc186z6b -
@khalids222 You need to duplicate block 38. Otherwise both blocks 35 and 34 are executed every single tick.
-
@l-andorrà Unfortunately, even after modification it does not work
-
Hi @khalids222 ,
Best way I know is to use the block named "pips away from open-price" after "For each trade" block to add to volume (create additional trades related to parent trade).
If you do the setup right (please read the provided information in blocks) it should work perfectly.
Regards.
-
@paragorundu said in Please help. Is the logic here correct / if it was wrong, then what is correct؟:
Best way I know is to use the block named "pips away from open-price" after "For each trade" block to add to volume (create additional trades related to parent trade).
If you do the setup right (please read the provided information in blocks) it should work perfectly.
Regards.Thank you very much, I know this method, but I don't want to use it
I tried to amend it, but I could not -
In my opinion, this is the easiest way. Here I share a screen shot, which the usage order is left to right with the following setup. You should use group number if you need. It should work.
I use this and similar setups in my EAs which works perfectly.
Regards.
