r/pinescript

Indicator

Hi. I'm here with a request. I have the code for my own indicator, but I need someone to review it and change how it appears on the chart. I have photos of the visualization. The indicator itself works, but I need to refine it.I want to make it clear right away that I won't be able to post the entire code here.

reddit.com
u/Klutzy-Struggle-9816 — 9 hours ago
▲ 1 r/pinescript+1 crossposts

Cloned a signal, only one fires what gives?

For me, Tradingview has been very buggy and laggy
I have an alert set to fire on an indicator, I created a "clone" - I literally clicked "Clone" and just changed the title of it, both are exactly identical....only one fired....

https://preview.redd.it/soid332mfp2h1.png?width=312&format=png&auto=webp&s=e0f7efaf5ac5158fc957f00e71dd97752b1b2634

https://preview.redd.it/z0n60r4nfp2h1.png?width=287&format=png&auto=webp&s=e759132b11beaa0bebdd8a5d0a1da6fd3d28ffcb

What gives??

reddit.com
u/egypsy31 — 14 hours ago

I have created my own indicator: Gentra C0RE.

I have created my own indicator: Gentra C0RE. It is not merely a simple indicator; it is specifically designed to price in macro-level infrastructure within trading zones. It analyzes Oil, SOX, DJT, Gold, and USDT incorporating a "crypto mode" as well. I have successfully perfected this logic of "uncorrelated correlations," meticulously crafting every variable so that we can stay significantly ahead of the curve anticipating exactly which trading zones the market will either price in or price out. This analysis is conducted using 5-minute candlesticks for futures trading. It is specifically tailored for trading during each session, with strategies dictated by the global macro-financial structure particularly as it pertains to the technology sector.

u/Jmichael-labs — 1 day ago

96.8 WR NQ Bot, 12386 points

Looking for a Pine Script v6 developer — paid work.
I have a working NQ futures indicator/strategy on the 5M chart. The state machine, stats tracker, labels, and alerts are already built.
The issue I need solved is entry timing: on fast NQ moves, the entry alert can fire after price has already moved too far. I need help redesigning the filter timing so RSI/MACD are used earlier in the setup process instead of delaying the actual entry trigger.
What I need:
Pine Script v6 experience
Strong understanding of state machines / staged trade logic
Ability to work with RSI/MACD slope or histogram logic
Help preserving trade quality while reducing late entries
Clean, non-repainting logic.
Paid fairly. DM me with your Pine Script experience, rate, and examples if available.

u/OregonDucks1018 — 1 day ago
▲ 46 r/pinescript+1 crossposts

I built a Pine Script auto-trading system, tested it on a prop firm for 1 week… here are the results

I finally decided to test it live on a prop firm account instead of just backtesting endlessly like everyone on TradingView 😅

Here are the results after only 1 week:

  • 28 trades
  • 85.7% win rate
  • $695 gross profit
  • Largest winning trade: +$150
  • Net positive despite one brutal -$511 loss
  • Still closed the week green

This is only for week 1, but honestly it looks like a step further towards automate passing accounts.

u/No_Audience9527 — 2 days ago

Some days the ORB gives me nothing so I try to trade the reversion instead

Not every session gives me a clean breakout. Sometimes the range breaks but there is no follow through. Sometimes price just chops around the highs and lows without committing to either side. On those days forcing a breakout trade is how you give back money for no reason.

So instead of sitting on my hands I shift my focus. The same structure that gave me nothing on the breakout side often sets up a clean exhaustion move later in the session.

The reversion side This is where I end up on a lot of sessions. When price pushes hard beyond the range and a reversion pops up, that is not my entry. That is my signal to start watching.

I wait for price to stall. Entry on the close of that candle, stop mostly around 30 ticks to 60 ticks on NY and target back toward VWAP midline or key structure. Some trades can payoff good with an RR near 10.

Having both setups available means I am never completely without a trade. Trending days give me breakouts. Overextended days where momentum stalls give me reversals. The 15m range is the same reference point for both and I never have to force anything just because the market is moving.

This is the indicator I use to track everything across sessions in real time.

How do you handle sessions where the ORB just does not give you anything?

