I'm writing a very small and easy indicator and here is the code for OnBarUpdate
protected override void OnBarUpdate() { RS[0] = (Closes[0][0] / Closes[1][0]) * 100; if (CurrentBar > 50) RS_MA[0] = SMA(RS, 50)[0]; }
I cannot even catch the Error by Visual Studio,
How I can find were this is happening ?
Thanks,
Nima
Comment