OPEN-SOURCE SCRIPT

AdelVolume Clone

91
//version=6
indicator("Faisalvolume Clone", overlay=false)

// إعدادات
maLength = input.int(20, minval=1, title="Volume MA Length")
highVolumeMultiplier = input.float(1.5, title="High Volume Multiplier")

// بيانات
vol = volume
volMA = ta.sma(vol, maLength)

// شروط
isHighVol = vol > volMA * highVolumeMultiplier
isAboveMA = vol > volMA

// لون العمود
barColor = isHighVol ? color.red : isAboveMA ? color.lime : color.gray

// رسم المؤشر
plot(vol, title="Volume", style=plot.style_columns, color=barColor)
plot(volMA, title="Volume MA", color=color.orange, linewidth=2)

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.