Setting SL & restriction if
-
I have set up stop loss to 0.20$ but when it opens trade it is setting 50$ stop loss , also kindly explain how do i restrict order should not place if candle size more than 50$ when crossing EMA
-
It depends on your current structure. Could you please share your project?
-
-
Please do the following:
- Specify buys only and sells only on blocks 47 and 75. Now both of them are closing all open trades no matter what:
- Modify number ID for blocks 64 and 77. Ther MUST be the first blocks to be executed so they need lower values, choose 1 and 2 to be sure.
- Your stop loss if 50 and not 0.2 because of the value you specified on the block. 0.2 is not a price but a percantage of your current balance. You should find the correct percentage value to get 0.20 $
-
https://fxdreema.com/shared/XKGaS4w1b
okay now?
-
Point 2 is missing and I'm not sure about your new stop loss configuration. Have you tested it?
-
Unable to understand point 2 actually as 64 & 77 already having the value 1. No it is not taking trade now after the changes . kindly make changes and share
https://fxdreema.com/shared/GmSvdhuTd -
I mean you should type the following numbers here:

-
does that really matter , i did not know it. do i need to change number for the rest of the blocks too like conditions and buy Sell?
-
@javed77 @l-andorrà actually it doesnt matter. The EA will only compare the blocks on top of the "trees", changing the block ID's makes no difference in this case.
-
there is always a new info here , ironically non of EA till date worked as per the plan
-
Does it work now, though?
-
No like always it has its own ways of opening and closing trades
-
Can you please share the latest version to take a look?
-
https://fxdreema.com/shared/Gk7FgPpJb Here it is
-
The SL level in your buy/sell now blocks is defined as 'Custom(price level)', whereas in your trailing stop it is as 'Custom(proce fraction)'. They are differemt calculations. All of them should be the same everywhere.
-
https://fxdreema.com/shared/o3FmINhAd
is it fine now? -
Now they are all the same. However, I'm not sure yet about your way to canculate the SL. Have you tried it independently of this project? This is the first time I see that formula.
-
tried but did not work
-
I guess that way to express the SL is not correct. This is why it doesn't work. I tried to find the formula to translate money into pips, but couln't find it. Could Mr. roar give us a hand, please?