Cross of two Trendlines
-
If you have done this EA, can you share it?
Thanks -
Hi FXDREEMA
I have a requirement to draw a horizontal line through the bisection of two trendlines, so that I can set up orders crossing
the horizontal line.Creating the two trendlines was no problem, what I am struggling with is out how to draw the horizontal
line through this crossover, is it possible?Regards
Andy.
-
Why is that horizontal line needed?
If you just want to open new trade near the crossing of two trendlines, something like this might help: http://prntscr.com/5f8itb -
Hi
The two trendlines are drawn back in time a couple of days hence requiring a horizontal line to be extended from the crossover point.
Once the horizontal line has been drawn, and price touches the line, I can have the trade placed.
Cheers.
-
Then this is not easily possible in the EA builder, because you need to check the last X candles for crossover. Loop like this does not exists now in the EA builder. It can be written as a custom code, and maybe the lowest timeframe should be used.