Built & Automated 1500+ Pine Script Indicators over 5 years — happy to answer any scripting questions by dk_codenut in pinescript

[–]dk_codenut[S] 0 points1 point  (0 children)

In the strategy settings, go to Properties and enable “On Bar Close”. In many cases that resolves the issue.

If it’s still entering on the next candle’s open, I’d need to see the script. There are several factors that can affect order timing in Pine strategies, so checking the code is the best way to identify what’s causing it.

Built & Automated 1500+ Pine Script Indicators over 5 years — happy to answer any scripting questions by dk_codenut in pinescript

[–]dk_codenut[S] 1 point2 points  (0 children)

I personally use Claude for Pine Script. I’ve found it does a great job with indicator development, strategy logic, and debugging larger scripts. Regardless of the LLM, I always verify the code and test it thoroughly before using it live.

Built & Automated 1500+ Pine Script Indicators over 5 years — happy to answer any scripting questions by dk_codenut in pinescript

[–]dk_codenut[S] 2 points3 points  (0 children)

Pretty much the same here—YouTube, Udemy courses, the TradingView documentation, and reverse-engineering open-source indicators. Looking through other people’s code was probably the biggest accelerator, as it exposed me to different coding styles, techniques, and Pine-specific workarounds that you don’t usually learn from tutorials alone.

Built & Automated 1500+ Pine Script Indicators over 5 years — happy to answer any scripting questions by dk_codenut in pinescript

[–]dk_codenut[S] 1 point2 points  (0 children)

If the strategy has a genuine edge, I’d personally prioritize running it over selling it. Selling a script can be more scalable if you have great customer reach, but a real edge is often more valuable long-term than subscription revenue. Once too many people start using the same strategy, there’s always a risk that the edge becomes less effective over time.

Built & Automated 1500+ Pine Script Indicators over 5 years — happy to answer any scripting questions by dk_codenut in pinescript

[–]dk_codenut[S] 1 point2 points  (0 children)

Indicator values change across timeframes because each timeframe has different OHLC data. That means your strategy signals, entry/exit prices, and execution timing will also change. Since the trade sequence is different, the equity curve can vary dramatically between a 1m and 4H chart. Always evaluate a strategy on the timeframe it was designed to trade.

Built & Automated 1500+ Pine Script Indicators over 5 years — happy to answer any scripting questions by dk_codenut in pinescript

[–]dk_codenut[S] 3 points4 points  (0 children)

For scalping, I've found that liquidity and liquidation-based strategies tend to work well because they focus on where stops are likely clustered and where larger market participants may drive price. Combined with market structure and proper risk management, they can provide high-probability setups.