I am looking for a solution for my EA.
For that i have serveral horizontal lines at my chart.
My EA should think, that every line has the parameters.
Does anybody know a code for this?
so for example :
I say if Close is higher than X1 (horiontal line 1)
and when the price decrease
if close is below X2 (horiontal 2)
I dont want to insert all the lines in the code.
The EA should read every line as the same.
Please could anybody help?
my problem is that i don't know how to code that the ea takes all lines i draw in the chart like the same