GUAN CHONG BHD
Formazione
Aggiornato

SIRI PINE SCRIPT - Breakout bar dan garisan melintang

216
Menggunakan fungsi plot() untuk kita plotkan garisan melintang selepas terjadinya breakout untuk sekian bar.

Semoga terhibur.
Nota
// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org/MPL/2.0/
// © BURSATRENDBANDCHART

//version=4
study("Top Line", overlay=true)

high10 = close > highest(high,10)[1]

topgreenbar = valuewhen(high10, high, 0)

plot(topgreenbar, title="Green Bar Top Line", color=topgreenbar != topgreenbar[1] ? na : color.green)

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.