Announcement

Collapse
No announcement yet.

Efs 2 Macd

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

  • Efs 2 Macd

    Hello

    I am trying to hide or turn off macd Histogram with the efs 2 custom formula and have had no success.

    I have tried removing SetPlottype and adding a New function parameter but both have been unsuccessful.

    What should I add or remove to be able to turn off the MACD-H? Is it even possible?

    Thanks in advance

    Pogman

  • #2
    Pogman
    If you don't want to plot the Histogram (but you still want to calculate it) then replace line 88 ie
    return new Array (getSeries(xMACD), getSeries(xMACDSig), getSeries(xMACDHist));
    with
    return new Array (getSeries(xMACD), getSeries(xMACDSig));
    If you do not care to have it calculated either then remove (or comment out) also lines 72 and 82 ie
    var xMACDHist = null;
    xMACDHist = macdHist(Fast,Slow,Smoothing, eval(Source)(sym(vSymbol)));
    Alex

    Comment


    • #3
      Hi Alex

      A million thanks for the quick and very accurate response. It worked perfectly. I never thought of removing the "getSeries MACD -H wording.

      A pleasure as always....your kindness and patience never ceases to amaze me!

      Have have wonderful day!

      Pogman

      Comment


      • #4
        Pogman
        You are most welcome
        Alex

        Comment

        Working...
        X