My first attempt at coding an indicator. I'm trying to create a SMA of the forecast oscillator (FOSC), where I can select the period of the SMA as well as the period of the SMA. I'm totally stuck.
This is what I have:
double test1 = SMA(FOSC(Close,Period1),Period2)[0];
Any help would be appreciated!
Erin
Comment