Recent Strength indicator -
... 25 33 34 35 36 37 45 ...

thread: Recent Strength indicator

  1. #341
    Junior Member Twiqui's Avatar
    23
    Pedma,

    The slowness is brought on by the vast amount information that the indior has to collect from the br0ker's server, from every pair, on every timeframe, merely to calculate the values. Hence simplifying the presentation wouldn't solve your slowness issue.

    In nay case, I am sorry, now that I'm working full time, I am too busy to undertake more programming work.

    Perhaps the indior attached to post #56 is much more to your liking, though it reveals daily strength only.

    David...
    Hello David,

    Thanks a lot for everything you have done.... I will observe the link you gave.
    Hope you're constantly happy.... . . Always possess green pips....

    Best Regards,
    --

  2. #342
    Junior Member Twiqui's Avatar
    23
    Pedma,

    The slowness is caused by the huge amount data the indior must collect from the br0ker's host, from every pair, on each period, simply to figure out the values. Your slowness issue would not be solved by simplifying the presentation.

    In nay caseI am sorry, now that I'm working full timeI am too busy to tackle programming work.

    Maybe the indior attached to post #56 is much more to your liking, although it reveals daily strength just.

    David...
    Hi David,

    If I attempt to ch the worth of Recent Strength using iCustom, is it feasible?

    May be like:

    double USD_M1,USD_M5,USD_M15,..., EUR_M1,EUR_M5,EUR_M15,....

    USD_M1=iCustom(NULL,1,Present Strength,0,0);
    USD_M5=iCustom(NULL,5,Present Strength,0,0);
    USD_M15=iCustom(NULL,15,Recent Power,0,0);

    EUR_M1=iCustom(NULL,1,Recent Strength,1,0);
    EUR_M5=iCustom(NULL,5,Recent Strength,1,0);
    EUR_M15=iCustom(NULL,15,Recent Strength,1,0);

    Then I attempt to compare the worth of USD_M1 with EUR_M1, USD_M5 with EUR_M5, etc...
    or using ArraySort to form the value from Little to Big.

    Is it feasible? If yes, that buffer belongs to that Currency (I am in preceding example: USD = buffer 0, EUR = buffer 1, etc... )?

    Thank You
    --

  3. #343
    Member Rocky's Avatar
    83
    Hi HanoverI am currently using Steve Hopwoods Hanover EA and'm about to try some of the other EA's who have been'Hanovered' but I'd like to know if it's possible to eliminate some of the currencies in the'Build Strength Preset Document' without cocking the'Recent Strength Ex4' file?

    The main reason being I have an aversion to JPY and CHF at the moment, after being burned too often by them!!!!

    Any guie will be greatly appreciated.

    Cheers.

  4. #344
    Senior Member Tataylo's Avatar
    435
    Hi HanoverI am currently using Steve Hopwoods Hanover EA and'm about to try out a few of those other EA's that happen to be'Hanovered' but I would like to know whether it's possible to remove a few of the currencies in the'Build Power Preset File' without cocking the'Recent Power Ex4' file?

    The main reason being that I have an aversion to JPY and CHF at the moment, after being burned too often by them!!!!

    Any guie will be greatly valued.

    Cheers.
    Hi Rascacio,

    I'm not 100% conversant with the way the Hanover EA operates, hence I would be quite hesitant to remove currencies in the RS output. You could ask Steve to enable a currency selection facility ?

    David

  5. #345
    Senior Member Tataylo's Avatar
    435
    Hi David,

    Should I try to ch the worth of Recent Strength utilizing iCustom, is it feasible?

    May be similar to:

    double USD_M1,USD_M5,USD_M15,..., EUR_M1,EUR_M5,EUR_M15,....

    USD_M1=iCustom(NULL,1,Present Strength,0,0);
    USD_M5=iCustom(NULL,5,Present Strength,0,0);
    USD_M15=iCustom(NULL,15,Recent Strength,0,0);

    EUR_M1=iCustom(NULL,1,Recent Strength,1,0);
    EUR_M5=iCustom(NULL,5,Recent Strength,1,0);
    EUR_M15=iCustom(NULL,15,Recent Strength,1,0);

    Then I try to compare the worth of USD_M1 with EUR_M1, USD_M5 with EUR_M5,...
    Pedma,

    It is better to have your EA read the OutputFile that can be generated by the RS indy (watch OutputFile parameter info in post #1), that to attempt to use iCustom().

    You can use the attached code casing to get your EA read the document into more easily referenced arrays. More info here.

    Most of the functions in the'FUNCTIONS LIBRARY' section are not used. You can delete any functions that trigger a warning error (function xxx is not referenced and will probably be removed from exp-file) in the .mq4 document if you wish.

    Good fortune,
    David
    https://www.cliqforex.com/attachment...1023059504.mq4

  6. #346
    Member Rocky's Avatar
    83
    Hi,

    I am not 100% familiar with how the Hanover EA operates, therefore I would be very reluctant to eliminate currencies from the RS outputsignal. Perhaps you could politely ask Steve to enable a currency selection facility ?

    David
    Thank's David. I will make a request

  7. #347
    I love your job thanks

    I wish to offer you another column in RS indi, independent from TF. I do not think we ought to figure out the average of TF for any currency. But to obtain a scale which would give advantage in Current real time. It appears to me that we could receive definite reference for weak and strong currency.
    I don't have a clear idea about which sort of scale we want. So I bring this up here.
    Thank you
    FxHOP

  8. #348
    Senior Member Tataylo's Avatar
    435
    I value your work thanks

    [font=Arial][color=#333333]I want to offer you another column in RS indi, independent from TF. I do not think we should figure out the average of TF for virtually any currency. But to obtain a scale which would give strength in Current time. It seems to me that we can receive definite benchmark for strong and weak currency.
    [font=Arial][color=#333333][color=#333333][font=Arial][size=3]I.. .
    Hi,

    I'm sorry, but I'm not sure just what you are asking.

    In any case, I'd like not to add further compliion into the indior at this time. Individuals are already commenting that it runs.

    The indy can make an output file (see notes OutputFile parameter in place #1). You can then use the info from this file for further analysis, or otherwise use it in any manner which you wish (for more info, please see articles #305 and #368).

    David

  9. #349
    Junior Member Twiqui's Avatar
    23
    Pedma,

    It is far better to have your EA read the OutputFile which may be generated by the RS indy (see OutputFile parameter info in article #1), that to attempt to use iCustom().

    You can use the attached code casing to have your EA read the document into more easily referenced arrays. More information here.

    The majority of the functions in the'FUNCTIONS LIBRARY' section aren't used. You can delete any functions that cause a warning error (work xxx isn't referenced...
    Hello David,

    Thanks for the hints. I will see. Thus far, this is what I did:
    - put recent power indior.ex4 into.../experts/indiors
    - put Presets--Recent Strength.txt document to.../experts/files
    - put test1.ex4 into.../specialists directory

    Is that correct?

    Thanks
    --

  10. #350
    Senior Member Tataylo's Avatar
    435
    Hi David,

    Thanks for the Hints. I will see the link you've got. So far, this is what I did:
    - place recent power indior.ex4 to.../experts/indiors
    - place Presets--Recent Strength.txt document to.../experts/files
    - place test1.ex4 to.../specialists directory

    Is that right?

    Due
    -pedma-
    Pedma,

    Yes, those would be the appropriate folders, but you need to use the code out of test1.mq4 in your EA, even if you would like the EA to automatically load the RSvalue range from the file Output--Recent Strength.csv. Then you can use the RSvalue values right from computing your buy/sell/close etc signs.

    OK, to outline -- here is your process, step by step (see also the flow loops attached below):

    1. Download Build Strength Preset File.mq4 script from article #1 to your.../experts/scripts folder. Then run it, which will create your parameter document Presets--Recent Strength.txt
    Be sure to set its UseOutputFile parameter = TRUE.
    If you make a mistake, you can always re-run it, since it will just overwrite the document.
    For additional info see the'AUTOMATED PARAMETER FILE BUILD' segment in place #1.


    2. Download the Recent Strength indy from article #1 to your.../experts/indiors folder, and attach it to any MT4 chart.

    NOTE: If, at any time, you would like to alter any of its parameters, then do not utilize the MT4 dialog window. Alternatively, you must edit the settings from the parameter document Presets--Recent Strength.txt working with an editor like Notepad. Then save the document, and refresh the Recent Strength indy in MT4 (to have it re-read the altered parameter settings). For more info, see the'PARAMETERS' segment in place.

    Provided you have done everything correctly so far, the Recent Strength indy will periodically output values to a file called tabbed --Recent Strength.csv from the.../experts/files folder. Every time it does this, the entire document is rewritten. How often this happens is dependent upon the RefreshEveryXMins parameter:
    -- If you have the RefreshEveryXMins parameter set to 1, it will be rewritten every time a new M1 candle begins to form (about the chart to which the RS indy is connected )
    -- If you have the RefreshEveryXMins parameter set to 5, then it'll be rewritten every time a new M5 candle begins to form....
    -- etc


    3. You must write your EA. Use the code from test1.mq4 (download from here) as a beginning point. Every time you call the LoadRSvalues() work, the EA will read the OutputSignal -- Recent Strength.csv document, and update the values from the RSvalue array. Then you can mention this array in your EA code as explained in the link I provided. In this manner, the RS values can become a part of the logic. More information here.


    I hope that makes sense. It is fairly complicated, but I am fearful that the RS system was not initially designed with all this in your mind. I am presuming that you are a MQL4 programmer.

    David

  •