ok... thank you so much guys. that is a great information.
what I notice is that the EA is indeed modelling the bar[0]. exactly as the article above describes it. however the same is not occurring for the indicator. I create a simple code:
if you apply this code to a EA and use a strategy tester on M1 chart, we can see easily the modelling of bar[0] for H1. however, if we use the some code in one indicator, and apply this indicator on a chart which is being tested by the strategy tester, the iMA for H1 becomes static for a whole one hour not showing any modelling. is that correct? the modelling is able just for EAs? if not, what I am missing? thanks a lot,,,
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
what I notice is that the EA is indeed modelling the bar[0]. exactly as the article above describes it. however the same is not occurring for the indicator. I create a simple code:
if you apply this code to a EA and use a strategy tester on M1 chart, we can see easily the modelling of bar[0] for H1. however, if we use the some code in one indicator, and apply this indicator on a chart which is being tested by the strategy tester, the iMA for H1 becomes static for a whole one hour not showing any modelling. is that correct? the modelling is able just for EAs? if not, what I am missing? thanks a lot,,,