1) Setup Parameters:
- a. Timeframe: Default 1H
b. CandleSize: a percentage, default 150%
c. StradleSize: a percentage, default 10%
d. Stoploss: a percentage, default 50%
e. TakeProfit: a percentage, default 50%
3) Two Entry orders placed on trigger to straddle the candle close,
- a. one long placed ‘StradleSize’ * ATR above the candle close;
b. one short placed ‘StradleSize’ * ATR below the candle close.
c. Stop loss set at ‘Stoploss’ * ATR (for both orders)
d. Limit Order set at ‘TakeProfit’ * ATR (for both orders)
5) No need for multiple trade checking. No trade expiry needed; no other indicators except ATR.
Please see the attached image that hopefully will show what I mean.
Once I have got some good code for the above then I can modify it into what want.
Thanks