
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
hi
i have a question about reading Bid value inside script, which is run with infinite loop. When i run this script:
it takes Bid value from the moment when script was started, and isnt refreshing it.
When i use:
it takes current Bid value in every loop pass, so it works ok, but i need to have the first example working .
My goal is to run script as EA on offline chart with nonstandard time frame, and i think when i'll be able to get current Bid value in every loop pass i will be able to do this. Script which is run like this, also reads indicators value only on the moment when script is started, and also doesnt refresh them inside loop.
Does anyone has an idea how to circumvent this, and make script reading current values every time inside loop? I'm struggling with this for some time....
regards
oromek