ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ
// © BURSATRENDBANDCHART
//@version=4
study("Top Line", overlay=true)
high10 = close > highest(high,10)
topgreenbar = valuewhen(high10, high, 0)
plot(topgreenbar, title="Green Bar Top Line", color=topgreenbar != topgreenbar ? na : color.green)