EMA Engulfing Pine Strategy
Budget / Salary₹1,500–12,500
TypeFreelance project
LocationRemote
Posted2 hours ago
I need a clean, fully-commented Pine Script strategy that I can drop straight into TradingView, press “Add to chart,” and start back-testing right away. The logic is simple but I want it coded robustly:
• Entries – go long on a bullish engulfing candle that is above the 50-EMA, go short on a bearish engulfing candle that is below the 50-EMA, and reverse whenever price itself crosses the 50-EMA.
• Exits – close the position at a fixed profit target or a fixed stop loss (both must be adjustable inputs).
The script has to:
1. Plot the 50 EMA visibly on the chart.
2. Mark each entry and exit with clear on-chart arrows or shapes, coloured differently for long and short.
3. Expose user-friendly inputs for the stop size and profit target in ticks, points, or percent.
4. Run as a true strategy (not just a study) so I can see complete back-test metrics in TradingView.
5. Follow Pine v5 standards and keep the code readable—no recycled snippets that break on updates.
Deliverable: a single .pine file, ready to import, that compiles without warnings. I’ll accept the work once the entries and exits fire exactly as described and the parameters are adjustable from the settings panel.
• Entries – go long on a bullish engulfing candle that is above the 50-EMA, go short on a bearish engulfing candle that is below the 50-EMA, and reverse whenever price itself crosses the 50-EMA.
• Exits – close the position at a fixed profit target or a fixed stop loss (both must be adjustable inputs).
The script has to:
1. Plot the 50 EMA visibly on the chart.
2. Mark each entry and exit with clear on-chart arrows or shapes, coloured differently for long and short.
3. Expose user-friendly inputs for the stop size and profit target in ticks, points, or percent.
4. Run as a true strategy (not just a study) so I can see complete back-test metrics in TradingView.
5. Follow Pine v5 standards and keep the code readable—no recycled snippets that break on updates.
Deliverable: a single .pine file, ready to import, that compiles without warnings. I’ll accept the work once the entries and exits fire exactly as described and the parameters are adjustable from the settings panel.
Apply on Freelancer →
Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.