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 everyone,
I am seeking for a bit of help again as I could not find any related topics. (I may have missed it...).
I am currently working on a panel to help me to visually track profit, daily drawdown... of different charts. So far so good, but I have encountered a minor issue.
I am creating objects on the OnInit() function but the objects does not get loaded on the chart until the first tick has happened. I am a bit confused here. I reviewed the documentation regarding the ObjectCreate() function and it says "An asynchronous call is always used for ObjectCreate(), that is why the function only returns the results of adding the command to a chart queue".
Would this mean that the object is just added to the chart queue on the OnInit() function and the queue is not being processed until the OnTick() function ? Am I missing something here ?
A bit of help would be more than welcome,
Thank you all!