Fix Renko TP/SL Script

Заказчик: AI | Опубликовано: 02.04.2026
Бюджет: 30 $

I have a Pine Script strategy running on a traditional Renko chart and the take-profit / stop-loss orders simply don’t fire. Entries execute correctly, but once the position is open no TP or SL order is placed or filled, even though the levels are plotted on the chart. The script is otherwise stable, so I’m looking for a quick pinpoint fix rather than a full rewrite. You’ll be working with Pine Script v5 on TradingView and I’ll share the current code as soon as we start. Key details you should know: • Chart type in use: Traditional Renko (not mean or other variants). • Issue confirmed: TP/SL orders not triggering at all. Deliverables • Updated Pine Script file with functional TP and SL logic. • Brief comment inside the code explaining what was corrected so I can learn from the change. Acceptance The strategy must automatically place and execute the TP and SL orders at the predefined price levels on live chart replay and in forward testing. If you’ve debugged order-placement logic in Pine before, this should be straightforward. Let me know your estimated turnaround and any clarifying questions, and I’ll send the code right away.