Very tricky! Help please
-
https://fxdreema.com/shared/OcA0Zb7Xb
Hello, I am trying to close each trade, no matter what it is...when it has reached 2.6% of profit from the moment the trade opened, but 2.6% of the 3 day MA. I have used many blocks to try to make it happen but I think it must be done with variables and I am not very good with them admittedly. I will want to set a take profit % too.
-
@l-andorrà @roar if you have a moment por favor gentlemen?
-
@jsauter86 Not sure I fully understand what you mean. What is '2.6% of the 3 day MA' exactly?
-
I want to close a trade when the profit is 2.6%, or rather if the pips move in any direction 2.6%, of the current 3 day SMA, then close the trade.
-
@jsauter86
updated the project Sir, check the comment. thats what I am trying to achieve but instead of a comment, I want to close a trade when the pip move is the value of that comment.
-
@jsauter86 So you mean all trades should be closed when ANY of these circunstances happen:
a) Equity is in 2.6% profit or 2.6% loss.
b) Current price is 2.6% above or below the current value of the 3 day SMA.Is that correct?
-
@l-andorrà said in Very tricky! Help please:
@jsauter86 So you mean all trades should be closed when ANY of these circunstances happen:
a) Equity is in 2.6% profit or 2.6% loss.
b) Current price is 2.6% above or below the current value of the 3 day SMA.Is that correct?
yes sir, if I can see how to do that I can adjust for what I need it to precisely do

-
@jsauter86
sorry, let me see if I can clarify anything.
Regardless of which trade is open I want the trade that is opened to be closed when pips have reached variable AA. Variable AA = 3DaySMA*.026
....I just realized an hour later that what I am asking for is kind of like when people ask for a close trade of 1.5ATR...but with a slightly different condition.
-
@jsauter86 In that case try this:

This will work for positive values only. If you need the negative value too, just use a second contition block at the same horizontal level of block 2 and then modify 0.026 by -0.026.