Pair Power Analyzer (PSA)

That is an indior I use as an adjunct to my strength indiors, to confirm strength/weakness by using a very different algorithm. It was written by me back in 2011, however I#8217;ve finally decided to share it openly.

There is nothing magical about the indior; it is merely another way of calculating trend strength. It ranks both pairs and currencies, in the most powerful trending down to the moving that is sideways, according to the parameter settings that you choose to apply. For terms, directions, disclaimer, and description, please read the attached PDF document. (For a more detailed explanation of how the LengthsForRegr, PeriodsForRegr and WeightsForRegr settings work, see this article; for more information on the RescaleUsingATR setting, see this and this).

The indior runs right for me on AxiTrader MT4 build 610 and my Windows 7 setup. However, I don't have any idea whether it is going to work on other builds or computer setups. In case you can#8217;t get it to run, please look elsewhere for one more strength indior, like I don#8217;t wish to spend a lot of time replying or troubleshooting queries posted in this thread. Please read both this post, and the PDF, attentively.

The indior has just been tested for its 8 major currencies AUD, CAD, CHF, EUR, GBP, JPY, NZD and USD. There's no guarantee it will offer meaningful values for exotics, metals, commodities, indices, etc, whose'pipvalue' values can vary from br0ker into br0ker.

The attached screenshot shows that NZDJPY is your most powerful uptrending pair (most favorable value), GBPCAD is your most powerful downtrending pair (most negative value), also AUDUSD is your most'sideways moving' pair (value closest to zero). If you change the parameter settings, the newly calculated values may be distinct changing the rankings of those pairs in the listing.

The indior is connected. Source code (.mq4 document ) is unavailable. Please don#8217;t ask me to remove the copyright message. I won't be producing any modifiions into the indior; it is offered free, on an #8220;as is#8221; basis. I take no liability for damage or any losses .

Finally, please don#8217;t ask me which settings to use to trade most profitably (I use the indior like this). The solution is it is dependent upon your trading egy. I#8217;m supplying an indior, not a trading platform.

I trust you discover the indior useful. To anyone who posts a message of thanks, and really does, I appreciate the positive feedback.

David
____________________________

Terms and Conditions

#61623; All code is supplied FREE of charge. It may NOT be sold or distributed commercially.

#61623; Software is provided on an'as is' basis. I am not offering a programming or troubleshooting service. Source code isn't currently offered.

#61623; There is not any guarantee that the software is appropriate for purpose, or without any errors. Download and use the indior(s) in your own risk; I accept no liability for computer damage or financial losses.

___________________________

Modifiions History

Updated Dec 17, 2017 #8212; PSA now has the facility to utilize %profit as the basis for its calculations, as an alternative to regression line slopes. Input,nnn to the RescaleUsingATR parameter to facilitate this. Explained in more detail here.
___________________________

Updated October 25, 2017 #8212; Fixed bug as summarized here.
___________________________

Updated Sept 29, 2017 #8212; the PSA indior (most recent version -- visit download file under ) today contains these new features:

1. The histogram centre has been updated to allow a font. Hence the CSM ribbon (download from ZIP record below; see this article for more info) can be implemented to give the result displayed in first screenshot in place #215. If the font entry is omitted, the indior uses the'Wingdings' ribbon like it did previously. (The result in the screenshot is also created by setting the entrance to 73, which is the ASCII code for uppercase'I').

2. A desktop panel facility is currently available through the new parameter BGHeightHstartWidthColor. Entries, separated by commas, are
I) height (per row),
ii) horizontal start position (pixel number) -- this should closely match your Hpos entrance in WindowCornerHposVposVspacing,
iii) width of desktop box,
iv) colour of desktop box (can be any legitimate MT4 token, e.g. Maroon, MidnightBlue, SaddleBrown, or even RnnnGnnnBnnn where 0lt;=nnnlt;=255 for red, green, blue components).
To possess no background panel exhibited, leave the parameter blank, and the indior will operate as it did before.
Watch screenshots in place #215 for cases.

