Expert Advisor - How to retain a value in a variable outside of the loop

Back to topics list To post a new topic, please log in or register
avatar
1
serenityendy 2016.02.12 02: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 

avatar
Moderator
3404
GumRai 2016.02.12 03:15 #
 
Declare the variable outside of the loop
Back to topics list  

To add comments, please log in or register