OPEN-SOURCE SCRIPT

Highlight > 0.5% Moves

154
// ------ 1 ------ //

// threshold = input(0.3, title = "threshold%")

// //threshold = 0.3
// pctChange = ((close - open) / open) * 100

// //Define the condition (More than 0.5%)
// isBigMove = pctChange > threshold


// bgcolor(isBigMove ? color.new(color.green, 90) : na)
// barcolor(isBigMove ? color.new(color.green, 60) : na)
// plotshape(isBigMove, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small)

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.