3. An output record of this PSA's historic values (for currencies simply, not pairs/instruments) is currently available through the new parameter CurrencyCrosstabFile. Enter the title of the file, which will be output into the.../MQL4/Files folder (or your given subfolder). Leave the parameter blank, and no file will be output. Document format is shown in sample below, and a new row is appended to the file every time the PSA values are updated (RefreshPeriod), or the indior is manually refreshed (use a text editor like Notepad to manually remove any unwanted rows). Entry on each row is the the row was output. If you are using multiple examples of this PSA (whether connected to the same or various charts), you should specify another file name for each case, to avoid the same file from being overwritten by multiple sources, causing unpredictable results.
Inserted Code 2017/09/18 01:00:02,AUD, -7886,CAD, -9771,CHF, -7199,EUR, -5234,GBP, 53589,JPY, -23520,NZD, 3160,USD, -72 2017/09/18 01:15:00,AUD, -8116,CAD, -9966,CHF, -6531,EUR, -4707,GBP, 53054,JPY, -23309,NZD, 3210,USD, 202 2017/09/18 01:30:02,AUD, -7854,CAD, -9916,CHF, -6451,EUR, -4574,GBP, 52946,JPY, -23479,NZD, 3340,USD, -1 2017/09/18 01:45:01,AUD, -8463,CAD, -9871,CHF, -6654,EUR, -4753,GBP, 53120,JPY, -23029,NZD, 3457,USD, 62 2017/09/18 02:00:01,AUD, -8421,CAD, -9770,CHF, -6630,EUR, -5000,GBP, 52863,JPY, -23007,NZD, 3639,USD, 189 2017/09/18 02:15:18,AUD, -8070,CAD, -9830,CHF, -6603,EUR, -4833,GBP, 52860,JPY, -23471,NZD, 3609,USD, 173 2017/09/18 02:30:02,AUD, -7764,CAD, -9947,CHF, -6581,EUR, -4851,GBP, 52584,JPY, -23371,NZD, 3564,USD, 204 2017/09/18 02:45:00,AUD, -7997,CAD, -10167,CHF, -6731,EUR, -5003,GBP, 52853,JPY, -23826,NZD, 3697,USD, 922 2017/09/18 03:00:00,AUD, -8127,CAD, -10176,CHF, -6819,EUR, -4696,GBP, 53071,JPY, -23764,NZD, 3387,USD, 926 2017/09/18 03:15:01,AUD, -7773,CAD, -10340,CHF, -6931,EUR, -4797,GBP, 53120,JPY, -23774,NZD, 3747,USD, 571 2017/09/18 03:30:04,AUD, -7727,CAD, -10294,CHF, -6419,EUR, -4596,GBP, 52941,JPY, -23879,NZD, 3420,USD, 356 2017/09/18 03:45:01,AUD, -7660,CAD, -10160,CHF, -7201,EUR, -4454,GBP, 53194,JPY, -24231,NZD, 3471,USD, 780 2017/09/18 04:00:01,AUD, -7336,CAD, -10246,CHF, -7049,EUR, -4330,GBP, 52979,JPY, -24529,NZD, 3726,USD, 504 2017/09/18 04:15:00,AUD, -7000,CAD, -10024,CHF, -7311,EUR, -4490,GBP, 52879,JPY, -24561,NZD, 3994,USD, 356 2017/09/18 04:30:01,AUD, -6244,CAD, -9823,CHF, -7251,EUR, -4619,GBP, 52787,JPY, -25073,NZD, 3984,USD, 12 An indior like the'Plot PSA Crosstab.ex4' (see download file under ) can then be employed to plot historic values that were previously exhibited by the PSA (see screenshot in place #215). Note that when the RefreshPeriod of the PSA is different to the chart TF the values plotted will not align under the correct candles on the chart.
___________________________

Updated Sept 5, 2017 #8212; indior currently contains these new features:

Should you place CcySummaryOpt into:
#61623; 0 = currency overview options (at foot of list) isn't shown
#61623; 1 = each currency value is the sum of all of its constituent pair values
#61623; 2 = currency values are further scaled into the interval (-n,n) where n is your FinalScaleValue (assuming ngt;0)
#61623; 3 = currency values are further scaled to the interval (0,n) where n is your FinalScaleValue (assuming ngt;0)
Currencies are sorted in the greatest positive value (most bullish) into the greatest negative value (most bearish)

Should you place FinalScaleValue into:
#61623; 0 = the value shown for each pair is simply the average of the regression line slopes; values are sorted from the steepest into the flattest (typical ) incline
#61623; n (where ngt;0) = values are further scaled to the interval (-n,n)
#61623; -n (i.e. nlt;0) = no scaling is done, but values are re-sorted in the greatest positive value (most bullish) into the greatest negative value (most bearish)
___________________________

Updated Dec 6, 2015 #8212; indior currently contains these new features:

1. HighlightPairs setting: PSA will place a highlight markers beside any pairs you choose, which makes it easier to find them as they proceed up/down the list.

2. ShowCcySummary has been substituted by CcySummaryOpt: there are currently 4 distinct options for your Currency Summary Table.

See attached PDF file for directions.
___________________________

Updated Jan 10, 2015 #8212; indior today contains these new features:

1. PrevValuesToDisplay setting: Past values can now be shown as differences (increase/decrease from prior value) instead of the actual value .

2. The Histogram configurations are now much more customizable. Any Wingdings symbol may be utilized as the bar character (see attached chart of Wingdings logo codes).

3. Parameters can now be entered through a file (sample attached).

See attached PDF file for instructions.
___________________________

Updated Mar 31, 2015 #8212; fixed bug described here by adding a new parameter: UniqueID. Files are attached below.

See attached PDF file for instructions.
___________________________

Updated May 1, 2015 #8212; added new parameter setting HighlightPairs. Files are attached below.

See attached PDF file for instructions.


https://www.forexforum.co.za/attachm...2401140480.pdf
https://www.forexforum.co.za/general...61-swissy.html
https://www.forexforum.co.za/attachm...2056841083.zip
https://www.forexforum.co.za/attachm...0690797394.ex4
https://www.forexforum.co.za/attachm...1782418231.ex4