PositionSizer icon indicating copy to clipboard operation
PositionSizer copied to clipboard

Add fix SL and TP (using ATR) distance using previous candle options

Open Mukhalil01 opened this issue 2 years ago • 8 comments

Hi, Thank you for creating this amazing EA, current issues that I encountered is that, With ATR options, using previous candle for TP and SL, I find TP and SL move along with current price. kindly, please add set fix TP and SL distance using ATR previous candle options, appreciate your help.

Regards Mok

Mukhalil01 avatar Nov 29 '23 16:11 Mukhalil01

Hello Mok,

Could you please elaborate? How would that work? What are ATR values would be added to or subtracted from if not from the current price?

EarnForex avatar Nov 29 '23 16:11 EarnForex

Hello Mok,

Could you please elaborate? How would that work? What are ATR values would be added to or subtracted from if not from the current price?

Ok, what I mean is the ATR values (Pips distance for TP and SL) added and subtracted from previous closed price candle. For example, if I go long, let say 30 pips (values from ATR calculations), TP will be 30 pips from previous closed price, not from current open price, Hope this will clarify, thank you

Mukhalil01 avatar Nov 29 '23 16:11 Mukhalil01

Then you need to set up a pending order with the Entry at the previous candle's close.

EarnForex avatar Nov 29 '23 17:11 EarnForex

Then you need to set up a pending order with the Entry at the previous candle's close.

I did try that, but then, I have to manually enter the price at TP and SL box. Please correct me if I am wrong, thanks in advance

Mukhalil01 avatar Nov 29 '23 17:11 Mukhalil01

No, if you switch to Pending and move the Entry to your preferred level, the SL and TP lines will move with the Entry line as long as some ATR multipliers are given for them.

EarnForex avatar Nov 29 '23 17:11 EarnForex

No, if you switch to Pending and move the Entry to your preferred level, the SL and TP lines will move with the Entry line as long as some ATR multipliers are given for them.

Ok, I will try that after today's daily candle close, and revert to you later, thank you

Mukhalil01 avatar Nov 29 '23 17:11 Mukhalil01

No, if you switch to Pending and move the Entry to your preferred level, the SL and TP lines will move with the Entry line as long as some ATR multipliers are given for them.

Ok, I will try that after today's daily candle close, and revert to you later, thank you

I try using PO, unfortunately it enter into buy limit, not instant. I also try to adjust TP and SL, using values from nnfx atr indicator, but the prices fluctuate, not fix as I expected. Kindly, if possible, for next update, if you can include, feature or option to set TP and SL (from ATR) from last day closed price, reason is most of the time, prices did not hit TP and reverse. Hope you can consider, thanks

Mukhalil01 avatar Nov 30 '23 05:11 Mukhalil01

I try using PO, unfortunately it enter into buy limit, not instant.

What do you mean? Were you expecting a pending order to be executed as a market order? Why would that happen?

I also try to adjust TP and SL, using values from nnfx atr indicator, but the prices fluctuate, not fix as I expected.

Not sure what that means. Sorry!

Kindly, if possible, for next update, if you can include, feature or option to set TP and SL (from ATR) from last day closed price, reason is most of the time, prices did not hit TP and reverse. Hope you can consider, thanks

It's still unclear to me how your proposal is supposed to work.

EarnForex avatar Nov 30 '23 07:11 EarnForex