Expert Advisor - How to retain a value in a variable outside of the loop New comment jeannie 2016.02.12 01:55 Hi All,I need some assistance in coding in EA.I've a variables that has a value after using a loop condition. Is there a way to retain the value after finish loop the condition and use the value outside the loop?I would like to use the variables to compare with other indicator. Many Thanks,Jeannie store value in for-loop Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes [ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. Keith Watford 2016.02.12 02:15 #1 Declare the variable outside of the loop New comment
Hi All,
I need some assistance in coding in EA.
I've a variables that has a value after using a loop condition.
Is there a way to retain the value after finish loop the condition and use the value outside the loop?
I would like to use the variables to compare with other indicator.
Many Thanks,
Jeannie