Spécifications
Tenho um código em pinescript que utilizo no tradingview e queria criar um robô baseado nesse código no gráfico de renko. Onde eu possa definir o tamanho do bloco de renko em cada ativo. Somente entrada em long. também tenho interesse nesse código para profit também.
length = input(title="Length", type=input.integer, minval=1, maxval=1000, defval=5)
upBound = highest(high, length)
downBound = lowest(low, length)
if (not na(close[length]))
strategy.entry("long", strategy.long, stop=upBound + syminfo.mintick, comment="long")
strategy.entry("short", strategy.short, stop=downBound - syminfo.mintick, comment="short")
Répondu
1
Évaluation
Projets
17
59%
Arbitrage
2
0%
/
100%
En retard
2
12%
Gratuit
Informations sur le projet
Budget
30 - 50 USD