Help: Momentum+SMA indicator

 

Can anyone point me in the right direction on how i can compile/write the code to have an indicator in a seperate window

that is... a momentum indicator (28 period), that also shows a simple moving average (28 period) of the values from the momentum indicator.

Not expecting much but thanks.

-logan

 
clemonsla:

Can anyone point me in the right direction on how i can compile/write the code to have an indicator in a seperate window

...

-logan

#property indicator_separate_window

instead of

#property indicator_chart_window

Reason: