RSI - help needed - page 2 12 New comment Pyramid 2005.12.21 07:48 #11 Hi the formula for UPs and Downs is the change in SMA so line 25 1.770463 line 26 1.770540 Up = "0.000077" line 27 1.770640 Up = "0.000100" line 28 1.770770 Up = "0.000130" etc PS: Remember that in my routine, I start from the beginning of the chart whereas (I think) MT4 starts from the last bar and works backwards. OnInit() - Check historical difference between parameters "ma_shift" icustom output? Pyramid 2005.12.21 07:52 #12 I have made some edits to my original post. but it looks ok now html doesnt like leading zero apparently Pyramid 2005.12.21 09:03 #13 Thanks Igor I am downloading now and will test it again during today Fingers crossed that all is well Igor Durkin 2005.12.21 09:22 #14 I have changed code. Now we have RSI with SMA calculation only. Pyramid 2005.12.21 09:36 #15 igor sorry about this, but there is a problem. In order to see what I mean , would you please put up a chart with the following details. GBPUSD - 5min line chart SMARSIv2 - RSIPeriod=45; MAPeriod=144;Price=0;Smooth=1. There appear violent swings from 100 to 0 followed by complete reversals. I will post a chart shortly. XP Moving Average! Indicators with alerts/signal Opening, closing in Expert Pyramid 2005.12.21 09:51 #16 Igor ok, here is the chart This problem also occurs with other settings Files: smarsi.gif 25 kb Pyramid 2005.12.21 11:32 #17 ok we try again Igor Durkin 2005.12.21 12:15 #18 I have found bug in original code, has already corrected. Pyramid 2005.12.21 23:41 #19 Igor / newdigital I think we can now give it the thumbs up Have tested it with several widely varying settings . close enough for jazz. There are very very minor differences but I will put that down to the limitations of my own software. Igor - once again many thanks, it is appreciated believe me. Merry Christmas. StepMAExperts New Experimental Expert Help!!! Prevent EA from getting [Deleted] 2006.04.30 19:06 #20 changed SMARSI_v2 too be used in EAs. The functions you are interested are rsi & rsiBuff, copy & paste in EA and use "rsi" instead of iCustom call. Files: smarsi_v3.mq4 5 kb 12 New comment
Hi
the formula for UPs and Downs is the change in SMA
so
line 25 1.770463
line 26 1.770540
Up = "0.000077"
line 27 1.770640
Up = "0.000100"
line 28 1.770770
Up = "0.000130"
etc
PS: Remember that in my routine, I start from the beginning of the chart whereas (I think) MT4 starts from the last bar and works backwards.
I have made some edits to my original post.
but it looks ok now
html doesnt like leading zero apparently
Thanks Igor
I am downloading now and will test it again during today
Fingers crossed that all is well
I have changed code. Now we have RSI with SMA calculation only.
igor
sorry about this, but there is a problem.
In order to see what I mean , would you please put up a chart with the following details.
GBPUSD - 5min line chart
SMARSIv2 - RSIPeriod=45; MAPeriod=144;Price=0;Smooth=1.
There appear violent swings from 100 to 0 followed by complete reversals.
I will post a chart shortly.
Igor
ok, here is the chart
This problem also occurs with other settings
ok
we try again
I have found bug in original code, has already corrected.
Igor / newdigital
I think we can now give it the thumbs up
Have tested it with several widely varying settings .
close enough for jazz.
There are very very minor differences but I will put that down to the limitations of my own software.
Igor - once again many thanks, it is appreciated believe me.
Merry Christmas.
changed SMARSI_v2 too be used in EAs. The functions you are interested are rsi & rsiBuff, copy & paste in EA and use "rsi" instead of iCustom call.