Not logged in

Forums

Viewing 8 posts - 1 through 8 (of 8 total)

Forums>EA Wizard>Make my EA>DeMarkLines EA

  • #116737 |
    Participant
    31 Posts

    Hello, I want to make EA that opens trades when price crosses above upper DeMark Line (long)  or below lower DeMark line (short) evaluated at open of new candle. Is this possible? This rudimentary EA I made does not work.

     

    The second part of the question is this. The DeMark Lines indicator itself seems to work perfectly and sends me email alert at bar close. Does anyone know of a way I can use this emailed mt4 alert to automatically open/close trades?

     

    Thanks, Brett.

     

    Further to the above, if its not possible to use the demark trendlines as the basis of the EA can a strategy be made using EAWizad which draws a trendline between the two most recent upper and lower fractals which EA can recognize and open trades when the trendline is crossed at the open of the new candle.

    Attachments in this forum are visible only for registered users.
    Attachments in this forum are visible only for registered users.
    #142847
    Moderator
    2349 Posts

    Hello,

     

    I also cannot make the indicator work in Wizard. Wizard identified two buffers – Buff1 and Buff2 but these do not provide any values (prices) to setup a condition. I will try to test it once more if any solution exists

    Attachments in this forum are visible only for registered users.
    #142854
    Participant
    31 Posts

    Thanks, Tomas, also keen to know if its possible  to use Wizard to draw lines between two most recent fractals ( both upper and lower) that can then be used to open and close trades based on cross of these lines.

     

    It would be great if the DeMark indicator could be made into an EA because I think it has great potential. I’ve searched everywhere and seems to be nothing out there. For general interest I attach this PDF discussing use of the Demark trendlines.

     

    Cheers, Brett

    Attachments in this forum are visible only for registered users.
    #143014
    Moderator
    2349 Posts

    Hello,
     
    yes, you can draw a trend line using Custom Action function like this: 

    ObjectCreate(0,"MyTrendLine,OBJ_TREND,0,time1,price1,time2,price2)) 

    time1, time2 – time of anchor points

    price1, price2 – price of anchor points

    #144713
    Participant
    31 Posts

    Hi Tomas,

     

    Are you able to give me a little more guidance to the steps I need to take to create a simple ea that opens trades when bid crosses below or above trendline created as you suggest above?

     

    Thanks

    Brett

    #144733
    Moderator
    2349 Posts

    Hello,

     

    yes, I think it can be done (detect price cross). I will try to make an example for this and post

    #144778
    Participant
    31 Posts

    Thanks that would be great!

    #144847
    Moderator
    2349 Posts
Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.