PDA

View Full Version : Display Info indicator



pablolmga
07-09-2010 00:24, 12:24 AM
Requirements and Conditions

#61623; All code has been provided at no cost. It might not be sold or distributed.

#61623; Software is offered on an'as is' basis. I am not supplying a programming or troubleshooting service. Source code is connected if anyone wishes to make fixes or enhancements (you will also require the MQH libraries as well as the build 509 MetaEditor/compiler as explained and connected here).

#61623; there's no guarantee that the software is fit for purpose, or without any errors. Download and use the indior(s) in your own risk; I accept no liability for personal harm or financial losses.

___________________________

Display Info All Pairs indior

This indior will display the following advice, for all currency pairs offered by your br0ker:

-- Symbol (A=AUD, C=CAD, E=EUR, F=CHF, G=GBP, J=JPY, N=NZD, U=USD)
-- Current bid price
-- Daily movement from open, both as pips, plus a % of the daily available price
-- Daily range to date:ave daily range (DR as a % of ADR) (notice: Sunday candles not included in ADR)
-- Spread (disperse as a % of ADR)
-- Dollars per pip (per full lot traded)
-- Swap paid( ) or charged(-) by br0ker on long and short positions

The indy generates the table at the lower right of the attached screenshot.

Note: if you set FullSymbolIDs = TRUE, then you'll need to set at least one of the additional Show.... Parameters to FALSE, to prevent trunion. MT4 allows a maximum of 62 characters in the description of a text object.

