protected override void Init() { spread = new DataSeries(Input); rs = new DataSeries(Input); ema1 = EMA(Input, EMA1); ema2 = EMA(Input, EMA2); rsi = RSI(spread, Length, 1); sma = SMA(rs, 5); }
protected override void Init() { rsi = RSI(Input, Period, 1); min = Lowest(rsi.Value, Period); max = Highest(rsi.Value, Period); }