For instance, I wish to make JPY index by a different formulation. I dont want it to be exhibited in subwindow, however at the main chart window. Is it feasible?
Thanks.
For instance, I wish to make JPY index by a different formulation. I dont want it to be exhibited in subwindow, however at the main chart window. Is it feasible?
Thanks.
Yes. Goto http://codebase.mql4.com/6217 and download and install offline_charts. mqh. Although I primarily composed this library for generating equity curves it consists of functions for managing offline charts. It comprises a purposeOriginally Posted by ;
updateOfflineChart()
Call this function on every tick with the current value of this index. If you want to create a number of timeframes then simply call it once per timeframe (using a different interval parameter for each phase).
Symbol is the name for the offline chart. It may be this is really a limitation of this format.
Interval accepts the interval in minutes (just use metatrader's PERIOD_* constants for this)
digits will be the number of notes and volume could be set to 0 in the event that you dont have volume.
If you enable allow dll for your code then it will also upgrade the offline chart window every tick through the PostMessage() trick.