
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
declare the doubles outside the gates .you would get that issue with commenting out code too.
I did. I think filter/gates is not the best solution for what I am trying to do . Main reason if I put say 4 lines inside a gate they won't be accessible outside the gate when needed later , in the case above they will be needed. I think I am going to leave it as it is and not bother about loop producing only j+1 < or j+1+1<tfs results instead everything till j<tfs.
I get what you are saying about commenting . If i could comment out the 'offending ' lines I will comment out the block of lines where those variables appear(and are not needed) so not to have any errors.
Have you had any experience using conditional compilation ?
https://www.mql5.com/en/docs/basis/preprosessor/conditional_compilation
It would be interesting to find out how it is implemented . The mql4 documentaion does not have lot of examples.
thank you again
>>> conditional compilation
not for me .thank you for clarifying . good to know .