Announcement

Collapse
No announcement yet.

Advance Decline Charting Help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Advance Decline Charting Help

    I am trying to get a chart that displays the following:

    1. daily chart of the $SPX
    2. 10-day MA of $ADD
    3. 30-day MA of $ADD

    I do not want to display the actual $ADD line, only the moving averages

    Any help would be greatly appreciated

  • #2
    mehul2814
    You can accomplish what you want by creating a daily chart for $SPX and adding to it two instances of the customMA.efs [that is in the EFS2 Custom folder] each set to use $ADD as the symbol.
    Once you have done that you will need to go into Edit Studies for each MA study and set the scaling to No Scale.
    If instead you want to plot the averages in a separate indicator window then you will need to slightly modify the customMA.efs formula. To do this open the formula with the Editor and in the preMain() function change the setPriceStudy(true) statement to setPriceStudy(false). This will force the formula to plot in a separate pane.Save the formula with a different name so as not to overwrite the original and then load it in the chart
    Alex

    Comment

    Working...
    X