TradingView
SeaSide420
16 de Oct. de 2018 1:03

Hull cross and ATR 

Ethereum / DollarBitfinex

Descripción

open = Hull crossover and ATR line with price crossover
close = Hull crossover

Comentarios
pippopippo69
Hi, it seems to me that using ohlc4 it repaints..
SeaSide420
@pippopippo69, I did not use the previous candles OHLC4, (ohlc4[1])
so you are probably right. Copy the script, and where ever you see a "p" then change it to a "p[1]"
that should reduce repainting
SeaSide420
@SeaSide420, ah dammit, the comment thing wont allow the code,
get the p and put 'square bracket' with 1 inside them after p
p [ 1 ]
SeaSide420
@SeaSide420, p(1) like that but with square brackets
SeaSide420
@SeaSide420, by the way, just because on here at Tradingview pinescript backtester it has repaint, does not mean it doesnt work as a bot, which paints nothing, only opens and close orders. Soon I will have made a bunch of API bots for use on crypto exchanges. Already have a bunch for MT4
SeaSide420
@SeaSide420, where there is already a p(1) , make it a p(2) use square brackets not normal brackets [ ( )
SeaSide420
@SeaSide420, dont do it to line 7 though ;)
pippopippo69
@SeaSide420, fine. Tks
Más