
یہ حکمت عملی ایک نسبتا strong مضبوط اشاریہ ((RSI) پر مبنی ایک انکولی ٹریڈنگ سسٹم ہے جو RSI اشارے کے اوور بیئر اور اوور سیل علاقوں کی نگرانی کرکے مارکیٹ کی حرکیات میں تبدیلیوں کو پکڑتا ہے۔ اس نظام میں ایک ذہین پوزیشن مینجمنٹ میکانزم شامل ہے جس میں کثیر سطحی اسٹاپ اسٹاپ نقصان کنٹرول اور خود کار طریقے سے پوزیشن کی صفائی کی خصوصیت شامل ہے جس کا مقصد مستحکم خطرہ / منافع کا تناسب حاصل کرنا ہے۔
اس حکمت عملی کا مرکز RSI اشارے پر مبنی اوورلوڈ اوور سیل سگنل ہے ، جس میں متعدد تجارتی شرائط شامل ہیں:
اس حکمت عملی میں آر ایس آئی اشارے کے ذریعہ مارکیٹ کی حرکیات میں تبدیلیوں کو پکڑنے کے ساتھ ساتھ ایک مکمل رسک مینجمنٹ سسٹم کے ساتھ مل کر ایک مکمل طور پر خودکار تجارتی نظام حاصل کیا گیا ہے۔ اگرچہ اس میں کچھ حدود موجود ہیں ، لیکن تجویز کردہ اصلاح کی سمت میں بہتری کے بعد ، اس سے زیادہ مستحکم تجارتی کارکردگی حاصل کرنے کی امید ہے۔ اس حکمت عملی کا بنیادی فائدہ نظام کی سالمیت اور آٹومیشن کی سطح پر ہے ، جو بنیادی فریم ورک کے طور پر مزید ترقی اور اصلاح کے لئے موزوں ہے۔
/*backtest
start: 2024-11-04 00:00:00
end: 2024-11-11 00:00:00
period: 10m
basePeriod: 10m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("Harmony Signal Flow By Arun", overlay=true)
// RSI settings
rsiLength = 14
rsiSource = close
rsiValue = ta.rsi(rsiSource, rsiLength)
// Define RSI levels
buyLevel = 30
sellLevel = 70
// Buy signal: RSI crosses above 30
buyCondition = ta.crossover(rsiValue, buyLevel)
// Sell signal: RSI crosses below 70
sellCondition = ta.crossunder(rsiValue, sellLevel)
// Ensure only one order at a time
if (strategy.position_size == 0) // No open positions
if (buyCondition)
strategy.entry("Buy", strategy.long)
else if (sellCondition)
strategy.entry("Sell", strategy.short)
// Stop-loss and target conditions
var float stopLossBuy = na
var float targetBuy = na
var float stopLossSell = na
var float targetSell = na
if (strategy.position_size > 0) // If there's an open buy position
stopLossBuy := strategy.position_avg_price - 100 // Set stop-loss for buy
targetBuy := strategy.position_avg_price + 150 // Set target for buy
if (close <= stopLossBuy)
strategy.close("Buy", comment="Stoploss Hit")
else if (close >= targetBuy)
strategy.close("Buy", comment="Target Hit")
if (strategy.position_size < 0) // If there's an open sell position
stopLossSell := strategy.position_avg_price + 100 // Set stop-loss for sell
targetSell := strategy.position_avg_price - 150 // Set target for sell
if (close >= stopLossSell)
strategy.close("Sell", comment="Stoploss Hit")
else if (close <= targetSell)
strategy.close("Sell", comment="Target Hit")
// Close all positions by 3:25 PM
if (hour(timenow) == 15 and minute(timenow) == 25)
strategy.close_all(comment="Close all positions at 3:25 PM")
// Plot buy/sell signals on the chart
plotshape(buyCondition, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(sellCondition, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// Plot RSI and levels
hline(buyLevel, "Buy Level", color=color.green)
hline(sellLevel, "Sell Level", color=color.red)
plot(rsiValue, "RSI", color=color.blue)