Skip to content

RSCMansfield2 ProRealTime indicator

This is the code of the RSCMansfield2 indicator for ProRealTime.
You can use it for your own screeners.

Updated every weekend.

REM Indicador realizado por Javier Alfayate
REM administrador de Aguila Roja Sistemas de
REM trading y autor de accionesdebolsa.com
REM si vas a utilizar este código, no lo difundas
REM sin autorización expresa de mi parte.

REM este indicador está diseñado para los foreros
REM y no es un código definitivo. Es necesaria la
REM actualización de ciertos valores para su
REM correcto funcionamiento.

CountR=0
i=51

R= Close[i]/260.749451
CountR=CountR+R
i=i-1

R= Close[i]/261.731537
CountR=CountR+R
i=i-1

R= Close[i]/264.056458
CountR=CountR+R
i=i-1

R= Close[i]/263.414856
CountR=CountR+R
i=i-1

R= Close[i]/269.890198
CountR=CountR+R
i=i-1

R= Close[i]/274.332092
CountR=CountR+R
i=i-1

R= Close[i]/276.789948
CountR=CountR+R
i=i-1

R= Close[i]/282.880249
CountR=CountR+R
i=i-1

R= Close[i]/271.893951
CountR=CountR+R
i=i-1

R= Close[i]/258.124054
CountR=CountR+R
i=i-1

R= Close[i]/269.584137
CountR=CountR+R
i=i-1

R= Close[i]/271.163513
CountR=CountR+R
i=i-1

R= Close[i]/265.606201
CountR=CountR+R
i=i-1

R= Close[i]/275.269775
CountR=CountR+R
i=i-1

R= Close[i]/270.660126
CountR=CountR+R
i=i-1

R= Close[i]/255.738739
CountR=CountR+R
i=i-1

R= Close[i]/260.793060
CountR=CountR+R
i=i-1

R= Close[i]/257.393829
CountR=CountR+R
i=i-1

R= Close[i]/262.775146
CountR=CountR+R
i=i-1

R= Close[i]/264.222076
CountR=CountR+R
i=i-1

R= Close[i]/264.172546
CountR=CountR+R
i=i-1

R= Close[i]/263.637360
CountR=CountR+R
i=i-1

R= Close[i]/270.406189
CountR=CountR+R
i=i-1

R= Close[i]/268.899811
CountR=CountR+R
i=i-1

R= Close[i]/269.712463
CountR=CountR+R
i=i-1

R= Close[i]/271.149475
CountR=CountR+R
i=i-1

R= Close[i]/275.698364
CountR=CountR+R
i=i-1

R= Close[i]/274.647858
CountR=CountR+R
i=i-1

R= Close[i]/273.501892
CountR=CountR+R
i=i-1

R= Close[i]/270.057495
CountR=CountR+R
i=i-1

R= Close[i]/274.178864
CountR=CountR+R
i=i-1

R= Close[i]/278.330048
CountR=CountR+R
i=i-1

R= Close[i]/278.419647
CountR=CountR+R
i=i-1

R= Close[i]/280.151825
CountR=CountR+R
i=i-1

R= Close[i]/282.321991
CountR=CountR+R
i=i-1

R= Close[i]/281.883972
CountR=CountR+R
i=i-1

R= Close[i]/283.775391
CountR=CountR+R
i=i-1

R= Close[i]/286.214386
CountR=CountR+R
i=i-1

R= Close[i]/289.001740
CountR=CountR+R
i=i-1

R= Close[i]/286.303955
CountR=CountR+R
i=i-1

R= Close[i]/289.569183
CountR=CountR+R
i=i-1

R= Close[i]/290.674164
CountR=CountR+R
i=i-1

R= Close[i]/290.720001
CountR=CountR+R
i=i-1

R= Close[i]/287.820007
CountR=CountR+R
i=i-1

R= Close[i]/275.950012
CountR=CountR+R
i=i-1

R= Close[i]/276.250000
CountR=CountR+R
i=i-1

R= Close[i]/265.329987
CountR=CountR+R
i=i-1

R= Close[i]/271.890015
CountR=CountR+R
i=i-1

R= Close[i]/277.760010
CountR=CountR+R
i=i-1

R= Close[i]/273.730011
CountR=CountR+R
i=i-1

R= Close[i]/269.220001
CountR=CountR+R
i=i-1

R= Close[i]/269.100006
CountR=CountR+R

BasePrice = CountR / 52
FR = ((R / BasePrice) – 1) * 10

CERO = 0
SENYAL = FR
RETURN CERO AS “CERO”, SENYAL AS “FR”