This indior has been upgraded. You may download the latest version here (both build509 and build600 versions can be found ), or at the ZIP file attached to the post (#1).

___________________________

Critical Levels indior

This indy exhibits colored lines in the RHS of the chart. You can choose traces from any or all the following:
-- earlier daily, weekly and yearly highs/lows;
-- daily, weekly and yearly pivot levels (standard calculation)
-- daily, weekly and yearly pivot levels (fibo established calculation)
-- round quantities (xx00 and xx50)

See the next screenshot below for instance.

If you would like a certain line type to exhibit, select your preferred color; it has to be a valid MT4 color token, e.g. Red, SaddleBrown, Goldenrod, MediumViolet. If not, leave the parameter blank.

The indy will work if you just copy the .ex4 file into your.../experts/indiors folder. However, if you copy the .mq4 file there also, then you have to also copy the two .mqh files into your.../experts/include folder, for the .mq4 to compile properly. (Just a build509 version is currently available).
___________________________

Output History indior script

Either one of them will output OHLCV background to CSV files, simultaneously for as many as 40 pairs/instruments, and 9 timeframes, enabling easy export to Excel. A separate file is created for every pair/timeframe combination. The script operates the job once; while the indior runs it once every time a new price tick occurs, overwriting the appropriate file(s).

Each bar in the chart occupies one line (row) from the file. Info in each row is output in the following order: date/time, open, high, low, close, quantity

You can easily modify the source code to include extra values from MT4 indiors, by using MQL4 purposes (e.g. iMA, iRSI, iBands, iCustom, etc).


INSTALLATION:

Copy Both .mqh files into your.../experts/include folder.
Copy the .mq4 (indior) file into your.../experts/indiors folder.
Copy the .mq4 (script) file into your.../experts/scripts folder.
Then restart MT4.
(NOTE: Currently, only build509 models can be found ).

PARAMETERS:

CurrencyPairs: leave blank to output only for the pair on whose chart the script/indior is connected. Otherwise type in up to 40 pairs, separated by commas. Upper or lowercase doesn#8217;t matter, and you might use these abbreviations: A=AUD, C=CAD, F=CHF, E=EUR, G=GBP, J=JPY, N=NZD, U=USD. Hence you could type something like: EU,GU,UF,UJ which works exactly the same as EURUSD,GBPUSD,USDCHF,USDJPY

TimeFrames: leave blank to output only for the timeframe on whose chart the script/indior is connected. Otherwise type in up to 9 timeframes, separated by commas. Lowercase or upper doesn#8217;however. For example, to output for all 9 timeframes, copy this:
M1,M5,M15,M30,H1,H4,D1,W1,MN

Therefore the above mentioned entrances would create 36 different documents (4 pairs x 9 timeframes).

DifferentSubfolderPerTimeFrame: if set to FALSE, all documents will be output to your #8230;/experts/files folder. If set to TRUE, subfolders will automatically be made under this folder, e.g. #8230;/experts/fiels/H1, along with also the output file(s) will be generated from the subfolders.

Irrespective of the folder, all files are called: [pair],[interval ].CSV

LookbackBars: OHLCV values for the latest (rightmost) #8216;n#8217; pubs will be output, in which #8216;n#8217; is the value that you type here. If you specify either 0, or a very large number (e.g. 999999), then all values for all bars in the chart history will be output. WARNING: if using the indior, then outputting a very large amount of data on every price signal may bring MT4.

DescendingDateTimeOrder: if set to FALSE, data is inherent in chronological order, i.e. first bar values at the start of the file. If set to TRUE, data is inherent in reverse chronological order, i.e. latest bar values at the start of the file.

OutputHeaderLine: if set to TRUE, it will output one line (row), with column headings, at the start of the file. No header line will be output, if set to FALSE.

FieldSeparator: put this to the delimiter character(s) that you want to appear between pillar vales which are outputs. Default is a comma (,).

EncloseValuesInQuotes: if set to TRUE, every data value will be enclosed in double quotes, e.g. #8220;1.3659#8221;.

DateTimeFormat, PriceFormat, etc: these are explained here.
Note that date and time, by default, are inherent as one field. If you want them to appear as separate fields, you need to incorporate a field separator (and quotes, if desirable ) inside the DateTimeFormat, e.g. M/D/Y,H:I


SAMPLE OUTPUT:
Inserted Code Date,Time,Open,High,Low,Close,Volume 12/21/2012,04:00,87.970,87.984,87.584,87.804,18961 12/21/2012,08:00,87.803,87.965,87.582,87.609,15917 12/21/2012,12:00,87.607,87.847,87.560,87.603,12136 12/21/2012,16:00,87.602,87.871,87.530,87.686,18678 12/21/2012,20:00,87.686,87.724,87.538,87.599,7838 12/24/2012,00:00,87.707,87.870,87.652,87.734,9248 12/24/2012,04:00,87.736,87.818,87.687,87.813,4924 12/24/2012,08:00,87.810,87.915,87.780,87.811,5634 12/24/2012,12:00,87.812,87.891,87.741,87.811,6903 12/24/2012,16:00,87.811,87.994,87.793,87.938,5883 12/26/2012,01:00,88.053,88.412,88.006,88.348,13701 12/26/2012,05:00,88.348,88.476,88.308,88.398,7351 12/26/2012,09:00,88.398,88.608,88.347,88.433,10198 12/26/2012,13:00,88.433,88.642,88.350,88.576,10997 12/26/2012,17:00,88.576,88.770,88.427,88.766,12260 12/26/2012,21:00,88.766,88.842,88.715,88.837,4481 12/27/2012,00:00,88.833,88.886,88.620,88.832,10180 12/27/2012,04:00,88.835,88.948,88.755,88.803,10334 12/27/2012,08:00,88.803,88.970,88.765,88.945,9994 12/27/2012,12:00,88.944,89.119,88.902,89.065,9441
_________________________

MT4 Indiors/EAs by Hanover:

Recent Strength #8212; display line-based plot of weighted average of currency (instead of pair) power
Recent Prices #8212; display line-based plots of almost any combo of pairs/timeframes on your current chart, to compare their comparative strength
Recent Candles #8212; display candles of any combo of pairs/timeframes on your current chart
Recent SR #8212; auto-plot flat support/resistance lines based on a vast array of settings
Recent News #8212; display upcoming and/or historical news announcements from FF calendar; countdown/alert upcoming announcements
Daily Lines/Boxes #8212; auto-plot vertical or horizontal lines, symbols, boxes on user-defined times, days of the week, respectively
Display Info all pairs #8212; display disperse, daily range, dollars/pip, swap rates etc for all pairs
Spaced Lines #8212; auto-plot horizontal lines on your charts
Stealth Master EA #8212; hide your SL and TP from unscrupulous br0kers!
Do-it-yourself alerts contractor kit #8212; code template which you can copy/paste which will add pop-up or email alerts to most'standard' indiors
https://www.nigeriaforextrading.com/attachments/15190303171301228522.png
https://www.nigeriaforextrading.com/attachments/15190303191507213981.mq4
https://www.nigeriaforextrading.com/attachments/15190303231956714951.ex4
https://www.nigeriaforextrading.com/attachments/15190303251293922721.mq4
https://www.nigeriaforextrading.com/attachments/1519030327967802647.png
https://www.nigeriaforextrading.com/attachments/151903032916155966.mq4
https://www.nigeriaforextrading.com/attachments/151903033296214463.mq4
https://www.nigeriaforextrading.com/attachments/1519030336393243993.zip

pablolmga
07-06-2022 09:56, 09:56 AM
How I could tun Your Own indior? I had been downloaded old variants (3 brokers) of MT4 (Build 400, etc). Nonetheless, create demo account. How is this issue solved by you? If you want to conduct a demo account, you need to download the latest MT4 version from your preferred br0ker's webpage.

The copy of the indy attached to post #119 operates on Pepperstone MT4 build 745 and Axi Trader MT4 build 940, as shown in the screenshots. Do NOT attempt to load any .mq4 files supplied in the thread.

alexplaza1
07-06-2022 11:18, 11:18 AM
Hi David (), How I can tun Your Own indior? I was downloaded old versions (3 brokers) of MT4 (Construct 400( etc). BUt it isn't possible create demo account. How can you solving this issue? Thank You very much! Why are you trying this on build 400 etc this is just flat wrong just get a new metatrader. Today works on build 950 with fxpro.

Amce
07-06-2022 12:40, 12:40 PM
Can anybody please tell me what's the purpose of the worth in squared brackets on the ADR line?

pablolmga
07-06-2022 14:03, 02:03 PM
Can anyone please tell me what is the aim of the values in squared brackets on the ADR line? If you're speaking to the'Signal' indior, they're the smallest and biggest daily ranges (from high to low of D1 candle) in the last 30 days (or whatever you have the ADRdays parameter set to). More information here (see screenshot) and also here.

amanchachgwz
07-06-2022 15:25, 03:25 PM
Hello, .

I'm guessing there is a easy fix to this issue I'm having: whenever I attempt to draw out a linear regression channel on Pepperstone's MT4 platform, the chart goes. I tried unchecking the Chart Change but it only works temporarily.

Would you propose a solution? I don't recall having this problem before.

Thanks loads for all your inputs on the forum.

pablolmga
07-06-2022 16:47, 04:47 PM
whenever I try to draw a linear regression channel on Pepperstone's MT4 platform, the chart moves. I tried unchecking the Chart Shift from Properties however, it only works briefly. Can you propose a solution? Ensure that'Chart autoscroll' (in Properties) is unchecked.
https://www.nigeriaforextrading.com/attachments/1530399093.png

amanchachgwz
07-06-2022 18:09, 06:09 PM
David, thanks. https://www.nigeriaforextrading.com/attachments/1530399094.png

bgimlnasly
07-06-2022 19:32, 07:32 PM
Hi Hanover

I use the Screen info indior for 2 views, the first is the pairs that I follow and they work fine

The second I monitor various Indices, exchanges, gold and oil to get a fast view of whats moving, I'm not attempting to correlate whatever just have a view of moves in a day period and it works nicely for me.

I have been having a broker (LCG) MT4 latest builds and all was well with this particular indie but I am looking to go to a different broker because of regular platform freeze issues. FXCM was chosen by me as they're UK and have a good reputation and also they offer.

Now transferring all of the files across has got everything running besides the display info indior and UKOil and USOil which represents Brent and WTI respectively. Both instruments load up in the platform, I will make any chart work fine but for some reason that they will not show in the display info indie. I understand you are no more coding these indies but just on the possibility you may have any ideas, I would like to try FXCM and this is the only component missing, which does leave a gap in my working protocol

I've tried to get the most recent Cartoon you refer to in post 119, tried upper/lower case, tried 0 instead of O in case this was a typo in the platform, can not think of anything else, Dll's enabled all setup according to preceding platform https://www.nigeriaforextrading.com/attachments/1530399094.pnghttps://www.nigeriaforextrading.com/attachments/1530399094.png

Any ideas are welcome

Kind regards
https://www.nigeriaforextrading.com/attachments/1530399107621710656.png

pablolmga
07-06-2022 20:54, 08:54 PM
Some thoughts are welcome The indior works by attempting to pair each thing in the'Currencies' parameter with each other item from the listing. (On your screenshot, it would be searching for symbols such as XAUUSDGER30, GER30UK100, etc). To put it differently, it is designed to work with currencies only.

bgimlnasly
07-06-2022 22:16, 10:16 PM
quote The indior works by trying to pair each thing in the'Currencies' parameter with every other thing in the listing. (On your screenshot, it might be searching for symbols like XAUUSDGER30, GER30UK100, etc). In other words, it's intended to work with currencies only. Hello

I understand, the confusing bit for me is that it works for most of the items listed in my current brokers platform, but I need to change out of them.

Thanks for explanation

pablolmga
07-06-2022 23:39, 11:39 PM
the perplexing bit for me is that it works for all the items listed in my current brokers platform, but I need to change from them Fair enough. It would appear that there are various versions of the indior floating about -- that is always a possible problem when the .mq4 file is published -- and that the earlier versions operate in the way I described in post 129, while later ones check to find out whether an entry in the'Currencies' parameter is higher than 3 characters in length, and in that case, treat it like a full emblem ID instead of attempting to pair it together with other entries. I've attached the latest version that I have; no programmer has altered it. It seems to work OK displaying UK100 and GER30 on Pepperstone MT4 build 950, but only after both of the charts have been loaded, giving the indior some information to use. I've emphasized the parameters that I've changed from the default settings.

I have no idea why the exact same software app would operate on one platform but not another. Logically there has to be a difference between the br0ker's platforms. As I do not use FXCM or LCG I'm afraid I can't troubleshoot further.
https://www.nigeriaforextrading.com/attachments/1530399109572480894.ex4
https://www.nigeriaforextrading.com/attachments/1530399111265405398.png

Apamicio
07-07-2022 01:01, 01:01 AM
Work thank you!

Llkammm93
07-07-2022 02:23, 02:23 AM
I discovered the indior extremely useful. Thanks a lot, Hanover!! Like other consumers, I initially struggled to see it work in build 600 . Then I discovered the EX4 variation in place 94 worked perfectly (right side of this screenshot). The original MQ4 version in place 65 (nearly) works with PIPS4LIFE's updated utility works for build 600 (left side of this screenshot). The issue is that all of the pairs are not displayed. I attempted to run through the implementation step by step and discovered that with the'disp' variable gets populated properly for many pairs,... Hi, Nidagr, skinobi, all,

The indior, Display All Info Pairs, is not one that I know enough about to need it for myself. (Should I? Fans, can you explain?) . (And if I do, I could utilize the 509 compiled variation which seems to work good for the most part).

But I compiled it at the latest MT4 using the purposes I updated for. It *ought* to compile good, and does, but I got the identical effect as others, that not all is working. Just a couple labels exhibited (3 to me), however even people have any strange nonsensical values, and the amounts are not formatted in ideal columns as the original does.

I dug in a little, and analyzed my replacement stringSubstrOld work by placing bool debugSubstr = TRUE;. The log file afterward indies a whole group of potential errors or differences in which the 2nd argument is lt;0. This is the position argument, and is assumed to be gt;= 0, and the new MT4 docs mention that lt;0 will provide corrupt results. I *thought* that was the root cause, however later proved to be wrong.

I then modified the old 509 code, and put in a similar stringSubstrOld into the code, BUT, it does not alter any arguments. I only used it to discover the negative 2nd argument, and see if -- at the old 509 version -- did they make any difference by simply replacing them with 0 (the beginning of the series ).

The finding is... that there weren't any negative arguments! The issue is elsewhere, at the acts that call stringSubstrOld, which happens a LOT in's code. (e.g. NumberToStr, StrToStr, DateToStr, etc. ) ). Pretty much all the functions that possess the argument string mask.

There is something fundamentally incompatible and altered from version b509 to gt;b600 with respect to's code. The mask works would be the key. Then why would this occur, since not one of them should be passing any 2nd argument tostringSubstrOld? (Clearly, my modifiions to Hanover's works is faulty ).


