I open the order based on Richard Donchian 4 weeks high/low on weekly chart
Can I place buy/sell stop entry order?
or how to place order at exact the breakout point, which can be used for back test.
Any sample code?
I used Bid/Ask price comparing to 4 weeks high/low to determine the break out point.
However, I got lots of order close error 131 during EA test.
Here pasted my code: