Need weekly time frame added to indior
Results 1 to 9 of 39

Thread: Need weekly time frame added to indior

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

  2. #2
    Quote Originally Posted by ;
    I want the attached indior modified to give an choice to pick the Weekly time period. I'll appreciate it- I'll e at your wedding
    Too late Bill, I am already married!

    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

  3. #3
    USD is not powerful, I think, but on W1 it shows it powerful. . .in some stage my interpretation might be incorrect.

  4. #4
    Quote Originally Posted by ;
    quote Too late Bill, I'm already married! I have modified the indior to use a varying interval. Hope that's what is required. Just set Timeframe into W1 to get per week (the indior previously operated using daily). I have also altered the display regular, because I noticed that when the values were equal the currency names plotted on top of each other. So if two values are equal, to break the tie, the tied currencies show in alphabetical order. I will make you test it more thoroughly when the markets reopen this coming week. Happy...
    Thanks a million, Mr Hanover. I truly appreciate it.

  5. #5
    Quote Originally Posted by ;
    USD is not powerful, I think, but on W1 it reveals it powerful. . .in some point my interpretation may be wrong.
    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:





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

  7. #7
    Quote Originally Posted by ;
    USD is not strong, I think, but on W1 it reveals it as strong. . .in some stage my interpretation may be wrong.
    Mine works. I didn't wait long.
    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

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

  9. #9
    Quote Originally Posted by ;
    Mine works. I didn't wait. This is how I was advised to use it. On W1, set the oneminma into 8. This gives you, in order of power: NZD AUD EUR CHF CAD GBP JPY USD
    FWIW, as far as I can tell, this is how the calculation works:

    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.

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.