I discovered another bug, regardless of version. If a person happens to not have any Daily chart data for some of those symbols, it causes a divide-by-zero. A partial fix is to alter this commented line with the 3 that follow:

Inserted Code //dual pmove = 100*(bidp-iOpen(ccy,PERIOD_D1,0))/iOpen(ccy,PERIOD_D1,0); double denom = iOpen(ccy,PERIOD_D1,0); if (denom! = 0.0) dual pmove = 100*(bidp-iOpen(ccy,PERIOD_D1,0))/denom; // P4L Avoid divide-by-zero else Print(Error. Prevented divide-by-zero. Open#91;0#93;=0.0 for ccy=,ccy,,Daily. Missing data? (Open that chart to induce initial load));
(A much better fix is to pre-trigger an automatic loading of any lost or obsolete information. I know this is possible but do not possess the code/details).

Another bug in the version is... in case you choose and edit one of those text labels it displays, as it attempts to upgrade that label you are editing, it is going to hang MT4. I had to kill the session. In the newer version, the simplest fix is to make the tags unselectable. It's much less likely to occur, though editable through the List of Objects. A better fix is to trap the error at which it tries to compose. I did not explore deeper in almost any manner.

PlotLabel worked at least for a few labels, but not all. The disp is written by the code to the OutputFile specified. The two 509 and newly compiled files generate lines of information for all the pairs. But whether PlotLabel has a issue, or the arguments it passes are wrong, that can't be said by me.


