RSI SOBREVENTA + CPM
Forums › ProRealTime foro Español › Soporte ProScreener › RSI SOBREVENTA + CPM
- This topic has 4 replies, 4 voices, and was last updated 1 year ago by
jgrau.
Tagged: Alfayate, cpm, Javier, Javier Alfayate
-
-
12/16/2020 at 9:35 PM #154054
Hola a todos,
Estoy intentando crear un código screener con RSI en zona de sobreventa, con divergencia alcista y CPM alto. el código no esta muy bien. lo he copiaod y modificado de varios que tenia. A ver si alguien que sepa bien de programación me echa una mano. Gracias por adelantado.
1234567891011Filtro = miRSI < 30myCPM = CALL “CPM”[52]myCPM5=(myCPM+myCPM[1]+myCPM[2]+myCPM[3]+myCPM[4])/5capitalneed=WeightedAverage[50](volume)*WeightedAverage[50](close)c1=0c3=capitalneed>1000000000SCREENER [ c1>0 and c3 and myCPM5>20 and filtro ](myCPM5 AS “CPM”)12/17/2020 at 6:35 PM #154193¿Qué es el indicador CPM?
No puedo encontrarlo, ¿puedes publicar un enlace donde encontrarlo? o adjunte el file ITF si puede.
12/23/2020 at 12:03 PM #154970El CPM es un indicador creado por Javier Alfayate el cual mide el volumen de dinero negociado, tras buscar ejemplos manualmente me ha percatado que el 90% de las ocasiones que el RSI tiene una divergencia (alcista en este caso) y el CPM aumenta, el valor se podría añadir a la cartera. Si alguien completa el código seria estupendo.
CPM= VOLUME*CLOSE
VOLMAX=HIGHEST[V] (CPM)
VOL=((CPM*100/VOLMAX)*4/5)
VOLPMED=EXPONENTIALAVERAGE[V](VOL)
CPM2=(VOL-VOLPMED)
RETURN CPM2 AS “CPM”12/23/2020 at 6:04 PM #155013Es muy difícil encontrar valores con todos esos criterios……….He sacado las condiciones C1 y C3 porque es imposible encontrar valores con esas condiciones. Pero bueno si quieres se las puedes añadir. A ver qué tal te funciona……..Prueba USA el screener mejor.
12345678910111213141516171819202122232425262728293031323334//DIVERGENCIAS RSIN=40///N is the number of bars to look back for a divergence. Normal values are 20-40. Must be the same in both indicatorsmiRSI = RSI[14](close)IF (BarIndex > 10+1+N) THEN///divergencia alcistaIF (miRSI[1]<miRSI AND miRSI[1]<miRSI[2]) THENextremum22=miRSI[1]extremum11=lowest[N](miRSI)preciomin2=close[1]preciomin=lowest[N](close)IF(extremum22>extremum11 AND preciomin2<preciomin[1]) THENfor i2=1 to Nif miRSI[i2]=extremum11[1] thenDIVERG=1//BULLISHendifnextENDIFENDIFendiffiltro=rsi<30myCPM = CALL "CPM"[52]myCPM5=(myCPM+myCPM[1]+myCPM[2]+myCPM[3]+myCPM[4])/5SCREENER [ myCPM5>5 and filtro and DIVERG=1](myCPM5 AS "CPM")12/13/2023 at 11:50 PM #225240 -
AuthorPosts
Find exclusive trading pro-tools on 