Here is my Currency Strength Meter for NinjaTrader
http://img24.imageshack.us/img24/822...etterrenko.jpg
http://img24.imageshack.us/img24/822...etterrenko.jpg
Recent Candles indicator 231 replies
Trading profitably using Recent Strength 58 replies
Recent Strength indicator 0 replies
Great recent strength indicator needs alert 0 replies
Recent Strength Idea 3 replies
DislikedHi David,
Thanks a lot for your indicators. Unfortunately, it's too heavy for my slow computer ....May I ask you to modify the recent strength indicator for me, so it's just showing 2 strongest & 2 weakest currency in all TF (M1 - D1) ? I send you an image as attachment. The first row is the STRONGEST currency, below it is the WEAKEST currency. Followed by the SECOND STRONGEST and SECOND WEAKEST currency.
With this example, I will choose currency for trading like this :
If I trade at M30 TF, I will trade : AUD-USD or AUD-JPY...Ignored
DislikedPedma,
The slowness is caused by the vast amount data that the indicator has to gather from the br0ker's server, from every pair, on every timeframe, just to calculate the values. Hence simplifying the presentation would not solve your slowness problem.
In nay case, I am sorry, now that I'm working full time, I am too busy to undertake more programming work.
Perhaps the indicator attached to post #56 is more to your liking, although it shows daily strength only.
David...Ignored
DislikedPedma,
The slowness is caused by the vast amount data that the indicator has to gather from the br0ker's server, from every pair, on every timeframe, just to calculate the values. Hence simplifying the presentation would not solve your slowness problem.
In nay case, I am sorry, now that I'm working full time, I am too busy to undertake more programming work.
Perhaps the indicator attached to post #56 is more to your liking, although it shows daily strength only.
David...Ignored
DislikedHi Hanover, I am currently using Steve Hopwoods Hanover EA and am about to try some of the other EA's that have been 'Hanovered' but I would like to know if it is possible to remove some of the currencies from the 'Build Strength Preset File' without cocking up the 'Recent Strength 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 guidance would be greatly appreciated.
Cheers.Ignored
DislikedHi David,
If I try to catch the value of "Recent Strength" using iCustom, is it possible ?
May be like :
double USD_M1,USD_M5,USD_M15, ...., EUR_M1,EUR_M5,EUR_M15, ....
USD_M1=iCustom(NULL,1,"Recent Strength",0,0);
USD_M5=iCustom(NULL,5,"Recent 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 value of USD_M1 with EUR_M1 , USD_M5 with EUR_M5,...Ignored
DislikedHi Rascacio,
I'm not 100% conversant with how the Hanover EA operates, hence I would be very hesitant to remove currencies from the RS output. Perhaps you could politely ask Steve to enable a currency selection facility in the EA?
DavidIgnored
DislikedI appreciate your work thanks
[font=Arial][color=#333333]I want to offer another column in RS indi, independent from TF. I do not think we should calculate the average of all TF for any currency. But to find a scale that would give strength in Current real time. It seems to me that we could get more definite reference for weak and strong currency.
[font=Arial][color=#333333][color=#333333][font=Arial][size=3]I...Ignored
DislikedPedma,
It is better to have your EA read the OutputFile that can be generated by the RS indy (see OutputFile parameter info in post #1), that to attempt to use iCustom().
You can use the attached code shell to have your EA read the file 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 cause a warning error ("function xxx is not referenced...Ignored
DislikedHi David,
Thanks for the tips. I will see the link you gave. So far, this is what I did:
- put "recent strength indicator.ex4" to ..../experts/indicators
- put "Presets---Recent Strength.txt" file to .../experts/files
- put "test1.ex4" to ..../experts directory
Is that right ?
Thanks
-pedma-Ignored
DislikedPedma,
Yes, those are the correct folders, but you need to use the code from test1.mq4 in your EA, if you want the EA to automatically load the RSvalue array from the file Output---Recent Strength.csv. Then you can use the RSvalue values directly in calculating your buy/sell/close etc signals.
OK, to summarize --- here is the process, step by step:
1. Download Build Strength Preset File.mq4 script (from post #1, install it in your ..../experts/scripts folder). Then run it, which will create your parameter file...Ignored
QuoteDislikeddouble AUD_M1,AUD_M5,AUD_M15,AUD_M30,AUD_H1,AUD_H4,AUD_D1;
double USD_M1,USD_M5,USD_M15,USD_M30,USD_H1,USD_H4,USD_D1;
double EUR_M1,EUR_M5,EUR_M15,EUR_M30,EUR_H1,EUR_H4,EUR_D1;
string SAUD_M1,SAUD_M5,SAUD_M15,SAUD_M30,SAUD_H1,SAUD_H4,SAUD_D1;
string SUSD_M1,SUSD_M5,SUSD_M15,SUSD_M30,SUSD_H1,SUSD_H4,SUSD_D1;
string SEUR_M1,SEUR_M5,SEUR_M15,SEUR_M30,SEUR_H1,SEUR_H4,SEUR_D1;
QuoteDislikedint start() {
AUD_M1 = RSvalue[_AUD][_M1][0];
AUD_M5 = RSvalue[_AUD][_M5][0];
SAUD_M1 = "AUD-M1 " + NumberToStr(AUD_M1, 2);
SAUD_M5 = "AUD-M5 " + NumberToStr(AUD_M5, 2);
objname = "AUD M1";
ObjectCreate(objname,OBJ_LABEL,0,0,0);
ObjectSet(objname,OBJPROP_XDISTANCE,1000);
ObjectSet(objname,OBJPROP_YDISTANCE,50);
FontColor = White;
ObjectSetText(objname,SAUD_M1,FontSize,FontName,FontColor);
etc ....
DislikedSome questions :
a) The value of "Output---Recent Strength.csv" file is changed automatically or it's changed by your "Recent Strength" indicator ?
Or by the script, which is run once ?
b) After inserting mytesting indicator to chart, then I delete it (deleting via Indicator List). But the label & value is still there, until I delete the OBJECT list. Why it's not automatically removed ?Ignored
DislikedPedma,
From your screenshot, it looks like you are loading the arrays correctly, and are displaying good values.
a) The values in the file Output---Recent Strength.csv are changed by the Recent Strength indy. The whole file is rewritten. How often this happens depends on the RefreshEveryXMins parameter:
--- If you have the RefreshEveryXMins parameter set to 1, it will be rewritten every time a new M1 candle starts to form (on the chart to which the RS indy is attached)
--- If you have the...Ignored
DislikedHi David,
You're so great !! Thanks a lot. I will try again.
So, even I did not use the "RS indicator" (because it's too heavy at my slow computer), I must use it (load the indy to chart) every time, after I made changing in Presets---Recent Strength.txt file, and then remove the chart. If no changing made to Txt file, I don't need to load the "RS indy", is that right ?
Or may be I must get the part that handle the variable "RefreshEveryXMins" from "RS indy" then put it to my testing indicator, to refresh...Ignored
DislikedPedma,
As currency prices move, the strength values move accordingly. Hence you need to have the RS indy attached to your chart all the time, to continuously update the Output---Recent Strength.csv file, so that your EA always has access to the latest values.
If your computer can not run the RS indy, then I'm afraid that you're completely stuck. However, there are some hints in the 'COMPUTER PERFORMANCE' section of post #1 for making the RS indy run faster, which may help you. The last point about "trimming the list of constituent pairs"...Ignored
DislikedHi David,
Thank you. My MT4 has version of 406. I will try to update it & try the "Computer Performance" solution. If the result is not good, I will try to modify your "Currency Strength - Giraia" indy.
Thanks again for all you have done, David.
-pedma-Ignored
DislikedHi David,
After trying the Recent Strength and the speed problem is still not solved, I decide to use "Currency Strength - Giraia" for my new indicator. I try to sort the value from Small to Big, example :
Currency Value
---------------
USD = 3.1
EUR = 7.3
GBP = 4.4
CHF = 3.1
CAD = 5.6
AUD = 2.7
JPY = 5.3
NZD = 4.4
After put all values to an Array, I can use "ArraySort" to sort the value from Small to Big :
2.7 , 3.1...Ignored
3.1 USD 7.3 EUR 4.4 GBP 3.1 CHF 5.6 CAD 2.7 AUD 5.3 JPY 4.4 NZD
7.3 EUR 5.6 CAD 5.3 JPY 4.4 GBP 4.4 NZD 3.1 CHF 3.1 USD 2.7 AUD