Announcement

Collapse
No announcement yet.

Mixing indicators

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

  • Mixing indicators

    In the Jurik function: JurikJMAStudy(Smooth, Phase, Offset, PriceSource).
    Is there any thing else I can substitute for PriceSource besides the usual suspects "high", "low", "close", etc.? The value of another indicator, for instance. I heard mention of the ability to perform indicator calculations on other indicators. Is this possible with efs?

    -CB

  • #2
    Hi,

    Yes, you can use other builtin studies as inputs to JurikJMAStudy. Or to be more specific, you should be able to. Since I haven't done it, I can't swear that it really works (though the other study on study codes I have written have worked).

    You need a specific version of eSignal to be able to do this. I can't remember when it was implemented, but if you look in your eSignal install directory under the doc subdirectory if the is a word documents called studyonastudy there, then the version of eSignal you have should support this. This doc is also a reference guide on how to use a study as an imput to another study.
    Garth

    Comment


    • #3
      try:

      JurikJMAStudy(Smooth, Phase, Offset, StudyVar, DataSeriesID)

      for instance, if you wanted to make a JMA of a 14 period RSI:

      var vRSI14 = new RSIStudy(14);
      var vJMA = new JurikJMAStudy(1.0, 1.0, 0, vRSI14, RSIStudy.RSI);

      return vJMA.getValue(JurikJMAStudy.JMA);

      Comment

      Working...
      X