if( (Buy_Condition_1 == true) && (Buy_Condition_2 == true) && (Buy_Condition_3 == true) )
You would never write if( (2+2 == 4) == true) would you? if(2+2 == 4) is sufficient. So don't write if(bool == true), just use if(bool) or if(!bool).
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
Hello!
I am attempting to calculate lot size dynamically based on a SL calculated from the ATR (Using the built-in iATR).
The EA seems to compile correctly, but when I attempt to test the the strategy nothing happens. I have been unable to determine where my mistake is.
Please, see the attached code below. Any assistance is appreciated.
Thank you in advance.
/