Hanover, only if you -- or anybody else -- wants to dig in to discover what's wrong with the gt;b600 compiles of your code, the NumberToStr function is a good place to begin, along with this Display Info All Pairs. That's almost always a big help for additional debugging, since it partially works.

I am out of time (for this purpose) and likely will not look at it any time soon.

As always, thanks to the code you have discussed.

Kent ()

pablolmga
07-07-2022 03:45, 03:45 AM
P4L,

Many thanks for your time and effort.


If one happens to not have any Daily chart data for some of those symbols, it causes a divide-by-zero. I haven't encountered this issue yet. But thanks for pointing it out.


A better option would be to trap the error at which it tries to compose a thing that is not writeable. Thank you for explaining this. It's never happened to me that this was the motive for MT4 hanging. I'd assumed that it was a bug!


....just in case you -- or anyone else -- needs to dig into discover what's wrong with the gt;b600 compiles of your speech, the NumberToStr function could be a good place to start,.... With regard to indiors that I've shared on FF, I really don't have plans to update some of them to gt;b600, even more so today since I have other business endeavors requiring urgent attention (and there's an EA that is currently unfinished). And they all seem to function well enough as they are. If/when MT4 is stopped, I will have to choose what I wish to migrate to MT5, or to another charting platform, or maybe I will stop FX.

