Announcement

Collapse
No announcement yet.

Parabolic and MACD in one *.efs

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

  • Parabolic and MACD in one *.efs

    I tryed to combine the basicParabolicSAR.efs (as price study) and the basicMACD.efs (as non price study) in one*.efs.

    I used (and tryed combine) the efs2Basic formulas, but it is not working.

    I have no idea, how can I do that, so it is working in a chart.

    Has anybody here an idea?

    function preMain() {



    setPriceStudy(false); // need true(MACD) and false(PARA) ??????

    setStudyTitle("MACD+PARA");

    setCursorLabelName("MACD",0);
    setCursorLabelName("MACDSig",1);
    setCursorLabelName("MACDHist",2);
    setCursorLabelName("PSAR",3);

    setDefaultBarFgColor(Color.blue,0);
    setDefaultBarFgColor(Color.red,1);
    setDefaultBarFgColor(Color.magenta,2);
    setDefaultBarFgColor(Color.blue,3);

    setPlotType(PLOTTYPE_LINE,0);
    setPlotType(PLOTTYPE_LINE,1);
    setPlotType(PLOTTYPE_HISTOGRAM,2);
    setPlotType(PLOTTYPE_LINE,3);

    setDefaultBarThickness(1,0);
    setDefaultBarThickness(1,1);
    setDefaultBarThickness(1,2);
    setDefaultBarThickness(1,3);


    }
    function main(){

    return new Array (macd(12,26,9),macdSignal(12,26,9),macdHist(12,26, 9),sar(0.02,0.02,0.02));
    }

    Torso
    Last edited by Torso; 04-27-2007, 02:45 AM.

  • #2
    May not be possible

    In one of my searches on EFS studies I came across a similar situation and I think the answer was its not possible to display in 2 different panes from a single efs. That capability is not present yet.

    In case I am wrong, I would like to know how to do it myself, as I have many multipane studies that I would like to combine.

    -AK

    Comment


    • #3
      Torso, akiri
      An efs can plot only in a single pane either as a price study or as a non-price study.
      Alex

      Comment

      Working...
      X