Announcement

Collapse
No announcement yet.

Study on Study in EFS2 - Synthax Q.

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

  • Study on Study in EFS2 - Synthax Q.

    Hi,
    There are plenty of examples where the "inner" study is explicitly defined [ex: sma(3, cci(10));].

    I found only a couple when the study is declared as an independent var, then used with getSeries.
    ex:
    var1 = cci(10);
    var2 = sma(3, getSeries(var1));

    Is this the only way to do it?

    I am using the var directly, it works, but I may be getting incorrect results if it is not the correct way.
    Here is how I do it:
    var1 = cci(10);
    var2 = sma(3, var1);

    Can anybody clarify this for me, please.
    Thank you.
    Mihai Buta

  • #2
    The way you are doing it is fine (e.g., without the getSeries() wrapper). The EFS engine understands that you are referencing a series and acts accordingly.

    Chris

    Comment


    • #3
      Chris, thank you.
      By the way, you do agreat job posting so much of your work. I am sure it helps many.

      Mihai
      Mihai Buta

      Comment

      Working...
      X