RSI - help needed - page 2

To add comments, please log in or register
Pyramid
48
Pyramid  

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.

Pyramid
48
Pyramid  

I have made some edits to my original post.

but it looks ok now

html doesnt like leading zero apparently

Igor Durkin
6386
Igor Durkin  

I have changed code. Now we have RSI with SMA calculation only.

Pyramid
48
Pyramid  

Thanks Igor

I am downloading now and will test it again during today

Fingers crossed that all is well

Pyramid
48
Pyramid  

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.

Pyramid
48
Pyramid  

Igor

ok, here is the chart

This problem also occurs with other settings

Files:
smarsi.gif 25 kb
Igor Durkin
6386
Igor Durkin  

I have found bug in original code, has already corrected.

Pyramid
48
Pyramid  

ok

we try again

Pyramid
48
Pyramid  

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.

asmdev
71
asmdev  

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:
12
To add comments, please log in or register