Again, many thanks for your time.

David

pablolmga
07-07-2022 05:08, 05:08 AM
Still, the problem I desccribed can be solved? SorryI don't know how to remedy this, short of loading the .tpl (template) file into a text editor such as Notepad, and then deleting all of the references to items in the template, i.e. all text between and including

lt;objectgt;
and
lt;/objectgt;

for every one of the 28 items in the document. Save the document, and re-load the template in MT4.

Quite simply, you'd end up with a template document similar to the one I have attached.

Simple answer: unless you're knowledgeable about editing XML code, then it is probably better to go with the Load/Save presets alternative. https://www.nigeriaforextrading.com/attachments/1530399041.png
https://www.nigeriaforextrading.com/attachments/15303990491386276348.tpl

Oxza
07-07-2022 06:30, 06:30 AM
quote SorryI don't understand how to remedy this, short of loading the .tpl (template) file to a text editor such as Notepad, and then deleting all of the references to objects in the template, i.e. all text between and including lt;objectgt; and lt;/objectgt; for each of the 28 objects in the document. Save the document, and then re-load the template in MT4. In other words, you would end up getting a document very similar to the one I have attached. Simple answer: unless you are familiar with editing XML code, it is probably better to go with the Load/Save presets option....
There is a more simple manner, but basically the same.

You need to create a template with the settings you want, then press CTRL B and delete all of the objects in the list, and then save the template. This way there will not be any wrong objects if you will load the template next time, e.g. the following moment. Https://www.nigeriaforextrading.com/attachments/1530399041.png

But my first Q was, this particularly indi will store that objects and are not going to overwrite them with another loading?! Maybe there is no A. I'm far away from coding, just describing what I find.


