Specification
Hello! I have a strategy I would like you to program so i can test the variables on (Ninja Trade 8) NT8 backtest mode.
So this strategy use 2 Donchians. The entry signal is initiated when price breaks either top or bottom donchian line.
The stop loss is attached to the second donchian top or bottom lines depending on direction of trade.
Entry: I would suggest something like a limit order (in a long trade) 2 tick above top donchian level when price enter a number ticks range from top donchian level or atr. which ever is easiest.
Initial stop: the stops were placed at 1⁄2 N for 1/2%
account risk. If a given Unit was stopped out, the Unit would be re-entered if the
market reached the original entry price. N is from an indicator that I have.
Exits: IN a long trade exit when price closes below smaller donchian bottom.
Make initial stop adjustable in the way of having x of N instead of stuck at 1/2N. Then a check box to turn it off
I would also like the OPTION to make the ejposionsizer automatically adjust quantity of lots per trade. It would the establish the quantity by its reading at the the time of initiating the order for the trade.