Reading trend line values with a muti-devises EA

Back to topics list To post a new topic, please log in or register
fabio7774 2014.11.18 08:56


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


WHRoeder 2014.11.18 14:19 #

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.

Back to topics list  

To add comments, please log in or register