u/Ordinary-Truck19 — 3 days ago

Testing Pine Script on apex 50 K account from sunday 18 Pm to Now here are the results enjoy :D

Testing Pine Script on apex 50 K account from sunday 18 Pm to Now here are the results enjoy :D

u/lavmwa — 3 days ago
▲ 10 r/pinescript+1 crossposts

I built a Pine Script auto-trading system, tested it on a prop firm for 1 week…

Hey everyone, we honestly didn’t expect this level of support, messages, and feedback after launching AlgoTorma. Huge thanks to all of you ❤️

One thing we kept hearing:

“TradingView backtests are cool… but show live results.”

Fair request.

So here’s a lite version of our strategy running live with Tradovate over 24h:

• 29 trades
• 79.31% win rate
• 18+ trade winning streak
• Max Win: $85
• Max loss: $82

Still early, still improving, but we wanted to share real data since so many people asked for it.

u/No_Audience9527 — 4 days ago
▲ 7 r/pinescript+1 crossposts

Pine Script editing is mostly a manual loop in TradingView's editor: write, compile, read errors, fix, repeat. AI agents can help if you copy-paste the script and errors into Claude or Cursor and paste the fix back, but the agent can't see what the indicator actually plots: labels, lines, boxes, tables, plotshape markers. So visual debugging stays manual.

I built tradingview-mcp to put Pine Script in the agent's hands directly. It's an MCP server (96 tools across the TV surface) plus a tv CLI; both drive your local TradingView Desktop over Chrome DevTools Protocol. The Pine-specific tools:

  • pine_check: server-side compile without putting the script on a chart. Useful for CI-style verification or letting the agent validate a draft before adding it.
  • pine_analyze: offline static analysis (catches typos, unused vars, deprecated patterns) before you compile.
  • pine_smart_compile: auto-detects whether to add or update, returns elapsed_ms.
  • pine_save_as, pine_rename, pine_version_history, pine_delete, pine_switch_script: full lifecycle, no editor clicks.
  • data_get_pine_lines / _labels / _tables / _boxes / _shapes: the agent can read what the indicator actually drew. Horizontal price levels, text annotations, table cells, price zones, plotshape markers. Deduplicates and caps output by default; opt into raw via verbose.

The visual-output readers are the part I keep using most. Agent writes an indicator, compiles it, reads the labels back, decides whether the logic is right.

A few release details: Pine Editor open + symbolInfo fallbacks for TV Desktop 3.1.0 (compile/deploy buttons matched by title attribute). pine_set_source no longer hangs on large scripts. 338 offline tests cover the Pine tooling, multi-timeframe alignment, replay, and CLI routing. The upstream ui_evaluate tool (arbitrary JS in your authenticated TV session) was removed from the surface; everything else is gated through specific tool boundaries.

Install: clone the repo, npm install, add to ~/.claude/.mcp.json, launch TradingView with --remote-debugging-port=9222. README has the paste-into-Claude-Code one-liner.

Repo: https://github.com/iliaal/tradingview-mcp

Happy to answer questions, especially from anyone running heavy indicators with many lines / labels: the dedup defaults are calibrated to my workflow and may need tuning for others.

u/Ilia0001 — 4 days ago
▲ 40 r/pinescript+2 crossposts

Made this divergence screener

Many of you may always see my algo trade posts, this one is different but also very useful. Not an algo, but a screener.

I made this divergence screener that screens the users chosen tickers & compares it to the overall market. It displays the stocks $ change, % change, & whether it is moving with the market or diverging from the market. It shows whats ahead & whats behind. It also shows if volatility is up or down. Combining this with your regular technical analysis & using your key levels, you can quickly identify valid opportunities.

What do you think about it?

https://www.tradingview.com/script/kPy50kPM-ATMOS-stock-screener/

u/drippyterps — 6 days ago

Trader Looking To Collaborate With Someone Using Claude Max To Build AI Trading Tools

Hey everyone,

I’m a forex/crypto trader from India with 4–5 years of market experience. Recently I’ve been going deep into AI automation, strategy building, indicators, and trading bots.

I’m looking to connect with someone who:

• Trades seriously

