on the forum, where may I find a simple Ninja strategy checking whether the price crosses above the close of the previous bullish bar or below the open of a previous bullish one ?
(This somehow corrisponds to verify if an Engulfing occurs not on both sides of the previous bar/candle, but just on one side. However, a normal Engulfing strategy is eventually also good).
I implemented the attached code by myself, but it presents 2-3 issues.
Furthermore, is there a NinjaScript function to show only which row number the code is compiling during its work, thus returning something like 1-2-3.....24-27-30..... ?

Comment