You code the EA to trade the chart pair and draw your trendline for that pair on that chart.
Open other charts/pairs and put the EA on those.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi
I have an EA based on breakout. Basically I am drawing a trend line then look for the cut between a MA and this same trend line.
For achieving this, I draw the trendline then use ObjectGetValueByShift().
That works for fine on a graph for a given pair.
Now assuming that I want my EA to trade with several pair, I will not draw a trendline for a pair that has nothing to do with the current graph hence my question how to achieve this ?
Thanks in advance
Fabio