Renko percent

61
//version=5
indicator("Renko Percentage Change", overlay=true)

// Get the Renko brick size
brick_size = request.security(syminfo.ticker, "1D", high - low)

// Calculate percentage change
perc_change = (brick_size / close) * 100

// Plot the percentage change as a label
label.new(bar_index, high, text=str.tostring(perc_change, "#.##") + "%", color=color.green, textcolor=color.white, size=size.small)

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน