Announcement

Collapse
No announcement yet.

Over-Riding Default Symbol for a Study

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

  • Over-Riding Default Symbol for a Study

    Hi,

    I have an advanced chart where I am viewing $INDU data.

    If I perform an MAStudy() it will assume the default bar data to be $INDU. How could I perform an MAStudy() on the $TICK symbol, for instance, and get access to the results so that I can colour code the $INDU chart.

    I need the results of the MAStudy() rather than the raw data.

    For example, we have a getSymbol() command to tell us the default symbol for the current chart. Is there an equivalent setSymbol() command?

    Any help would be much appreciated.

  • #2
    salska
    Don't know if the attached efs is along the lines of what you are looking for, non the less it might still provide you with some ideas.
    Symbol&ma.efs will plot the close line and a simple MA of a symbol other than the one in the price pane.



    Default symbol is $INDU and default MA length is 10. You can edit either one through Edit Studies. If you want to change the defaults open the efs with the Editor and change the symbol in Line 23 and the length in Line 26.
    Alex
    Attached Files

    Comment


    • #3
      Alexis,

      thankyou kind sir. This is precisely what I was looking for. Much appreciated.

      Regards,

      Sal

      Comment

      Working...
      X