In this lesson we clean up our code by creating two new functions. Then we create the IsNewCandle () function so that we can make sure the code does not run every tick but only at the beginning of a new candle.. It is in this function that I explain what a ‘static’ variable is.. How it differs from the way other variables declared in a function act. When and why you would want to use one.
In this video we create a couple of functions in our EA and we make one called IsNewCandle() to control how often our code runs.. also I explain what a ‘static’ variable is and why and when you would want to use one. Hope you learn something that you can use from it…
[dropshadowbox align=”left” width=”95%” height=”” effect=”lifted-both” background_color= “#e0f1b5″ border_width=”1″ border_color=”#dddddd” sc_id=”sc1″]
Download From Uploaded
[dropshadowbox align=”center” width=”30%” height=”” effect=”lifted-both” background_color= “#e0f1b5″ border_width=”1″ border_color=”#dddddd” sc_id=”sc2″]Password : www.cabafx.com[/dropshadowbox]
if all mirrors Does not working please inform us by using comment