help please with atr as value for SL/TP
-
Hello there.
I have spent the entire day trying to get this thing working. Can someone please give me a hand?
I tried custom price fraction of atr using /2 for Sl and *1 for tp , both with 0 and 1 candles, not working.
However if I put *2 Sl and *4 tp, is working. but thats not what I want.I need current atr for SL and current atr*2 for tp. I tried to convert atr to pips to a variable, without luck either.
I am out of ideas and luck and patience, someone please help me get this thing working because its driving me crazy. I spent literally 10h today trying to get this shit working on.
-
I am realizing that for some reason, when I have a low ATR like 3-4-2 and so on, and my SL its suppose to be the half of this, it always gets automatically on 6.4 points. I cant understand why
-
Do you have "Custom (price fraction)" as the SL type?
Does your broker have min SL distance?You can also share your project link.
-
https://fxdreema.com/shared/lX8b1s1nb
Yes I tried with custom price faction.
When I backtest with soft4x, and forward test aswell it allows me to use SL of 2points and higher.
The problem is from EA.
Now for exmple I am trying SL is 50% of the TP which is made with atr. The TP is working, is taking the good values, like for example when ATR is 2 is giving me 4 TP, when is 5 is giving me 10 and so on....but SL is only working when TP is 12points or more. for some reason it doesnt work with 2 or 3 or 4 or 5 , when its this value it automatically puts 6.4 -
For example tried now, I have put FIXED PIP on SL as 2 then as 3 and then as 4, and for some stupid reason, always gets put on 6.4
-
anyone can lend me a help please?
-
hi
Only idea adviceI newer send so small SL to broker. If i want so small Sl i write it like variable and make condition under this price close trade. I avoid of restrict of broker.
I sent also classic stoplost for broker but it is let say technical SL let say 50 pips for 10% equity. Something easy. To protect from technical problems. This Sl is on broker server.So small Sl is always problem you must callculate with so many problems. Bid Ask price and lag ping server, broker manipulating, also some broker take moving stoplost like new command....
This principle have some plus and minus.Hmmm...
-
thank you for the input mate , its just my strategy works with this low amount unfortunately, because its based on atr value over a long period of time. I tried with fixed SL but it doesn't work, since its required to be dynamic, like this month its going to be different than last month and so on.
-
Remove block 35 and connec blocks 23, 24 and 28 one below the other under block 22. But the question is, what is supposed to happen then? I understand the left tree but not the right one.
-
The right one it was supposed to be the part for buy, but in the end I only sticked with sell, cuz then for buy is the same but in reversed. Looks like there is an internal problem, that makes me always get a bigger value than the atr, so for that now I put a condition that if atr > that a value , only take then, this way mt sl and tp always respect ratios. its not exactly what I wanted ,but its something
-
I recommend you to create symmetrical paths for buys and sells. Otherwise weird results may appear.