I'm developing a trend line crossing above/below strategy given a manually drawn trend line. In the tests I found the same bar when crossing the line generated more than one signal, while Calculate=Calculate.OnBarClose. If OnBarUpdate() executes only once at the close of each bar, how can this be? Additionally, where does the line "Line Object: NinjaScriptInfo Manually Drawn: false" come from?
Below are the code/chart/Output screen shot. Kindly advise. Appreciate very much.
Cheers,
Steven

Comment