OPEN-SOURCE SCRIPT

Highlight > 0.5% Moves

153
// ------ 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)

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.