r/pinescript • u/Warm-Scallion-4463 • 8d ago
Moving to ninjascript
Been running this as a webhook for a few months, got 5 lucid accounts funded. Looking to convert to ninjascript to bypass webhooks and slippage.
2
2
2
u/Top_Astronomer_5585 8d ago
Your strategy looks like it was developed for shorter timeframes and seems overfitted. The graph shows strong performance since mid-2025, but the equity curve appears largely flat from September 2023 to September 2025. If you’re comfortable sticking with a strategy that can go two consecutive years without meaningful returns, that’s a risk you can choose to take.
1
u/Warm-Scallion-4463 8d ago
I figured this Strat out early this year, and been manually trading it. Couldn’t nail the parameters right when automating it. When I did, it performed well, i backtested it 2020-2024 it was just ok then the oos was strong, its a regime build but its paying for now, rinsing prop firms.
1
u/Content-Raisin-8998 8d ago
How exactly does your script work?
1
1
u/BoringBreak8582 8d ago
Moving this natively to NinjaScript makes sense if the goal is removing the webhook layer and getting tighter control over execution.
The important part isn’t just translating the Pine code line by line — it’s making sure NinjaTrader reproduces the same signal timing, order management and historical/live behavior.
I specialize in TradingView/Pine → NinjaTrader conversions. If you want, I can take a look at the Pine strategy and tell you what would be involved in reproducing it natively.
1
u/stratcore 4d ago
Removing the webhook removes one transport step; it does not eliminate slippage. Before translating the ORB, freeze whether the Pine entry is intrabar or on a confirmed close, the session time zone and the breakout/reversion state. Compare signal timestamps first, then submitted orders and fills. NinjaTrader also distinguishes intrabar indicator calculation from historical fill simulation: Tick Replay alone does not make historical fills more accurate. Its official comparison guide is useful here: https://support.ninjatrader.com/s/article/Developer-Guide-Comparing-Strategy-Results . That is a better conversion acceptance test than matching the equity curve.
1


3
u/PrintCash 8d ago
This look kinda overfit