// تحديد اليوم day_string = str.tostring(dayofmonth, "#00")
// تحديد الموقع var ylocation = yloc.belowbar if posInput == "أعلى" ylocation := yloc.abovebar else if posInput == "داخل" ylocation := yloc.price
// تحديد نقطة Y للنص y_position = switch posInput "أسفل" => low - (offsetInput * syminfo.mintick) "أعلى" => high + (offsetInput * syminfo.mintick) => close
// رسم النص label.new( bar_index, y_position, day_string, yloc=ylocation, color=color.new(colorInput, 100), style=label.style_none, textcolor=colorInput, size=size.small )
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.