Reply

DeMarkLines EA

7 replies

Brett Schneideman

Subscriber, bbp_participant, community, 34 replies.

Visit profile

6 years ago #116737

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.

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #142847

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

0

Brett Schneideman

Subscriber, bbp_participant, community, 34 replies.

Visit profile

6 years ago #142854

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

File: TDTL.pdf

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #143014

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

0

Brett Schneideman

Subscriber, bbp_participant, community, 34 replies.

Visit profile

6 years ago #144713

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

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #144733

Hello,

 

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

0

Brett Schneideman

Subscriber, bbp_participant, community, 34 replies.

Visit profile

6 years ago #144778

Thanks that would be great!

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #144847

Viewing 7 replies - 1 through 7 (of 7 total)