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
I'm getting the wrong values returned from the function ObjectGetValueByTime.
First I create the object with: ObjectCreate(0, DivName, OBJ_STDDEVCHANNEL, 0, fromDate, fromPrice, toDate, toPrice);
Then I try to get the first value with: double FirstPrice0 = ObjectGetValueByTime(0, DivName, fromDate, 0); Everytime I run the EA, I get a different result without changing anything, all wrong values.
What am I doing wrong?