I want the attached indior altered to provide an option to select the Weekly time period.
I will appreciate it- I will e at your wedding
https://www.forexsoutheast.asia/atta...3152528396.mq4
I want the attached indior altered to provide an option to select the Weekly time period.
I will appreciate it- I will e at your wedding
https://www.forexsoutheast.asia/atta...3152528396.mq4
Too late Bill, I am already married!Originally Posted by ;
I have modified the indior to use a variable interval. Hope that is what is required. Just set Timeframe to W1 to find weekly (the indior formerly operated using daily).
I have also changed the display routine, since I noticed that if the values were equal the currency names plotted over the top of each other. So today if two values are equal, to break the tie, the connected currencies show in alphabetical order.
I shall leave you to test it more extensively when the markets reopen this coming week.
Happy New Year, my friend. May 2018 bring you good health pips, and much enjoyment.
David
NOTE: Code was compiled with MQL4 Editor/compiler construct 509. If you want the .mq4 source to continue to compile/run without errors, you'll want to do this first. Otherwise, download the .ex4 file.
https://www.forexsoutheast.asia/atta...5440763799.ex4
https://www.forexsoutheast.asia/atta...1021297153.mq4
USD is not powerful, I think, but on W1 it shows it powerful. . .in some stage my interpretation might be incorrect.
I didn't check to see how Bill's indior computes strength, but here are some other signs that US dollar (black line in the third screenshot, white line in the fourth) has really been feeble, relative to the other majors, over the past couple of days:Originally Posted by ;
I'll need to wait until the market opens to look it over. It will not activate without visitors.
I downloaded a tick generator but it does not make any difference. I used those things years ago and they had to work.
I'm sure that the indior is just what I needed.
Thank you again.
Mine works. I didn't wait long.Originally Posted by ;
Here is how I had been advised to make use of it.
On W1, set the oneminma into 8.
That gives you, in order of strength:
NZD
AUD
EUR
CHF
CAD
GBP
JPY
USD
Hi Bill,
I needed an example to check out a new multi-symbol/multi-timeframe frame I've been experimenting with - so here is my attempt to turn this to an MTF/MS oscillator.
A couple notes on the first code:The symbols are coded therefore it will never work in an any broker with appended symbols (eg ECNs = EURUSDecn). There's not any mistake 4066/4073 error handling so you will get false results due to the indior making calculations on the iMA mistake return rather than the actual MA. https://www.forexsoutheast.asia/atta...1052934094.ex4
https://www.forexsoutheast.asia/atta...7909055046.rar
FWIW, as far as I can tell, this is how the calculation works:Originally Posted by ;
The indior originally calculated a easy MA with a span of oneminma on a daily chart, for every one of 27 currency pairs (excluding EURCHF, which is more complex). I have changed the Timeframe to become variable rather than daily. So if oneminma = 8 , also Timeframe = W1 , it computes the SMA of the previous 8 weekly candles (rather than the previous 8 daily candles).
Each currency (EUR, USD, JPY, etc) begins with a score of 7.
When the current price of (such as) EURUSD is greater than its calculated SMA, subsequently EUR's (the first named currency in the pair) score is decreased by 1, otherwise USD's (the second named currency in the pair) score is decreased by 1.
This process is repeated for another 26 pairs. EURCHF works but either EUR's or CHF's score is diminished by 1.
If the last score for a currency is greater, it is printed in blue typeface; 3 or 4 is published in white; two or less in crimson.
The currency with the lowest score prints at the peak of the list, down into the currency with the maximum score in the bottom.
All that is assuming that I have understood the code properly. It's not necessarily easy to have inside the head of another programmer.
I am not sure which currency is supposed to be the most powerful, and which is the weakest. However, at a guess, if a pair's current price is above its SMA, then it is deemed to be climbing and hence the first named currency is supposed to be powerful; because that currency's score is decreased by 1, then I presume the currency with the lowest score (red, at the peak of the list) is the most powerful. (That rather makes sense)
I am also not sure why it was programmed to work the way it will, but it is what it is.
I also fixed the indior so the text items it creates vanish if the indior is removed from the chart.
______________________________
[EDIT] BTW, in case anyone would like to understand how the screenshots in article #5 have been generated:
You can see the URLs in the initial three.
Screenshot #4 utilizes the Recent Strength and CSM indiors.
Screenshot #5 utilizes the PSA.