Thanks!
protected override void OnStartUp() { DYNRSI = RSI(Input,RSIPeriod,1); DYNPrice = SMA(DYNRSI,PricePeriod); DYNSignal = SMA(DYNRSI,SignalPeriod); DYNAverage = SMA(DYNRSI, BandPeriod); SDBB = StdDev(DYNRSI,BandPeriod); } protected override void OnBarUpdate() { init=true; double priceValue = DYNPrice[0]; PriceLine.Set(priceValue); SignalLine.Set(DYNSignal[0]); ... }
Comment