Is it possible to create a new symbol in MT4
Results 1 to 3 of 3

Thread: Is it possible to create a new symbol in MT4

  1. #1
    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.

  2. #2
    Quote Originally Posted by ;
    Yes. Goto http://codebase.mql4.com/6217 and install and download offline_charts. mqh. Although I composed this library for generating equity curves it is composed of functions for dealing with offline charts. It comprises a purpose

    updateOfflineChart()

    Call this function on every tick with the current value of this index. If you would like to create multiple timeframes then simply call it once per timeframe (with a different interval parameter for every phase).

    Symbol ...
    You genius! Thank you a lot!

  3. #3
    Quote Originally Posted by ;
    For instance, I want to make JPY index by a different formulation. I dont want it to be displayed in subwindow, but 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 purpose

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.