Basically I have my EA to buy or sell at top of daily/weekly ranges/ATR.
I want to have it to where my MA's cap or floor my pair, if those meet the conditions, and at ATR, than it will be a reversal buy or sell.
I don't want to list all of my code here but if someone has a solution, would be happy to share.
Basically this is the problem I am having
for (i => ATR - 10%ATR; i <= ATR + 10%ATR; i = .01)
that isn't the code, but the basis of what I am trying to do.
And that is bollien (true) only if 75% of my MA's meet support/resistance. I have 20, 50,100,200 MA ...
I want to have it to where my MA's cap or floor my pair, if those meet the conditions, and at ATR, than it will be a reversal buy or sell.
I don't want to list all of my code here but if someone has a solution, would be happy to share.
Basically this is the problem I am having
for (i => ATR - 10%ATR; i <= ATR + 10%ATR; i = .01)
that isn't the code, but the basis of what I am trying to do.
And that is bollien (true) only if 75% of my MA's meet support/resistance. I have 20, 50,100,200 MA ...