• Has a Claude Max plan

• Is interested in building/testing indicators, automations, or strategies together

The idea is simple:

We brainstorm ideas, use Claude heavily for research/coding/testing, build useful tools, and maybe even create something valuable long term.

I’m also growing a YouTube channel around trading + AI automation, so I’m actively documenting and building publicly as well.

Not looking for anything random/freebie-only — genuinely looking for a smart collaboration with someone already deep into trading + AI.

If this sounds interesting, comment or DM me.

reddit.com
u/Apprehensive_Cap3272 — 6 days ago
▲ 1 r/pinescript+1 crossposts

Need big players big accounts to trade with this strategy done the impossible bruhhh after months and months fukk

This is just 1m chart perfroms same on all the charts

u/Stunning-Possible-70 — 6 days ago
▲ 3 r/pinescript+1 crossposts

Backtesting using Claude vs tradingview

Hi all, I coded a pine script strategy to automate my trades. Did backtesting using tv and Claude. The data for Claude was downloaded for 10years from binance. How is it that the number of trades taken based on the two backtesting methods be so vastly different, with claude registering way lesser trades than tv? Which of the two should be closer to real world trading for forward testing?

reddit.com
u/Joolz03 — 6 days ago

Futures Orb Tool Kit. Just looking for feedback on this.

Hi, this is my ORB tool kit I have been working to help me find trades.

what you will find inside of this is:

15min ORB for each Session which starts at Key Times

Session Tops and Bottom also included

Levels

4 EMAs

Vwap

HTF FVG

Swing Retracement Areas

Volume profile with nodes to detect high volume areas.

Just want to see what everyone thinks about this tool kit I created.

I use this multiple different ways to find trades.

trade between levels or nodes

orb breakouts

vwap bounces or rejections

If you cannot use this to find your own trades I would think you need to start from the basics again.

u/TonyTouch069 — 7 days ago
▲ 123 r/pinescript+3 crossposts

Built a Pine Script strategy with 93% backtest win rate over 5 years — now testing live with prop firm automation

u/lavmwa — 9 days ago
▲ 3 r/pinescript+2 crossposts

I developed an Excellent MT5 Trading indicator

I made an MT5 Trading indicator that uses a combination of indicators to give buy and sell signals with SL and TP levels. It can be installed directly on to MT5 desktop working directly on the chart of the broker of your choice. It give desktop and also it give alert on you mobile so if you are away you can get a trade notification and place a trade from anywhere. My goal is to sell this indicator. Can you guys give me advice is this is good for selling?

u/yasin2k2 — 6 days ago

I trade ORB breakouts and exhaustion reversals across three sessions. Here is how I approach both.

London, New York and Asia each form their own opening range every single day. I trade all three when I can. After doing this long enough you start to notice two things that repeat more than anything else: clean breakouts and exhausted extensions.

The breakout side I wait for a confirmed 5m close beyond the ORH or ORL. A wick through means nothing. I need a close.

Once an OK Break appears, I do not enter immediately. The next 5m candle tells me everything about the quality of the expansion. If it closes outside the ORB, momentum is strong and I expect a shallow retracement. If it closes back inside, I slow down and look deeper for a deeper fib before committing.

On clean continuation setups I prefer entries near the ORH/ORL retest or the 0.382 fib. SL just beyond the 0.786. TP at the next area of interest: PD levels, VWAP bands, FVGs or an active zone.

The reversal side When price pushes far beyond the extension, a zone label fires. That is not my entry. That is my alert that conditions are worth watching.

I wait for price to stall inside the zone. The signal I actually want is the Exhaustion Reversal for both fast and slow momentum confirming at the same time. When that arrow fires that is the combination I weight most. Entry on the close of that candle, stop beyond the zone boundary, target back toward VWAP midline or key structure.

What ties it together Most traders pick a side. Breakouts or reversals. I use both because the market rotates between expansion and exhaustion constantly. Knowing which phase you are in changes everything about how you size, where you enter and how much patience you need.

This is the indicator I use for this so nothing gets missed across three sessions in real time.

Which do you find easier to trade, breakouts or reversals?

u/Dry-Lynx-9057 — 9 days ago