OPEN-SOURCE SCRIPT
Position Trading Strategy - EMA + FVG (Conservative)

https://claude.ai/public/artifacts/312af614-31ae-422d-937b-019cb1957dbc
# 📊 Conservative Position Trading Strategy - EMA + FVG
## 🎯 **Strategy Overview**
This indicator combines **Exponential Moving Averages (EMA)** with **Fair Value Gap (FVG)** analysis to identify high-probability trading opportunities. Designed specifically for **funded account traders** who need consistent, conservative performance with strict risk management.
---
## 🔧 **Key Features**
### ✅ **Smart Entry Scoring System (1-10 Scale)**
- **EMA Alignment**: 3 points maximum
- **Price Position**: 2 points maximum
- **Momentum Confirmation**: 2 points maximum
- **Volume Validation**: 1 point maximum
- **FVG Proximity**: 2 points maximum
### ✅ **Advanced Signal Filtering**
- **Confluence Filter**: Ensures strong trend alignment
- **Volatility Filter**: Avoids choppy market conditions
- **Time Separation**: Prevents overtrading
- **Enhanced Exit Logic**: Color-coded position tracking
### ✅ **Risk Management Features**
- **Pyramiding Control**: Configurable position scaling
- **Conservative Position Sizing**: Based on account risk
- **Smart Exit Conditions**: Protects profits and limits losses
---
## ⚙️ **Settings Configuration**
### 🎯 **Entry Signal Strength**
| Setting | Conservative | Moderate | Aggressive |
|---------|-------------|----------|------------|
| **Minimum Entry Score** | 8-9 | 7-8 | 6-7 |
| **FVG Threshold** | 0.20% | 0.15% | 0.10% |
| **Use Confluence Filter** | ✅ ON | ✅ ON | ❌ OFF |
| **Volatility Filter** | ✅ ON | ✅ ON | ❌ OFF |
**📝 Recommendation**: Start with **Conservative** settings for funded accounts, then adjust based on performance.
### 🏗️ **Pyramiding Configuration**
| Account Type | Pyramid Levels | Risk Per Trade | Max Drawdown Target |
|-------------|----------------|----------------|---------------------|
| **Funded Account** | 1-2 | 0.25-0.5% | <3% |
| **Personal Account** | 2-3 | 0.5-1.0% | <5% |
| **High Risk** | 3-4 | 1.0-2.0% | <10% |
### 🔧 **Recommended Settings by Trading Style**
#### 🛡️ **Ultra Conservative (Funded Accounts)**
```
Minimum Entry Score: 8
Pyramid Levels: 1
Risk Per Trade: 0.25%
FVG Threshold: 0.20%
Confluence Filter: ON
Volatility Filter: ON
Min Candle Separation: 8
```
#### ⚖️ **Balanced Approach**
```
Minimum Entry Score: 7
Pyramid Levels: 2
Risk Per Trade: 0.5%
FVG Threshold: 0.15%
Confluence Filter: ON
Volatility Filter: ON
Min Candle Separation: 5
```
#### 🎯 **Moderate Aggressive**
```
Minimum Entry Score: 6
Pyramid Levels: 3
Risk Per Trade: 1.0%
FVG Threshold: 0.10%
Confluence Filter: OFF
Volatility Filter: OFF
Min Candle Separation: 3
```
---
## 📈 **How to Use**
### 1️⃣ **Setup Process**
1. Add the indicator to your chart
2. Configure settings based on your account type
3. Set up alerts for entry/exit signals
4. Monitor the info table for real-time metrics
### 2️⃣ **Signal Interpretation**
- **Green Labels (L + Score)**: Long entry signals
- **Red Labels (S + Score)**: Short entry signals
- **Green EXIT L**: Long position exits
- **Magenta EXIT S**: Short position exits
### 3️⃣ **Info Table Monitoring**
- **Long/Short Score**: Current entry strength
- **Trend**: Overall market direction
- **Position**: Current position status
- **Pyramids**: Active scaling levels
- **Volatility**: Market condition assessment
---
## 🎨 **Visual Elements**
### 📊 **Chart Display**
- **Blue Line**: EMA 21 (Short-term trend)
- **Orange Line**: EMA 55 (Medium-term trend)
- **Red Line**: EMA 233 (Long-term trend)
- **Background Colors**: Subtle trend indication
- **Entry/Exit Labels**: Clear signal identification
### 📋 **Information Table**
Real-time dashboard showing:
- Current signal strength
- Position status
- Risk metrics
- Market conditions
---
## ⚠️ **Important Notes**
### 🔴 **Risk Disclaimers**
- **Past performance does not guarantee future results**
- **Always use proper risk management**
- **Test thoroughly on demo accounts first**
- **Funded account rules vary by provider**
### 💡 **Best Practices**
- **Backtest extensively** before live trading
- **Start with conservative settings**
- **Monitor maximum drawdown closely**
- **Keep detailed trading records**
- **Follow your funded account rules**
### 📅 **Recommended Timeframes**
- **Primary Analysis**: 4H, 1D
- **Entry Timing**: 1H, 15M
- **Avoid**: <15M timeframes
---
## 🎓 **Strategy Logic**
### 📈 **Entry Conditions**
1. **EMA Alignment**: Trend direction confirmation
2. **Price Position**: Above/below key EMAs
3. **Momentum**: RSI and price change validation
4. **Volume**: Above-average trading activity
5. **FVG Proximity**: Near unfilled gaps
### 📉 **Exit Conditions**
- EMA crossovers (trend change)
- Price breaks key support/resistance
- Momentum reversal signals
- Position management rules
---
## 🏆 **Performance Optimization**
### 📊 **For Better Results**
- **Combine with market structure analysis**
- **Use multiple timeframe confirmation**
- **Respect overall market trends**
- **Avoid trading during major news events**
### 🔧 **Customization Tips**
- **Adjust EMA periods** for different markets
- **Modify FVG threshold** based on volatility
- **Experiment with scoring weights**
- **Fine-tune risk parameters**
---
## 💬 **Community & Support**
### 📝 **Feedback Welcome**
- Share your settings and results
- Report any bugs or issues
- Suggest improvements
- Post your backtesting results
### 🤝 **Collaboration**
This strategy is designed to evolve with community input. Your feedback helps make it better for everyone!
---
## 🎯 **Final Recommendations**
### ✅ **Do:**
- Start conservative and adjust gradually
- Backtest thoroughly across different market conditions
- Keep detailed performance records
- Follow strict risk management rules
### ❌ **Don't:**
- Use maximum aggressive settings immediately
- Ignore drawdown limits
- Trade without proper backtesting
- Violate your funded account rules
---
**📞 Remember**: This indicator is a tool to assist your trading decisions. Always combine it with proper risk management, market analysis, and your own trading plan. Success in trading comes from discipline, patience, and continuous learning.
**🎯 Good luck and trade safely!**
# 📊 Conservative Position Trading Strategy - EMA + FVG
## 🎯 **Strategy Overview**
This indicator combines **Exponential Moving Averages (EMA)** with **Fair Value Gap (FVG)** analysis to identify high-probability trading opportunities. Designed specifically for **funded account traders** who need consistent, conservative performance with strict risk management.
---
## 🔧 **Key Features**
### ✅ **Smart Entry Scoring System (1-10 Scale)**
- **EMA Alignment**: 3 points maximum
- **Price Position**: 2 points maximum
- **Momentum Confirmation**: 2 points maximum
- **Volume Validation**: 1 point maximum
- **FVG Proximity**: 2 points maximum
### ✅ **Advanced Signal Filtering**
- **Confluence Filter**: Ensures strong trend alignment
- **Volatility Filter**: Avoids choppy market conditions
- **Time Separation**: Prevents overtrading
- **Enhanced Exit Logic**: Color-coded position tracking
### ✅ **Risk Management Features**
- **Pyramiding Control**: Configurable position scaling
- **Conservative Position Sizing**: Based on account risk
- **Smart Exit Conditions**: Protects profits and limits losses
---
## ⚙️ **Settings Configuration**
### 🎯 **Entry Signal Strength**
| Setting | Conservative | Moderate | Aggressive |
|---------|-------------|----------|------------|
| **Minimum Entry Score** | 8-9 | 7-8 | 6-7 |
| **FVG Threshold** | 0.20% | 0.15% | 0.10% |
| **Use Confluence Filter** | ✅ ON | ✅ ON | ❌ OFF |
| **Volatility Filter** | ✅ ON | ✅ ON | ❌ OFF |
**📝 Recommendation**: Start with **Conservative** settings for funded accounts, then adjust based on performance.
### 🏗️ **Pyramiding Configuration**
| Account Type | Pyramid Levels | Risk Per Trade | Max Drawdown Target |
|-------------|----------------|----------------|---------------------|
| **Funded Account** | 1-2 | 0.25-0.5% | <3% |
| **Personal Account** | 2-3 | 0.5-1.0% | <5% |
| **High Risk** | 3-4 | 1.0-2.0% | <10% |
### 🔧 **Recommended Settings by Trading Style**
#### 🛡️ **Ultra Conservative (Funded Accounts)**
```
Minimum Entry Score: 8
Pyramid Levels: 1
Risk Per Trade: 0.25%
FVG Threshold: 0.20%
Confluence Filter: ON
Volatility Filter: ON
Min Candle Separation: 8
```
#### ⚖️ **Balanced Approach**
```
Minimum Entry Score: 7
Pyramid Levels: 2
Risk Per Trade: 0.5%
FVG Threshold: 0.15%
Confluence Filter: ON
Volatility Filter: ON
Min Candle Separation: 5
```
#### 🎯 **Moderate Aggressive**
```
Minimum Entry Score: 6
Pyramid Levels: 3
Risk Per Trade: 1.0%
FVG Threshold: 0.10%
Confluence Filter: OFF
Volatility Filter: OFF
Min Candle Separation: 3
```
---
## 📈 **How to Use**
### 1️⃣ **Setup Process**
1. Add the indicator to your chart
2. Configure settings based on your account type
3. Set up alerts for entry/exit signals
4. Monitor the info table for real-time metrics
### 2️⃣ **Signal Interpretation**
- **Green Labels (L + Score)**: Long entry signals
- **Red Labels (S + Score)**: Short entry signals
- **Green EXIT L**: Long position exits
- **Magenta EXIT S**: Short position exits
### 3️⃣ **Info Table Monitoring**
- **Long/Short Score**: Current entry strength
- **Trend**: Overall market direction
- **Position**: Current position status
- **Pyramids**: Active scaling levels
- **Volatility**: Market condition assessment
---
## 🎨 **Visual Elements**
### 📊 **Chart Display**
- **Blue Line**: EMA 21 (Short-term trend)
- **Orange Line**: EMA 55 (Medium-term trend)
- **Red Line**: EMA 233 (Long-term trend)
- **Background Colors**: Subtle trend indication
- **Entry/Exit Labels**: Clear signal identification
### 📋 **Information Table**
Real-time dashboard showing:
- Current signal strength
- Position status
- Risk metrics
- Market conditions
---
## ⚠️ **Important Notes**
### 🔴 **Risk Disclaimers**
- **Past performance does not guarantee future results**
- **Always use proper risk management**
- **Test thoroughly on demo accounts first**
- **Funded account rules vary by provider**
### 💡 **Best Practices**
- **Backtest extensively** before live trading
- **Start with conservative settings**
- **Monitor maximum drawdown closely**
- **Keep detailed trading records**
- **Follow your funded account rules**
### 📅 **Recommended Timeframes**
- **Primary Analysis**: 4H, 1D
- **Entry Timing**: 1H, 15M
- **Avoid**: <15M timeframes
---
## 🎓 **Strategy Logic**
### 📈 **Entry Conditions**
1. **EMA Alignment**: Trend direction confirmation
2. **Price Position**: Above/below key EMAs
3. **Momentum**: RSI and price change validation
4. **Volume**: Above-average trading activity
5. **FVG Proximity**: Near unfilled gaps
### 📉 **Exit Conditions**
- EMA crossovers (trend change)
- Price breaks key support/resistance
- Momentum reversal signals
- Position management rules
---
## 🏆 **Performance Optimization**
### 📊 **For Better Results**
- **Combine with market structure analysis**
- **Use multiple timeframe confirmation**
- **Respect overall market trends**
- **Avoid trading during major news events**
### 🔧 **Customization Tips**
- **Adjust EMA periods** for different markets
- **Modify FVG threshold** based on volatility
- **Experiment with scoring weights**
- **Fine-tune risk parameters**
---
## 💬 **Community & Support**
### 📝 **Feedback Welcome**
- Share your settings and results
- Report any bugs or issues
- Suggest improvements
- Post your backtesting results
### 🤝 **Collaboration**
This strategy is designed to evolve with community input. Your feedback helps make it better for everyone!
---
## 🎯 **Final Recommendations**
### ✅ **Do:**
- Start conservative and adjust gradually
- Backtest thoroughly across different market conditions
- Keep detailed performance records
- Follow strict risk management rules
### ❌ **Don't:**
- Use maximum aggressive settings immediately
- Ignore drawdown limits
- Trade without proper backtesting
- Violate your funded account rules
---
**📞 Remember**: This indicator is a tool to assist your trading decisions. Always combine it with proper risk management, market analysis, and your own trading plan. Success in trading comes from discipline, patience, and continuous learning.
**🎯 Good luck and trade safely!**
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。