And, many thanks to you for your unlimited help. https://www.nigeriaforextrading.com/attachments/1530399041.png

pablolmga
07-07-2022 07:52, 07:52 AM
You want to create a template together with the settings you need, then press CTRL B and then delete all the items in the list, and then save the template. This way there will be no erroneous items if you will load the template next time, e.g. the following day. Yes, that can work (provided that you save the template prior to the indior re-creates the items on the following price tick).

Anyhow, I believe I just noticed a bug in the original indior's code, that would cause multiple collections of items to be generated. I've attached a fix under. Note that there's a new parameter setting: in case you are attaching multiple cases of this indior on exactly the chart, you must give UniqueID a different value for each instance. I've included both the b509 and b600 source code in the ZIP that was attached.
https://www.nigeriaforextrading.com/attachments/15303990511398850630.ex4
https://www.nigeriaforextrading.com/attachments/1530399061849277424.zip

Oxza
07-07-2022 09:14, 09:14 AM
quote Anyhow, I think I just noticed a bug in the first indior's code, so that would cause multiple sets of items to be created. I've attached a fix under. Great! Thank you one more time. https://www.nigeriaforextrading.com/attachments/1530399041.png

Oxza
07-07-2022 10:37, 10:37 AM
I'm sorry for keeping bothering you, however, the indi does not reveal info for all possible pairs, nevertheless it generates some things which seem to be empty.

I set AUD,CHF,CAD,EUR,GBP,JPY,NZD,USD,NOK,MXN,ZAR,DKK,CZ K,HKD,TRY,PLN,SEK,SGD,HUF,CNH from the currencies.
https://www.nigeriaforextrading.com/attachments/1530399067940144400.png

pablolmga
07-07-2022 11:59, 11:59 AM
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/attachments/15303990692002563188.ex4
https://www.nigeriaforextrading.com/attachments/15303990721472813368.ex4
https://www.nigeriaforextrading.com/attachments/15303990802136931602.zip

Oxza
07-07-2022 13:21, 01:21 PM
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?

pablolmga
07-07-2022 14:43, 02:43 PM
Can you place the source code? Added it to preceding post. Updated the link in post #1.

Oxza
07-07-2022 16:06, 04:06 PM
quote Added it to preceding post. Updated the link in post #1. Thank you. https://www.nigeriaforextrading.com/attachments/1530399043.png

Oxza
07-07-2022 17:28, 05:28 PM
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?
https://www.nigeriaforextrading.com/attachments/153039908649148044.png

pablolmga
07-07-2022 18:50, 06:50 PM
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)

Oxza
07-07-2022 20:12, 08:12 PM
quote It's not a bug.
Got it. Thank you. https://www.nigeriaforextrading.com/attachments/1530399044.png

Oxza
07-07-2022 21:35, 09:35 PM
From post #1:


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.

pablolmga
07-07-2022 22:57, 10:57 PM
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).

oli28
07-08-2022 00:19, 12:19 AM
I DONT HAVE
#include lt;WinUser32.mqhgt;
#include lt;stderror.mqhgt;
#include lt;stdlib.mqhgt;
always causing me troubles men

oxmicammen4
07-08-2022 01:42, 01:42 AM
quote I wasn't able to replicate your specific problem (empty objects). But when I added SGD and ZAR to my list of Currencies, nothing displayed. I've made the changes, which fixed this issue: 1 ). I fixed a potential'division by zero' error that may possibly happen if the Open Price of the current daily candle for the instrument/pair is 0. This can happen while MT4 is collecting data for an instrument/pair whose D1 chart has not been loaded/displayed. 2. I've extended the highest number of instruments/pairs that can be displayed... Hi Hannover,

Due to this nice tool, I discovered little bug,
When I add suffix ex. -ECN and place var FullSymbolID into TRUE, last column (SwapShort) is cutted.

Likely some settings of table width.

Please, can you repair it?

Thanks a lot.

A.

pablolmga
07-08-2022 03:04, 03:04 AM
When I add suffix ex. -ECN and set var FullSymbolID to TRUE, last column (SwapShort) is cutted. Probably some settings of table width. Please, how could you repair it? MT4 limits the amount of characters within an item description to 60. I can't change this limitation.

