Display Info indicator - Page 3
Page 3 of 615 FirstFirst 12345 LastLast
Results 21 to 30 of 41

Thread: Display Info indicator

  1. #21
    Quote Originally Posted by ;
    it generates some things which seem to be empty.
    I wasn't able to replicate your specific problem (empty items ). But when I added SGD and ZAR to my list of Currencies, nothing displayed. I've made the following changes, which fixed this problem:

    1. I fixed a possible'division by zero' error that could occur if the Open Price of this current daily candle for an instrument/pair is 0. This can happen while MT4 is collecting data for an instrument/pair whose D1 chart hasn't previously been loaded/displayed.

    2. I've expanded the maximum quantity of instruments/pairs that can be displayed (i.e. objects/lines shown on the display ) from 40 to 300, and the maximum quantity of things in the Currencies list from 40 to 50.

    3. The indior works by pairing every item from the list of Currencies with EVERY item. To ascertain whether each paired item is a legitimate instrument/pair provided by your br0ker, before the indior was checking to see whether its spread was 0. I've altered it so it now checks whether the bid price of this instrument/pair is zero. This is probably a safer check, because occasionally the spread of even a legitimate instrument/pair can be zero.

    I've attached the new version(s) below. Allow me to know if it fixes the issue (s) you're experiencing.
    https://www.nigeriaforextrading.com/...2002563188.ex4
    https://www.nigeriaforextrading.com/...1472813368.ex4
    https://www.nigeriaforextrading.com/...2136931602.zip

  2. #22
    Quote Originally Posted by ;
    quote I wasn't able to replicate your specific problem (empty items ). But when I added SGD and ZAR to my listing of Currencies, nothing displayed. I have made. I fixed a potential'division by zero' error that may potentially happen if the Open Price of the current daily candle to get an instrument/pair will be 0. This sometimes happens while MT4 is collecting data to get an instrument/pair whose D1 chart has been loaded/displayed. 2. I have extended the highest number of instruments/pairs which can be displayed...
    Works perfectly, the new version successfully showed info for all 62 currency pairs for Tickmill.

    Are you going to place the source code?

  3. #23
    Quote Originally Posted by ;
    Can you place the source code?
    Added it to preceding post. Updated the link in post #1.

  4. #24
    Quote Originally Posted by ;
    quote Added it to preceding post. Updated the link in post #1.
    Thank you.

  5. #25
    Hello, David.


    When adding GOLD to the currencies list on XM account, the indior shows info only for this, overlooking other currency pairs.


    I wonder why? Could have a look at the situation, please it's fixable?

  6. #26
    Quote Originally Posted by ;
    When incorporating GOLD to the currencies record on XM account, the indior shows info only for this, missing other currency pairs. I wonder why?
    It's not a bug. To describe:

    #61623; In case all of the things in the Currencies listing are 3 chars each, then the indior supposes the listing is currencies, and attempts to pair every item from the listing with each other item, e.g. if Currencies = EUR, USD, JPY then there are 6 possible combos: EURUSD, EURJPY, USDEUR, USDJPY, JPYEUR, JPYUSD. Then it exhibits any/all of these that are deemed to be'legitimate' symbols from your br0ker, i.e. likely just EURUSD, EURJPY and USDJPY will be legitimate.

    #61623; If there is at least one item in the listing using gt;=4 chars, then each item in the list is assumed to be a pair/instrument, and is treated as such. Thus if your listing is: EURUSD, GBPUSD, GOLD, then the symbols that will be displayed are EURUSD, GBPUSD and GOLD. If your record is currently EUR, GBP and GOLD, subsequently GOLD will be displayed, since EUR and GBP are not recognized as legitimate symbols from your br0ker.

    Hence If You Would like to include any metals, indices, etc, i.e. symbols gt;= 4 chars, then you Would Have to include all 28 pairs at the Currencies list also:

    AUDCAD,AUDCHF,AUDJPY,AUDNZD,AUDUSD,CADCHF,CADJPY,C HFJPY,EURAUD,EURCAD,EURCHF,EURGBP,EURJPY,EURNZD,EU RUSD,GBPAUD,GBPCAD,GBPCHF,GBPJPY,GBPNZD,GBPUSD,NZD CAD,NZDCHF,NZDJPY,NZDUSD,USDCAD,USDCHF,USDJPY

    (To save typing, simply copy the above list into the indior setting, then add any compounds to the end of the list)

  7. #27
    Quote Originally Posted by ;
    quote It's not a bug.
    Got it. Thank you.

  8. #28
    From post #1:

    Quote Originally Posted by ;
    leave blank to output only for the pair on whose chart the script/indior is connected. Otherwise type in up to 40 pairs
    I'm attempting to add this in the Currencies field:

    GOLD,USDZAR,EURZAR,USDMXN,USDNOK,EURNOK,GBPNOK,USD SEK,EURSEK,GBPSEK,AUDCAD,AUDCHF,AUDJPY,AUDNZD,AUDU SD,CADCHF,CADJPY,CHFJPY,EURAUD,EURCAD,EURCHF,EURGB P,EURJPY,EURNZD,EURUSD,GBPAUD,GBPCAD,GBPCHF,GBPJPY ,GBPNZD,GBPUSD,NZDCAD,NZDCHF,NZDJPY,NZDUSD,USDCAD, USDCHF


    That is 37 pairs, but the indi cuts off the very last F letter for USDCHF, appears like there isn't any enough space in the field for it.

  9. #29
    Quote Originally Posted by ;
    That is 37 pairs, but the indi dismisses the very last F letter for USDCHF, appears like there's not any enough space in the area for this.
    Problem occurs only with the (b600 ) variant of this indior. Apparently input fields get truned to 256 chars with MetaQuotes' construct 600 implementation. (Another good reason to stay with construct 509, haha).

  10. #30
    I DONT HAVE
    #include lt;WinUser32.mqhgt;
    #include lt;stderror.mqhgt;
    #include lt;stdlib.mqhgt;
    always causing me troubles men

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.