
यह एक ट्रेडिंग रणनीति है जो निष्पक्ष मूल्य गैप (FVG) पर आधारित है, जिसमें गतिशील जोखिम प्रबंधन और एक निश्चित रिटर्न लक्ष्य शामिल है। यह रणनीति 15 मिनट के समय-चक्र पर चलती है, बाजार में मूल्य गैप की पहचान करके संभावित ट्रेडिंग अवसरों को पकड़ने के लिए। रीट्रेसिंग डेटा के अनुसार, नवंबर 2023 से अगस्त 2024 के बीच, इस रणनीति ने कुल 153 ट्रेडों को पूरा करने के लिए 284.40% की शुद्ध रिटर्न दर हासिल की, जिसमें 71.24% की लाभप्रदता और 2.422% का लाभकारी कारक था।
रणनीति का मुख्य उद्देश्य लगातार तीन K-लाइनों के बीच मूल्य संबंधों की निगरानी करके उचित मूल्य के अंतराल की पहचान करना है।
रणनीति ने निष्पक्ष मूल्य अंतर सिद्धांत और वैज्ञानिक जोखिम प्रबंधन विधियों के संयोजन के माध्यम से अच्छा व्यापार प्रभाव दिखाया है। रणनीति की उच्च लाभप्रदता और स्थिर लाभकारी कारक ने इसे वास्तविक युद्ध मूल्य के रूप में दर्शाया है। अनुशंसित अनुकूलन दिशा के माध्यम से, रणनीति को और बढ़ाने के लिए जगह है। व्यापारियों को वास्तविक उपयोग से पहले पर्याप्त पैरामीटर अनुकूलन और पुनः परीक्षण करने की सलाह दी जाती है।
/*backtest
start: 2019-12-23 08:00:00
end: 2024-11-28 00:00:00
period: 1d
basePeriod: 1d
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("Fair Value Gap Strategy with % SL and Fixed TP", overlay=true, initial_capital=500, default_qty_type=strategy.fixed, default_qty_value=1)
// Parameters
fvgThreshold = input.float(0.5, "FVG Threshold (%)", minval=0.1, step=0.1)
// Fixed take profit in pips
takeProfitPips = 50
// Function to convert pips to price
pipsToPriceChange(pips) =>
syminfo.mintick * pips * 10
// Function to detect Fair Value Gap
detectFVG(dir) =>
gap = 0.0
if dir > 0 // Bullish FVG
gap := low[2] - high[1]
else // Bearish FVG
gap := low[1] - high[2]
math.abs(gap) > (close * fvgThreshold / 100)
// Detect FVGs
bullishFVG = detectFVG(1)
bearishFVG = detectFVG(-1)
// Entry conditions
longCondition = bullishFVG
shortCondition = bearishFVG
// Calculate take profit level
longTakeProfit = strategy.position_avg_price + pipsToPriceChange(takeProfitPips)
shortTakeProfit = strategy.position_avg_price - pipsToPriceChange(takeProfitPips)
// Calculate stop loss amount (5% of capital)
stopLossAmount = strategy.equity * 0.01
// Execute trades
if (longCondition)
strategy.entry("Long", strategy.long)
if (shortCondition)
strategy.entry("Short", strategy.short)
// Set exit conditions
if (strategy.position_size > 0)
strategy.exit("Long TP", "Long", limit=longTakeProfit)
strategy.close("Long SL", when=strategy.openprofit < -stopLossAmount)
else if (strategy.position_size < 0)
strategy.exit("Short TP", "Short", limit=shortTakeProfit)
strategy.close("Short SL", when=strategy.openprofit < -stopLossAmount)
// Plot signals
plotshape(longCondition, "Buy Signal", location = location.belowbar, color = color.green, style = shape.triangleup, size = size.small)
plotshape(shortCondition, "Sell Signal", location = location.abovebar, color = color.red, style = shape.triangledown, size = size.small)