global variables work faster
global variables work faster
Hi Slawa,
I do not know how much time are we talking about, however in some applications the advantage of the Object over Global may be that it is assign to specific price/time event coordinates where the Global Variable is not.
For example: Providing that you have simple interpreter routine in your Expert/Indicator you can place an Arrow from Terminal and assign an instruction what to do at that specific time and price.
So you may steer your Expert based on a real times events observations of the chart without Stopping and Restarting the system.
Of course I am not sure if the system is design to support this inherent concept because some values are set on initialization only but some are not.
This feature would be advantages to these traders who are experienced with working from the charts and have limited knowledge in programing.
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
For example: One can ObjectCreate() an Arrow named "Open Order1" at specific bar/tick from an INDICATOR and look for it at EXPERT every tick by ObjectGet(). Conversly, the EXPERT can respond by ObjectSet() and the INDICATOR can look for it by ObjectGet.
In addition, you can passs values on the fly from Terminal to both INDICATOR and EXPERT via Insert Text without stopping trading session.