Ayuda divergencias

Todo sobre el trading en los mercados financieros: funcionamiento, dudas, noticias, etc.
Responder
smassax
Mensajes: 217
Registrado: 04 Oct 2004 15:40

Ayuda divergencias

Mensaje por smassax »

buenas,

en la paginas de www.libanesweb.com hay este indicador que muestra las divergencias entre precio y rsi

Correl(((Sum(Cum(1)*(RSI(14)),100)) -(Sum(Cum(1),100)*Sum((RSI(14)),100)/100))/ ((Sum(Power(Cum(1),2),100))-(Power(Sum(Cum(1),100),2)/ 100)),((Sum(Cum(1)*C,100))- (Sum(Cum(1),100)*Sum(C,100)/100))/ ((Sum(Power(Cum(1),2),100))- (Power(Sum(Cum(1),100),2)/100)),12,0)

esta en lenguage metastock.

No tengo claro el uso de las funciones Cum y Correl, lo demás es solo poner bien los parentesis.

Alguien me podria explicar estas 2 funciones para poder traducir este indicador al Visual Chart??

gracias y saludos
strada75
Mensajes: 12
Registrado: 30 Jun 2006 16:50

Mensaje por strada75 »

Te pego una ayuda rapida del programa.
Cumulate

SYNTAX cum( DATA ARRAY )

FUNCTION Calculates a cumulative sum of the DATA ARRAY from the first period in the chart.

EXAMPLE The formula "cum( 1 )" calculates an indicator that rises one point for each day since the beginning of the chart; the formula "cum( C )" calculates the cumulative total of all closing prices from the beginning of the chart.





Correlation Analysis

SYNTAX correl( INDEPENDENT, DEPENDENT,PERIODS, SHIFT)

FUNCTION Calculates the predefined Correlation indicator. Compares the correlation of DEPENDENT to INDEPENDENT over PERIODS time periods, after shifting DEPENDENT to the right SHIFT-periods.

EXAMPLE The formula "correl( macd(), CLOSE, 5, 10 )" compares the MACD indicator to the closing price 10-periods in the future, after statistically averaging each data array over the preceding 5-periods.


Un saludo.
Responder

Volver a “Trading en General”