Announcement

Collapse
No announcement yet.

Confusion with EFS2 interval

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

  • Confusion with EFS2 interval

    I'm running the following code in a 1 minute chart of "emc":
    debugPrintln(rsi(14,sym("spy", inv(15)),-2));
    It prints always prints out the rsi for "spy" from 2 1-minute bars ago rather than the rsi for "spy" from 2 15-minute bars ago. How do I get it to give me the 15-minute rsi even though I'm running the script on a 1-minute chart of a different symbol??
    If I try debugPrintln(rsi(14, sym("spy") | inv(15),-2)); , I just get a null output.
    Thanks in advance,
    Dave

  • #2
    Dave
    The syntax you are using is incorrect. See the examples in this thread
    Alex

    Comment


    • #3
      Thank you. That worked great. Can you also show me threads that would help me extend the esignal formula for the DiNapoli Preferred Stochastic to other symbols and time frames.
      Thanks,
      Dave

      Comment


      • #4
        Dave
        You may want to see this thread on the efsInternal() and efsExternal() functions and this thread that relates to creating studies on studies.
        Also if you run a search using efsExternal* as the keyword you will find several other threads that explain the necessary steps.
        Alex

        Comment

        Working...
        X