Sorry to reopen this thread again, as soon as we comment on this I will close it as resolved.
I want to see the variations within 5 minute candles (And understand how to change them to 1 minute for example), but I can’t do it with the screener alone. That’s why I made this indicator to try to implement it but it doesn’t work for me either:
Once I have that indicator, I use the percentage value in the screener where I try to get values above the desired percentage, in this case 3%, in the screener, but it never works well:
The time frame asks to select a time (I don’t understand this very well since I only want it to indicate that % in the time defined in the program, but even if I put 5 minutes the same as the indicator, it doesn’t work either).
If I select, for example, 5 minutes, and look for values above 3%, I am not able to find them, I attach images.
How do I create a screener that looks for the difference in the last open and closed candle and where its % value between the max and the min is the value that I determine, for example 3(3%)?
Perdón por reabrir nuevamente este hilo, en cuanto comentemos esto lo cierro por resuelto.
Quiero ver las variaciones dentro de velas de 5 minutos (Y entender como cambiarlas a 1 minuto por ejemplo), pero no puedo hacerlo solo con el screener. Por eso hice este indicador para intentar implementarlo pero tampoco me funciona:
precioa = High
preciob = Low
porcentaje = (( precioa – preciob )) / preciob * 100
Return porcentaje
Una vez que tengo ese indicador, utilizo el valor de porcentaje en el screener donde intento sacar valores por encima del porcentaje deseado, en este caso 3%, en el screener, pero nunca me funciona bien:
indicator1 = CALL “PorcentajeDeVariacion”
c1 = (indicator1 >= 3)
SCREENER[c1]
El time frame pide seleccionar un tiempo (esto no lo entiendo muy bien ya que solo quiero que indique ese % en el tiempo definido en el programa, pero aunque ponga 5 minutos igual que el indicador, tampoco me funciona).
Si selecciono por ejemplo 5 minutos, y busco valores por encima del 3%, no soy capaz de encontrarlos, adjunto imágenes.
¿Cómo puedo crear un filtro que busque la diferencia entre la última vela abierta y cerrada y donde su valor porcentual entre el máximo y el mínimo sea el valor que yo determino, por ejemplo 3(3%)?