How can i code EA that automatically draw trendlines for me?
-
I need help with coding an EA that can automatically draw trendlines for me as the graph open on any time frames.
-
That sounds like an indicator. Uploading your own custom indicator here would be way easier.
-
Thanks for the quick respose my brother. I do not have and indicator but i want to code the ea that can draw the trendlines and also execute the trades as the price cross over or below the trendlines.
-
Then these are the blocks you will need fo rsure. This one to draw trendlines:

And this one to dindfe when the price is above it:

Please read carefully both information windows when selecting those blocks. They are very informative.
-
@l-andorrà said in How can i code EA that automatically draw trendlines for me?:
windows when selecting those bloc
I am new to fxDreema and I have the same question. But I am still confused how can draw line can draw mutiple trend line or narrowing channel
-
@sanoo Multiple trend lines can be drawn one by one by changing the conditions of the blocks in the example. Sadly there are no specific blocks designed to craete narrowing channels. You will need to configute both trend lines separatedly.