How can I implement this with Ninja?
Is it correct that the code
if (RegressionChannel(35, 2).Middle[5]*1.1 < RegressionChannel(35, 2).Middle[0]
&& RegressionChannel(35, 2).Middle[60]*1.1 < RegressionChannel(35, 2).Middle[0]
identifies a situation where the regression channel is rising both in the 5-minute and in the 60-minute timeframes (if the midline is greater now than 5 and 60 bars ago), and that the 1.1 multiplier can be a measure of the channel slope ?
I'd also like to know how to signalize the crossing of the price above the upper channel and below the lower one.
Thank you in advance
Comment