adnanmasood455
@t_adnanmasood455
Ne tavsiye etmek istersiniz?
önceki makale
پیام های تریدر
filtre
sinyal türü

//version=5 strategy("استراتژی تقاطع EMA XAUSD با حد ضرر/سود 1%", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=100) // تنظیمات EMA fastLength = 9 slowLength = 21 // EMAs fastEMA = ta.ema(close, fastLength) slowEMA = ta.ema(close, slowLength) // رسم EMAs plot(fastEMA, title="EMA سریع", color=color.orange) plot(slowEMA, title="EMA کند", color=color.blue) // منطق تقاطع longCondition = ta.crossover(fastEMA, slowEMA) shortCondition = ta.crossunder(fastEMA, slowEMA) // حد ضرر و سود 1% longSL = close * 0.99 longTP = close * 1.01 shortSL = close * 1.01 shortTP = close * 0.99 // اجرای خرید if (longCondition) strategy.entry("خرید", strategy.long) strategy.exit("خروج خرید", from_entry="خرید", stop=longSL, limit=longTP) // اجرای فروش if (shortCondition) strategy.entry("فروش", strategy.short) strategy.exit("خروج فروش", from_entry="فروش", stop=shortSL, limit=shortTP)

//version=5 strategy("استراتژی تقاطع EMA XAUSD با حد ضرر/سود 1%", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=100) // تنظیمات EMA fastLength = 9 slowLength = 21 // EMAها fastEMA = ta.ema(close, fastLength) slowEMA = ta.ema(close, slowLength) // رسم EMAها plot(fastEMA, title="EMA سریع", color=color.orange) plot(slowEMA, title="EMA کند", color=color.blue) // منطق تقاطع longCondition = ta.crossover(fastEMA, slowEMA) shortCondition = ta.crossunder(fastEMA, slowEMA) // حد ضرر و سود 1% longSL = close * 0.99 longTP = close * 1.01 shortSL = close * 1.01 shortTP = close * 0.99 // اجرای موقعیت خرید (Long) if (longCondition) strategy.entry("Long", strategy.long) strategy.exit("خروج Long", from_entry="Long", stop=longSL, limit=longTP) // اجرای موقعیت فروش (Short) if (shortCondition) strategy.entry("Short", strategy.short) strategy.exit("خروج Short", from_entry="Short", stop=shortSL, limit=shortTP)
Sorumluluk Reddi
Sahmeto'nun web sitesinde ve resmi iletişim kanallarında yer alan herhangi bir içerik ve materyal, kişisel görüşlerin ve analizlerin bir derlemesidir ve bağlayıcı değildir. Borsa ve kripto para piyasasına alım, satım, giriş veya çıkış için herhangi bir tavsiye oluşturmazlar. Ayrıca, web sitesinde ve kanallarda yer alan tüm haberler ve analizler, yalnızca resmi ve gayri resmi yerli ve yabancı kaynaklardan yeniden yayınlanan bilgilerdir ve söz konusu içeriğin kullanıcılarının materyallerin orijinalliğini ve doğruluğunu takip etmekten ve sağlamaktan sorumlu olduğu açıktır. Bu nedenle, sorumluluk reddedilirken, sermaye piyasası ve kripto para piyasasındaki herhangi bir karar verme, eylem ve olası kar ve zarar sorumluluğunun yatırımcıya ait olduğu beyan edilir.