اس حکمت عملی میں متعدد مختلف قسم کے تکنیکی اشارے کا استعمال کیا گیا ہے۔ اس حکمت عملی میں متعدد عوامل کے فوائد کو اکٹھا کرنے اور تجارتی فیصلوں کی درستگی کو بڑھانے کے لئے ایک جامع مقداری تجارتی حکمت عملی تشکیل دی گئی ہے۔
حکمت عملی:
123 الٹ اشارے کا حساب لگائیں تاکہ یہ معلوم کیا جاسکے کہ آیا قیمت میں تین دن کا الٹ موڑ آیا ہے یا نہیں۔
Elder Bearish Indicator کا حساب لگائیں کہ آیا قیمتوں میں زیادہ فروخت ہوئی ہے۔
جب دونوں بیک وقت خریدنے کا اشارہ دیتے ہیں تو کثیر آپریشن کریں۔ جب دونوں بیک وقت بیچنے کا اشارہ دیتے ہیں تو خالی آپریشن کریں۔
اشارے کے عوامل کی توثیق کے ذریعے ، کچھ شور تجارتی سگنل کو مؤثر طریقے سے فلٹر کیا جاسکتا ہے۔
مختلف اقسام کے اشارے کا مجموعہ مارکیٹ کی صورتحال کے بارے میں بہتر فیصلے کر سکتا ہے۔
اس حکمت عملی کے فوائد:
کثیر فیکٹر مجموعہ کی توثیق غلط ٹرانزیکشن کے امکانات کو کم کرتی ہے۔
پیچیدہ مارکیٹ کے حالات کی شناخت میں بہتری۔
مجموعی حکمت عملی کے پیرامیٹرز کو بہتر بنانا مشکل ہے ، اور اس میں کچھ فوائد ہیں۔
اس حکمت عملی کے خطرات:
کثیر اشارے کے مجموعے کو بہترین مماثلت حاصل کرنے کے لئے پیرامیٹرز کو بہتر بنانے کے لئے وقت کی ضرورت ہوتی ہے۔
مختلف اشارے کے درمیان سگنل متضاد ہو سکتا ہے.
مجموعی حکمت عملی کی مجموعی استحکام واحد اشارے کی حکمت عملی سے کم ہوسکتی ہے۔
خلاصہ یہ ہے کہ اس حکمت عملی میں متعدد عوامل کے فوائد کو اکٹھا کرکے تجارت کی جاتی ہے ، جس سے فیصلہ سازی کی درستگی میں کچھ حد تک اضافہ ہوتا ہے۔ تاہم ، مختلف اشارے کے مابین مماثلت کے بارے میں دھیان دینے کی ضرورت ہے ، سخت پیرامیٹرز کی اصلاح کے ذریعہ مستحکم اضافی منافع حاصل کرنے کے لئے۔
/*backtest
start: 2022-09-05 00:00:00
end: 2023-02-03 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=4
////////////////////////////////////////////////////////////
// Copyright by HPotter v1.0 27/05/2020
// This is combo strategies for get a cumulative signal.
//
// First strategy
// This System was created from the Book "How I Tripled My Money In The
// Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
// The strategy buys at market, if close price is higher than the previous close
// during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
// The strategy sells at market, if close price is lower than the previous close price
// during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
//
// Second strategy
// Developed by Dr Alexander Elder, the Elder-ray indicator measures buying
// and selling pressure in the market. The Elder-ray is often used as part
// of the Triple Screen trading system but may also be used on its own.
// Dr Elder uses a 13-day exponential moving average (EMA) to indicate the
// market consensus of value. Bull Power measures the ability of buyers to
// drive prices above the consensus of value. Bear Power reflects the ability
// of sellers to drive prices below the average consensus of value.
// Bull Power is calculated by subtracting the 13-day EMA from the day's High.
// Bear power subtracts the 13-day EMA from the day's Low.
// You can use in the xPrice any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect...
//
// WARNING:
// - For purpose educate only
// - This script to change bars colors.
////////////////////////////////////////////////////////////
Reversal123(Length, KSmoothing, DLength, Level) =>
vFast = sma(stoch(close, high, low, Length), KSmoothing)
vSlow = sma(vFast, DLength)
pos = 0.0
pos := iff(close[2] < close[1] and close > close[1] and vFast < vSlow and vFast > Level, 1,
iff(close[2] > close[1] and close < close[1] and vFast > vSlow and vFast < Level, -1, nz(pos[1], 0)))
pos
BP(Trigger,Length) =>
pos = 0
DayHigh = 0.0
xPrice = close
xMA = ema(xPrice,Length)
DayHigh := iff(dayofmonth != dayofmonth[1], high, max(high, nz(DayHigh[1])))
nRes = DayHigh - xMA
pos := iff(nRes > Trigger, 1,
iff(nRes < Trigger, -1, nz(pos[1], 0)))
pos
strategy(title="Combo Backtest 123 Reversal & Elder Ray (Bear Power) ", shorttitle="Combo", overlay = true)
Length = input(14, minval=1)
KSmoothing = input(1, minval=1)
DLength = input(3, minval=1)
Level = input(50, minval=1)
//-------------------------
LengthBP = input(13, minval=1)
Trigger = input(0)
reverse = input(false, title="Trade reverse")
posReversal123 = Reversal123(Length, KSmoothing, DLength, Level)
posBP = BP(Trigger,LengthBP)
pos = iff(posReversal123 == 1 and posBP == 1 , 1,
iff(posReversal123 == -1 and posBP == -1, -1, 0))
possig = iff(reverse and pos == 1, -1,
iff(reverse and pos == -1 , 1, pos))
if (possig == 1)
strategy.entry("Long", strategy.long)
if (possig == -1)
strategy.entry("Short", strategy.short)
if (possig == 0)
strategy.close_all()
barcolor(possig == -1 ? #b50404: possig == 1 ? #079605 : #0536b3 )