How would I find out if The Awesome Indicator is Red?
bool AwesomeRedConfirmedVariable() { double AOone =MathAbs(iAO(_Symbol,_Period,1)); double AOtwo =MathAbs(iAO(_Symbol,_Period,2)); if(AOone < (AOtwo*0.90)) { return(true); } return(false); }
try this
Mc Temple:
Please edit your post and
use the code button (Alt+S) when pasting code
Lorentzos Roussos: try this
| Your code | if(AOone < (AOtwo*0.90)) { return(true); } return(false); } |
| Simplified | return AOone < AOtwo*0.90; |
William Roeder:
Increase Order after stoploss - MQL4 programming forum #1.3 2017.05.29
| Your code | |
| Simplified |
nice thank you
I couldnt find out how to do this. So I made a code, that detected if the next value is 90% of the previosu candle it detects it as red. EA must be colorblind xd.