Moving Averages - the code

 

Does anyone have the raw code for a moving average?

Additionally what would I have to do to make an alert if the price goes above or below the moving average?

I think that would be simple to do and any help would be appreciatated.

I'm just trying to learn something here.

 
 
qjol:

iMA()


So there is no actual indicator of a moving average?
 
x11115:

Does anyone have the raw code for a moving average?

Additionally what would I have to do to make an alert if the price goes above or below the moving average?

I think that would be simple to do and any help would be appreciatated.

I'm just trying to learn something here.


Did you have a look at these articles? If not, they may answer some of your questions....

The example is here

And this might be of use too.

Reason: