Recent Strength indicator -
... 17 25 26 27 28 29 37 77 ...

thread: Recent Strength indicator

  1. #261
    Many thanks for your work from Finland,! :=-RRB-

    only 1 question; I know it is possible to use this indi in an EA, but is it anyhow possible to do backtesting for such EA on MT's egy tester?? I believe that it's not feasible because this EA utilizes currency pairs and there are limits in MT for EA's, but are there some ways to go around these constraints?

  2. #262
    Senior Member Tataylo's Avatar
    435
    Many many thanks also from Finland for your great work,! :=-RRB-

    Just 1 question; I understand it is possible to use this indi on an EA, but is it anyway possible to perform backtesting for these EA on MT's egy tester?? I think that it is not possible because this EA utilizes currency pairs and there are limits in MT, but are there any ways to maneuver around these limitations?
    Hi,

    Thank you for your kind remarks.

    I am sorry, I have never used MT4's Strategy Tester. Perhaps somebody could comment about using pairs in Strategy Tester?

    The best approach to incorporate the RS values within an EA is explained in post #273. The LoadRSvalues() function in Strength Alerts demo.mq4 (downloadable from post #1) assembles an array RSvalue[currency][interval ][datapointNumber ] from the file exported by the RS indy (Recent Strength.ex4). You use the values from the array in your EA's trading egy, then could copy this code into an EA.

    [EDIT] I am imagining, but I just realized this probably wouldn't function in Strategy Tester, as only time (current) values are output into the file. Instead, you may try using iCustom(), but the RS indy requires more than 50 input parameters, which would make this unwieldy, and in addition, it brings us back to your original question regarding whether other pairs may be utilized in Strategy Tester.

    Sorry I can't be more help. You could try strength indys that have been submitted on the forum. From what I have read, CCFp is used; this thread could try out as a beginning point. There's also great (and more recent) debate about a strength indy here.

    David

  3. #263
    Senior Member Tataylo's Avatar
    435
    Attached is a document with info on EURJPY EURCHF trades setups, that happened today during london session. Within those screenshots I have included some more egy explanations. This will shed some more light.
    Benji,

    Just to allow you to know that I'm reading all of your files, and following your transactions, with great interest. I note the manner that you're using daily range as a filter, and the pivot lines as.

    EURCHF and EURJPY are trending like crazy Right Now. It puzzles me why'experts' say that they concentrate on just 2-3 major pairs (even if their component currencies are positively correlated = the pair moves backward ).

    I expect that you're finding the alarms useful; let me know if you'd prefer the parameters changed (letting you try unique combinations).

    David

  4. #264
    [EDIT] I am imagining, but I only realized this probably wouldn't function in Strategy Tester, as merely real time (current) values are output into the document. Instead, you could try using iCustom(), however the RS indy takes over 50 input parameters, which might make this unwieldy, and in addition, it brings us back to your initial question as to whether other pairs can be used in Strategy Tester.
    Do you mean that the values have written into the output file starting from the stage once you attached the EA into the chart?? There isn't any way to get from years 2005-2010 to this document such as D1 history worth?

    I am convinced there is no way to backtest a EA with multiple currency pairs, but that wouldn't be an issue for me personally. I don't see any problem running the tests to pairs one at a time, if I only could get the values from somewhere.

  5. #265
    Senior Member Tataylo's Avatar
    435
    Do you believe the values get written into the output file starting from the point when you connected the EA into the chart?? There isn't any way to get for example D1 history worth from years 2005-2010 to this document?

    I'm convinced there isn't any solution to backtest a EA with multiple currency pairs, but that wouldn't be an issue for me. I don't see any problem running the tests to many common pairs one at a time, if I could find the values from someplace.
    Hi,

    Values get written to the output file every RefreshEveryXMins minutes. In the event that you place RefreshEveryXMins to 1, the plot about the MT4 chart updates itself, and the output file gets completely overwritten, whenever a new M1 candle begins to form.

    The number of data points written to the document is the same as the amount displayed (on each timeframe) exhibited from the indy, i.e. is determined by the NumPoints parameter. As time moves forward, the points are lost to make way for the newest ones.

    Therefore it follows that no background is maintained along the lines that you are looking for, e.g. D1 worth back to 2005. I never envisaged anybody wanting to utilize the indy for this type of backtesting. However, assuming it is possible to get clean D1 history information back many years, there's no reason why a weighted power calculation across multiple pairs couldn't be achieved inside an EA (given that you can get closing price values utilizing MQL4's iClose(pair,interval,datapointNumber ) etc), exactly the same is being done from the indy.

    David

  6. #266
    The number of data points written to the file is just like the number displayed (on every timeframe) shown by the indy, i.e. is set by the NumPoints parameter. As time goes forward, the points are dropped to make way for the newest ones.
    Okay, so if I understood correctly, I could address the issue such as this:
    - set the NumPoints large enough, such as 2000 for about 10 years D1 information to the outout file
    - copy the default output file to a new file; myData.txt
    - today from my EA, utilize the LoadRSvalues()- method for studying the values from the inactive myData.txt- file

    In this way I would not need to utilize your indi at all during my tests, which would surely be a good thing in the performance standpoint too. Of course, if I want to alter the settings to your indi I would need to create the myData.txt again, but this isn't a big issue anyway.

    Do you find any flaws in this idea?

  7. #267
    Senior Member Tataylo's Avatar
    435
    - place the NumPoints big enough, like 2000 to get about 10 years D1 information to the outout document

    Can you see any faults in this thought?
    The total of those NumPoints and SmoothingSMA values may not exceed 500.

    I don't feel this indy is acceptable for what you are asking, in almost any instance. The most efficient way is to code your own currency power algorithm into your EA.

  8. #268
    Benji,

    I hope that you are finding the alerts useful; let me know if you'd prefer the parameters changed (letting you try different combinations).

    David
    David,

    I have yet to be able to receive alerts despite viewing currencies with less than lt;50 or gt;50 values displayed by the potency indy.I have configured these indy's as follows;

    I have attached Resent Strength indy with default configurations on one chart and only about the monthly timeflame.The Strength Alerts Demo indy is attached with default configurations on one chart and only on the 1 Min timeflame.

    About the Resent strength indy Output parameter is
    removable file: Recent Power

    I have supported currently it's outputting a file to;
    C:\Program Files\MIG Bank Trading Station\specialists \files


    On Strength Alerts Demo indy FileName parameter is
    FileName: Evidence --Recent Strength.csv

    Allow Me to know if am missing some thing.

    But with my egy that these values are discounted because you have discovered by now. Emphasis is put on currencies appearing on the upper column from 5m to timeflames. I would like an alert to be triggered as a pair (two currencies combined) from the two columns.

    On another note,attached is a record with some additional egy explanations.These screenshots were taken today's during London session,markets were literally smoking even before the London session started,thus hitting the highest Daily Range of most pairs.

    Benji
    https://www.cliqforex.com/attachment...5199500738.doc

  9. #269
    Senior Member Tataylo's Avatar
    435
    David,

    I have yet to be able to receive alerts despite seeing currencies with less than lt;50 or gt;50 values displayed by the potency indy.I have configured those indy's as follows;

    I have attached Resent Strength indy with default settings on one chart and just on the monthly timeflame.The Strength Alerts Demo indy is connected using default settings on one chart and just on the 1 Min timeflame.

    About the Resent strength indy Output parameter is
    Output record: Recent Strength

    I have confirmed currently it's outputting...
    Hello Benji,

    I am continuing to test the'Strength Alerts demo' indy, however have not been able to reproduce the issue that you described. I have been running it. Please be aware that an alert will trigger only if all of the conditions are currently met (in each phase ); and at least one of them was not met, on the former plot of the Recent Strength indy (which I assume you have running on a M1 chart too, and with RefreshEveryXMins = 1).

    Anyway, if I can't reproduce the issue, I will think about the possibility of rewriting the indy as soon as I get some spare time. The first attempt was a demo. I reproduced the concept (and some of the code) out of a TDI alarms indy that I had previously written. Maybe it would be easier to code the evaluations to the actual indy itself, rather than have them parameters -- particularly if you want the indy to alert immediately two currencies fulfill opposing conditions simultaneously (one gt; 50; one lt; 50).

    David

  10. #270
    The total of those NumPoints and SmoothingSMA values might not exceed 500.

    I do not feel that this indy is acceptable for what you are asking, in any instance. The most efficient way is to code your own currency strength algorithm.
    Well that just restricts the backtest's scale for about 2.5 years on D1 chart, which can be just fine for me anyway.

    I understand well that your great indi isn't designed to used like this, and coding my own indi for such testing purposes could be a good idea on a long term. But before I start that (propably quite a large task), I would like to have at least any kind of confirmation that I'm on the right track with my EA. So I THINK that using values that are static from a output , I could have such a verification prior to going deeper with it for my own egy.

  •