Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

In this Discussion

Tagged

Welcome to xpworx forum
ZigZag_Channel + EA
  • robcolerobcole October 2011

    Hi coders guru,


    thx for the indi and the ea, i have tried both with little success but...


    Do you follow the ATC 2011?


    Tim, currently the second, his ea uses ZigZag for his breakout-strategy and since that I had the idea, to draw horizontal lines from the last high and low, and to use any break as trade signal.

    I've implemented it in the indicator,


    _______________


    {
          ObjectCreate(dn_name,OBJ_HLINE,0,Time[bar2],price2,Time[bar2],price2);     
          ObjectSet(dn_name,OBJPROP_STYLE,STYLE_SOLID);
          ObjectSet(dn_name,OBJPROP_WIDTH,2);
          ObjectSet(dn_name,OBJPROP_COLOR,LowerBandColor); 
          WindowRedraw();
       }


    ____________________


    and he also shows the lines correctly, but unfortunately, the EA does no more trade after that.

    Can you please check this out or put it in another way?


     


    THANK YOU very much!!

  • codersgurucodersguru October 2011
    Hi,

    Could I know exactly what do you want?

    Regards,
    CG