Buenos días,estoy intentando hacer una adaptación de este indicador aparecido en la plataforma Tradinview :https://es.tradingview.com/script/FnFOxVIY-Range-Identifier-LazyBear/
Agradecería a alguien que me pueda verificar si el código es correcto o necesita alguna modificación.
REM IDENTIFICADOR DE RANGO
//basado en el indicador range identifier de LazyBear para la plataforma Tradingview
//adaptación para Prorealtime v10.3
//en cuadro de variables nz = tipo boleano
if barindex>1 then
up=close<up[nz] and close>down[1]
if up[nz] then
up=up[1]
else
up=high
endif
if up=up[nz] then
u1=up
endif
down=close<up[nz] and close>down[1]
if down[nz] then
down=down[1]
else
down=low
endif
if down=down[nz] then
l1=down
endif
endif
return u1 STYLE(point,3), l1 STYLE(point,3)
Bonjour,
j’arrive un peu tard, mais je me suis amusé à le rendre plus fonctionnel
Hola, llego un poco tarde, pero me divertí haciéndolo más funcional.
J’ai mis à jour avec + de commentaires