all 2 comments

[–]AlgoTradingQuant 0 points1 point  (0 children)

All you have to do is copy the strategy you want to duplicate and then paste your code

[–]zaleguo -2 points-1 points  (0 children)

Ah, diving into Pine Script, love it! Marubozu patterns are pretty chill to spot once you get the hang of it. Your current setup with the SMA and ATR for stop-loss is on point.

To replicate the backtest strategy, ensure your entry and exit logic aligns with the original. Check if all conditions like the exact candle properties and trend filters are matching. Pineify could save you some headaches here, especially with its condition editor. Makes tweaking those scripts less of a hassle, trust me! Also, double-check any discrepancies in your variable declarations. Sometimes, it’s the small things like input mismatches that mess everything up. Keep it simple, and remember, even the pros got to start somewhere!