How draw Line between last UP and Down Fractal into EA?

 

How to make a code into my EA to draw one trend line between last Up/ Down Fractal from begining of actual tren to the last Up/ Down Fractal ?

Thenk's!

 
gingaiulian:

How to make a code into my EA to draw one trend line between last Up/ Down Fractal from begining of actual tren to the last Up/ Down Fractal ?

Thenk's!

Get the fractal values you want from a Fractal Indicator using iCustom() or use iFractals()
 
Find the last Fractal, find the previous fractal, create the trendline. learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
Reason: