
اس حکمت عملی کے ذریعہ ٹریڈنگ سگنل تیار کیا جاتا ہے جس میں برن بینڈ اشارے اور نسبتا strong مضبوط اشاریہ آر ایس آئی اشارے کا استعمال کیا جاتا ہے۔ یہ نگرانی کرتا ہے کہ آیا تینوں K لائنوں کی بند قیمتیں بیک وقت ٹریک یا ٹریک سے ٹکرا رہی ہیں اور اس بات کی تصدیق کے لئے ٹریڈنگ سگنل کے لئے گیئر اشارے اور آر ایس آئی اشارے کے ساتھ مل کر استعمال کیا جاتا ہے۔
یہ حکمت عملی بنیادی طور پر مندرجہ ذیل اصولوں پر مبنی ہے۔
اس حکمت عملی کے اہم فوائد یہ ہیں:
اس حکمت عملی کے کچھ خطرات بھی ہیں:
خطرے کو کنٹرول کرنے کے اقدامات میں شامل ہیں:
اس حکمت عملی کو مندرجہ ذیل پہلوؤں سے بہتر بنایا جاسکتا ہے:
اس حکمت عملی میں متعدد اشارے استعمال کیے گئے ہیں تاکہ فیصلہ کیا جاسکے۔ سگنل کی وشوسنییتا کو یقینی بنانے کے ساتھ ، کچھ مسائل بھی موجود ہیں۔ پیرامیٹرز کی اصلاح ، سگنل کے ذرائع کو افزودہ کرنا ، فیصلے کے منطق کو ایڈجسٹ کرنا اور نقصان کو روکنا جیسے ذرائع سے حکمت عملی کی استحکام اور منافع کو مزید بڑھاوا دیا جاسکتا ہے۔ یہ ایک اچھی سوچ پیش کرتا ہے کہ تجارت کو مقدار میں بڑھایا جاسکے۔
/*backtest
start: 2024-01-01 00:00:00
end: 2024-01-31 23:59:59
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Noway0utstorm
//@version=5
strategy(title='RSI + BB over 3 bar+--- vortex0.71.3 ', shorttitle='NoWaytruongphuthinh', format=format.price, precision=4,overlay = true)
length = input(20, title="Length")
mult = input(2.0, title="Multiplier")
source = close
basis = ta.sma(source, length)
dev = mult * ta.stdev(source, length)
upperBand = basis + dev
lowerBand = basis - dev
isClosedBar = ta.change(time("15"))
var bool closeAboveUpperBand = false
var bool closeBelowLowerBand = false
// Vortex Indicator Settings
period_ = input.int(14, title='Period', minval=2)
VMP = math.sum(math.abs(high - low[1]), period_)
VMM = math.sum(math.abs(low - high[1]), period_)
STR = math.sum(ta.atr(1), period_)
VIP = VMP / STR
VIM = VMM / STR
//
lengthrsi = input(14, title="RSI Length")
overboughtLevel = input(70, title="Overbought Level")
oversoldLevel = input(30, title="Oversold Level")
sourcersi = close
rsiValue = ta.rsi(sourcersi, lengthrsi)
shouldShort = rsiValue > overboughtLevel
shouldLong = rsiValue < oversoldLevel
if bool(isClosedBar[1]) and bool(isClosedBar[2]) and bool(isClosedBar[3])
if close[1] > upperBand[1] and close[2] > upperBand[2] and close[3] > upperBand[3] and VIP > 1.25 and VIM < 0.7 and rsiValue > overboughtLevel
strategy.entry("Short", strategy.short)
closeAboveUpperBand := false // Reset the condition when entering a new Short position
if close[1] < lowerBand[1] and close[2] < lowerBand[2] and close[3] < lowerBand[3] and VIP < 0.7 and VIM > 1.25 and rsiValue < oversoldLevel
strategy.entry("Long", strategy.long)
closeBelowLowerBand := false // Reset the condition when entering a new Long position
if strategy.position_size > 0 // Check if there is an open Long position
closeAboveUpperBand := close > upperBand // Update the condition based on close price
if closeAboveUpperBand
strategy.close("Long",disable_alert=true) // Close the Long position if close price is above upper band
if strategy.position_size < 0 // Check if there is an open Short position
closeBelowLowerBand := close < lowerBand // Update the condition based on close price
if closeBelowLowerBand
strategy.close("Short",disable_alert=true) // Close the Short position if close price is below lower band
// Plots
plot(basis, color=color.orange, title="Basis")
p1 = plot(upperBand, color=color.blue, title="Upper Band")
p2 = plot(lowerBand, color=color.blue, title="Lower Band")
fill(p1, p2, title = "Background", color=color.rgb(33, 150, 243, 95))