oxmicammen4
07-08-2022 04:26, 04:26 AM
quote MT4 restricts the amount of characters in an object description to 60. This limitation can not change. Ok, thanks for explanation.

A.

oli28
07-08-2022 05:48, 05:48 AM
quote Hi Hannover, Thank you for this nice tool, I discovered small bug, When I add suffix ex. -ECN and place var FullSymbolID to TRUE, last column (SwapShort) is cutted. Probably some configurations of table width. Please, would you repair it? Thank you a lot. A. my pleasure Sir but im actually bussy with other projects at this time and this EA was a gift from me to the community as a give back.
Please if you could repair or add any thing, send me a backup @ email address deleted by staff .
Best of fortune

bealmiz13j
07-08-2022 07:11, 07:11 AM
Sorry to interrupt guys. . .please someone help me. I want a custom made indior to reveal the profit/loss in dollars as a label on the sl/tp lines itself. I have an EA to deploy sl/tp automatically. Therefore there are stop loss and take profit lines in chart, drawn by my EA and it'll track and there's a TP that is fixed too. Whenever there's a SL/TP line the indior should display. So I only need the indior to show the price, pips and P/L like in sample picture.


Please help,

Thanks a lot
https://www.nigeriaforextrading.com/attachments/1530399044.png

Oxza
07-08-2022 08:33, 08:33 AM
Hello, David!


I place in such symbols AUD,CAD,CHF,JPY,NZD,PLN,SGD,EUR,CZK,DKK,GBP,HUF,MX N,NOK,SEK,TRY,ZAR,CNH,XAU in the Currencies, however the indior does not reveal info for all probable pairs, although it does reveal info for the missing ones once I place them separately.

What may be a cause for this behavior?

pablolmga
07-08-2022 09:55, 09:55 AM
I put in these logos AUD,CAD,CHF,JPY,NZD,PLN,SGD,EUR,CZK,DKK,GBP,HUF,MX N,NOK,SEK,TRY,ZAR,CNH,XAU in the Currencies, but the indior doesn't show info for all probable pairs, though it does show info for the missing ones once I put them in separately. What can be a cause for this behavior? I don't know. It might depend on the br0ker, the available instruments, the MT4 version, or the edition of this indior which you're using (there are many of them floating around. I have attached the one I use under ).Attachment 2592947
The indior uses https://docs.mql4.com/marketinformation/marketinfo( symbol,MODE_BID) to acquire the bid price, also assumes it is a real symbol if this function returns , for whatever reason (e.g. in case it can not find price data for that pair on the br0ker's server). Attempting to get it to yield data for exotic pairs, metals, indices etc may cause unpredictable results (only for starters, 1 pip isn't necessarily equal to 0.0001 for those instruments. For instance, a buddy of mine uses a broker called 10markets. The instrument Bitcoin appears twice in his Market Watch, as BTCUSD and BTCUSD.m. One includes a spread of 50'pips', another has a spread of 5000'pips').

Anyhow, here is the result I get on my pc, using the connected indior along with the displayed configurations:
https://www.nigeriaforextrading.com/attachments/1530399032157240130.png

cxmlus
07-08-2022 11:17, 11:17 AM
any one have this kind of display of current candle large low close open value. . If have please discuss
https://www.nigeriaforextrading.com/attachments/15303990342013397904.png

Noamog
07-08-2022 12:40, 12:40 PM
Does anyone here know of an equal for this particular indior?

Or at least something which lists ADRs for multiple pairs, but for MT5?

Oxza
07-08-2022 14:02, 02:02 PM
Does anyone here know of an MT5 equal for this particular indior? Or at least something that lists ADRs for multiple pairs, but for MT5?
This indior has an open source code. You can just code the MT5 variant on your own.

Noamog
07-08-2022 15:24, 03:24 PM
quote This indior has a open source code. You may just code the variant on your own. I managed to convert a small number of mt4 indiors into mt5 succesfully on my own, and I am not even a perfect proper coder.

This one, however, sources some include mqh documents, and frankly I don't have enough time to spare ahead.

Only looking for a simple-looking multi-pair ADR table for MT5. Surprisingly I can't find even a alternative.

So thanks for your super useful reaction.

Same question to anybody who's using one: Why does anybody know of an MT5 equivalent to the indior, either free or paid?