PROTECTED SOURCE SCRIPT
مؤشر الذهب المتقدم خاص رامى

//version=5
indicator("مؤشر الذهب المتقدم", overlay=true)
// إعدادات المدخلات
fastMA = input.int(9, title="المتوسط السريع")
slowMA = input.int(21, title="المتوسط البطيء")
rsiLength = input.int(14, title="مدة RSI")
oversold = input.int(30, title="مستوى ذروة البيع")
overbought = input.int(70, title="مستوى ذروة الشراء")
// المتوسطات المتحركة
maFast = ta.sma(close, fastMA)
maSlow = ta.sma(close, slowMA)
// مؤشر RSI
rsi = ta.rsi(close, rsiLength)
// تحديد الإشارات
buySignal = ta.crossover(maFast, maSlow) and rsi < overbought
sellSignal = ta.crossunder(maFast, maSlow) and rsi > oversold
// رسم المتوسطات
plot(maFast, color=color.blue, linewidth=2)
plot(maSlow, color=color.red, linewidth=2)
// تمييز الإشارات على الرسم البياني
plotshape(buySignal, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="إشارة شراء")
plotshape(sellSignal, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="إشارة بيع")
// خلفية ملونة بناءً على الاتجاه
bgcolor(maFast > maSlow ? color.new(color.green, 90) : color.new(color.red, 90))
// عرض RSI في نافذة منفصلة
plot(rsi, "RSI", color=color.purple, linewidth=2, trackprice=true)
hline(oversold, "مستوى ذروة البيع", color=color.red, linestyle=hline.style_dashed)
hline(overbought, "مستوى ذروة الشراء", color=color.green, linestyle=hline.style_dashed)
indicator("مؤشر الذهب المتقدم", overlay=true)
// إعدادات المدخلات
fastMA = input.int(9, title="المتوسط السريع")
slowMA = input.int(21, title="المتوسط البطيء")
rsiLength = input.int(14, title="مدة RSI")
oversold = input.int(30, title="مستوى ذروة البيع")
overbought = input.int(70, title="مستوى ذروة الشراء")
// المتوسطات المتحركة
maFast = ta.sma(close, fastMA)
maSlow = ta.sma(close, slowMA)
// مؤشر RSI
rsi = ta.rsi(close, rsiLength)
// تحديد الإشارات
buySignal = ta.crossover(maFast, maSlow) and rsi < overbought
sellSignal = ta.crossunder(maFast, maSlow) and rsi > oversold
// رسم المتوسطات
plot(maFast, color=color.blue, linewidth=2)
plot(maSlow, color=color.red, linewidth=2)
// تمييز الإشارات على الرسم البياني
plotshape(buySignal, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="إشارة شراء")
plotshape(sellSignal, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="إشارة بيع")
// خلفية ملونة بناءً على الاتجاه
bgcolor(maFast > maSlow ? color.new(color.green, 90) : color.new(color.red, 90))
// عرض RSI في نافذة منفصلة
plot(rsi, "RSI", color=color.purple, linewidth=2, trackprice=true)
hline(oversold, "مستوى ذروة البيع", color=color.red, linestyle=hline.style_dashed)
hline(overbought, "مستوى ذروة الشراء", color=color.green, linestyle=hline.style_dashed)
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。