Using a standard moving average if it is going up the line would turn green and if heading down it would turn red. I know Jurik had something like that but can't locate it. Does this exist in normal moving averages??
Announcement
Collapse
No announcement yet.
Does this EFS exist or am I looking in the wrong place
Collapse
X
-
earlinarizona
You can easily create that with the Formula Wizard using any of the MA types available. In the conditions you would set if the current MA is greater than the MA of 1 period ago (ie offset -1) then paint the plot in green and if it is less paint the plot in red.
Alex
-
serge50
Yes it is possible to divide one MA by another and plot the result.
While you can write most of the required code with the Formula Wizard you cannot - at this time - use that tool alone and need also the Editor to complete the efs.
A better solution IMHO is to use the attached script which is a variation of the builtinMA.efs available in your Builtin folder. All parameters for both MAs can be modified through Edit Studies. To view the code or to set different defaults use the Editor.
Alex
Attached Files
Comment
Comment