Announcement

Collapse
No announcement yet.

Question regarding interval

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

  • Question regarding interval

    Hi! I have a question regarding using the inv() function. For example:

    myStudy0 = sma(20,inv(60));

    returns the 60 min, 20 bar, sma of the the present symbol regardless of the time frame we are using. My question is: by default the above example is using the closing values for the 60 min chart. Is it possible to use, say, the high values? For example somehow incorporate the following moving averages:

    myStudy0 = sma(20,inv(60));
    myStudy0 = sma(20,high());

    /******************/

    Also my second question is: whats the difference between:

    myStudy0 = sma(20,close());

    and

    myStudy0 = new MAStudy(20, 0, "Close", MAStudy.Simple);

    I tried searching on eSignal's website on info regarding "new MAStudy" and there seems to be none. Is there any feature difference in using "new MAStudy" as opposed to "sma()"?

    Thanks to any one who helps!

  • #2
    Hi goodsz,

    Check out this link as well as the other EFS2 How-To links below. The links have good explanations and solid examples.

    Comment

    Working...
    X