TradingView
ASIFKERIM
25. Nov. 2020 14:05
Asif Hlc3 Trade
COINBASE:BTCUSD
5
Bitcoin / United States Dollar
Coinbase
Beschreibung
⋅
25. Nov. 2020 14:05
A very simple script to identity trend of various time frames based on hlc 3 values
Try and improve ,Thank you very much & if you like the script hit the Cheer button..
Trend Analysis
HLC
hlc3
Kommentare
surapol4345
⋅
11. Okt. 2021 11:11
I see difference between version 2 & 4 . Please help.
//
@version
=4
study("Asif Hlc3 Trade", shorttitle="Asif Hlc 3", overlay = true)
ha_t = heikinashi(syminfo.tickerid)
OneDay=security(ha_t, 'D', hlc3[0])
plot(OneDay, color = #6633FF, style = plot.style_line, linewidth = 3, title="One Day")
//
@version
=2
study("Asif Hlc3 Trade", shorttitle="Asif Hlc 3", overlay = true)
ha_t = heikinashi(tickerid)
OneDay=security(ha_t, 'D', hlc3[0])
plot(OneDay, color = #6633FF, style = line, linewidth = 3, title="One Day")
They behave differently. It happen when I tried to upgrade a pine script from v2 to v4.
Thanks
surapol4345
⋅
11. Okt. 2021 12:48
Please note that using v2 with others gives much better result than v4.
ASIFKERIM
⋅
15. Okt. 2021 08:56
@surapol4345
, use this
//
@version
=4
study("Asif Hlc3 Trade", shorttitle="Asif Hlc 3", overlay = true)//
FourHr=security(syminfo.tickerid, '240', hl2)
OneDay=security(syminfo.tickerid, 'D', hl2)
plot(FourHr, color = #BF1111FF, style = plot.style_line, linewidth = 2, title="Four Hour")
plot(OneDay, color = #6633FF, style = plot.style_line, linewidth = 3, title="One Day")
rafaelfernandesadvogado
⋅
3. Febr. 2021 18:52
Very cool and clean! I like it! Good job!
Mehr
//@version=4
study("Asif Hlc3 Trade", shorttitle="Asif Hlc 3", overlay = true)
ha_t = heikinashi(syminfo.tickerid)
OneDay=security(ha_t, 'D', hlc3[0])
plot(OneDay, color = #6633FF, style = plot.style_line, linewidth = 3, title="One Day")
//@version=2
study("Asif Hlc3 Trade", shorttitle="Asif Hlc 3", overlay = true)
ha_t = heikinashi(tickerid)
OneDay=security(ha_t, 'D', hlc3[0])
plot(OneDay, color = #6633FF, style = line, linewidth = 3, title="One Day")
They behave differently. It happen when I tried to upgrade a pine script from v2 to v4.
Thanks