Draw curves
-
This project i've made draws curves.
It compares a block of "n" bars at time "t", with a block of "n" bars at time "t-x", on multiple time-frames and finds the closest block from the current one.
More concretely it compares the difference from the bar ID1+1 to the bar ID1, to the difference from bar IDR+1 to the bar IDR. Repeats it for :- ID1+2 - ID1 ; to : IDR+2 - IDR
- ID1+3 - ID1 ; to IDR+3 - IDR
- Until ID+n
The comparisons give more weight to the most recent bars, and once the job has been done for a maximum number of historical data on the actual time-frame, it repeats the process on another one, on comparison with the base one always, scaling differences using the ATR ratio. Then the EA keeps the ID and the time-frame of the block with the lowest deviation, and draws it below the current bars, extending it with the 10 next bars.
https://fxdreema.com/shared/tb6KEDaX -
@seb-0 Impressive. Thank you very much for this amazing EA!

-
@l-andorrà
Thanks.
However there is nothing to interpret when the curve is far away from the actual one, especially the last bars.
It's better to search confirmation in two symbol pais(like EUR/USD-EUR/JPY). Also the following of the previously drawn curve, with the 2-3 next bars can be kinda forward confirmation for me.