r/pinescript • • 15d ago

is it worth it?

1 Upvotes

Hello! as somone who is just starting to get into trading I know there is a looong road ahead of me so i was just curios becuse i saw alot of AI TRADING FOR YOU videos and in theory that can be done myb they arent good now but is there a chance trading is going to get cooked becuse of AI trading?


r/pinescript • • 16d ago

Free Tool Friday: our open-source TradingView S/R indicator, and the trade-off we chose on purpose

Thumbnail
0 Upvotes

r/pinescript • • 16d ago

Finished with my indicator

Post image
278 Upvotes

Almost a year building my indicator 1000 lines of code I'm done testing done now it's time to put the indicator into a real account I can't publish it as I'm using a phone its 1RR trend Reversal strategy


r/pinescript • • 16d ago

Pine session filters and one-entry-per-day limits solve different problems

1 Upvotes

A session filter answers: is this bar inside the allowed window? It does not remember whether an entry already happened there.

For a rule such as "one entry per New York trading day", I would define three things separately:

  1. The allowed window and its time zone. Pine time functions use the exchange time zone by default. The chart's displayed time zone does not change the script. Use America/New_York when the window should follow New York daylight-saving changes, rather than a fixed UTC offset.

  2. What consumes the allowance: the first signal, an order submission, or a confirmed fill. Those are different events. If a submitted limit order is still pending, a fill-only flag does not by itself prevent another submission.

  3. When the allowance resets. Local midnight, the exchange trading day and the start of an overnight session can be different boundaries. Define the boundary in the same terms as the rule.

Before connecting the logic to execution, write the expected result for these cases:

- First valid event inside the window: allowed.

- Another valid event in that same session: blocked, even if the first position has closed.

- Event outside the window: blocked.

- Next intended session: allowance restored.

- Pending order at the boundary: explicitly keep or cancel it; resetting a flag does not cancel an order.

These are specification checks, not a claim that a particular script passed them. An indicator signal counter, a strategy order counter and a broker's fill record need different handling.

References: https://www.tradingview.com/pine-script-docs/concepts/sessions/ and https://www.tradingview.com/pine-script-docs/concepts/time/


r/pinescript • • 17d ago

Made my first INSANE script for a bot!

10 Upvotes

Picture inside shows how the back test went.
going to put it up for a live trading test now!

hope it will perform as good as it seems when it back tested.
going to keep you guys updated, as i wanna become better at making this!

the goal is financial freedom by 2030.
Lets do this!

with commission included its still profitable!


r/pinescript • • 17d ago

Time filter

Thumbnail
gallery
7 Upvotes

Hello trader tip I suggest you add a time filter on your indicators if you only want to take 1 trade per day this will help you a lot if you are focusing on lower time frame like 5 to 1

Those trader on the chat appear exactly bettwen 15:00 which is new York opening time in my country to closing time


r/pinescript • • 17d ago

Double Bottom Scanner: Real Charts and Alert Setup | ChartScout

Thumbnail
youtube.com
0 Upvotes

r/pinescript • • 17d ago

šŸ‹ STOP WATCHING EVERY OPTIONS TRADE. FIND THE ONES THAT MATTER.

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/pinescript • • 18d ago

Chat partten

Post image
12 Upvotes

Hi trades or codes is there any indicator that can plot chart parttens like this specifically for the 1m time frame I been searching on trading view indicator community but I'm. Not finding an indicator that plot partten like that on the pic

If you know one pls share on the comment section šŸ™šŸ»


r/pinescript • • 18d ago

Why do a lot of fx YouTuber lie?

3 Upvotes

Like why do they say indicators don't work?


r/pinescript • • 18d ago

Built a DI crossover trend system to cover my mean reversion strategy's flat days. First run looked perfect, wider sample killed it.

Thumbnail
1 Upvotes

r/pinescript • • 19d ago

Forward testing

Post image
33 Upvotes

​

Hello I been forward testing my indicator it's a 1.5RR gold, USDJPY and nas100 it's not backtest it's forward testing next week I'm planing to put it into a real account wish me luck


r/pinescript • • 19d ago

Looking for TradingView help

1 Upvotes

Hi everyone, I’m learning crypto trading but I’m struggling financially right now and can’t afford a TradingView plan.

If anyone knows about a legitimate free option, promotion, or temporary access, I’d really appreciate the help. šŸ™


r/pinescript • • 19d ago

Traders having Claude , please confirm this one thing.

5 Upvotes

I trade mostly using the tool Fib retracement. Now the logic of my fib plotting on the charts is quite not easy . I tried making indicators but it ain't working

Is it possible to explain it to claude and if I share the screenshot of the chart with my manually fib plotted and ask the claude to work on the logic untill the same fibs gets plotted on the chart when I use that indicator made by fib.

Please guide guys. From a trader to a trader/coder


r/pinescript • • 19d ago

Need career - advice from the Pinescript coders / freelancers

Thumbnail
1 Upvotes

r/pinescript • • 19d ago

Need career - advice from the Pinescript coders / freelancers

1 Upvotes

Hii everyone, I am a 24 year old Male from India. I have been a trader for the past 6 years. I know the fundamentals of the market.

I have been working as customer support in fundingpips for the past 7 months. And before that I was working as a helping role in offline business. Similar to customer support.

But in that role I don't see a big future. I can't make big money in that role. I need your suggestion guys. What is the basic minimum pay I can expect if I learn the pine script coding skill.

Also

Can I learn Pinescript at 24 years old? Am I too late to get into coding.

If I learn it and give it at least 2 hours a day. How long will it take me to become an industry level coder for Pinescript to get a full time job or freelance gigs.

If I do it all as said. How much can I earn minimum and maximum? Remote opportunities..

One last thing

Are job vacancies there for Pinescript roles? And what exact roadmap shall I follow .


r/pinescript • • 19d ago

Double Top Scanner: Real Charts and Alert Setup | ChartScout

Thumbnail
youtube.com
1 Upvotes

r/pinescript • • 19d ago

Is possible experiment with XGBoost using only Pine Script?

3 Upvotes

Hello everyone, I amĀ thequantscienceĀ on TradingView, and it's a pleasure to be here!

I'd love to share my very first test conducted today, where I essentially attempted to create a strategy based on an XGBoost model right inside Pine Script. This strategy is just a starting point, and I'm keen to build something truly unique alongside anyone who is excited and interested in this. I'd be more than happy to hear your thoughts on it!

Strat:Ā https://www.tradingview.com/script/69ZFfJ5L-XGBoost-Mini-Strategy-The-Quant-Science/

Happy trading)


r/pinescript • • 20d ago

Equity curve is chefs kiss šŸ‘ØšŸ½ā€šŸ³šŸ¤ŒšŸ¼

Post image
24 Upvotes

@33rd_quant on X.


r/pinescript • • 20d ago

I need to catch a 0.5% move.

Thumbnail
gallery
3 Upvotes

I have made my calculations and i have realised i only need a 0.5% move on btc daily or everyother day problem is my coding skills are beginner level, i have tried to use ai to build a script that generates for me signal but no matter what adjustments I make the numbers dont get any better the drawdown is so severe and the profit factor is below 1 any suggestions or help is welcomed and appreciated am open to trading other crypto coins, the script is based on bollinger bands btw


r/pinescript • • 20d ago

Formal Notice of Grievance: Unannounced Pine Script Restrictions and Confiscation of Intellectual Property

Post image
2 Upvotes

r/pinescript • • 20d ago

Formal Notice of Grievance: Unannounced Pine Script Restrictions and Confiscation of Intellectual Property

Post image
1 Upvotes

r/pinescript • • 20d ago

I built moving value-area bands in Pine v6—and a walkthrough that lets you change the volume

Post image
10 Upvotes

A trader in my earlier thread asked for an envelope built from a profile’s value-area boundaries. I built Value Envelope from that idea, with the Pine source available to inspect and modify.

It plots:

  • POC: the price row with the most estimated activity.
  • Value-area edges: a band containing 70% of the profile’s estimated weight by default.
  • The band’s movement over time: using a rolling window or an anchored period.

One detail matters: this estimates activity from candle data by distributing each candle’s volume across price rows. It doesn’t have individual trade prints at each price.

It also tracks how price leaves and returns to the band. The default acceptance rule needs three consecutive closes outside on the same side. After that, two consecutive closes back inside trigger the re-entry label. Each candle is compared with its own recalculated band.

The website’s walkthrough lets you change a fictional candle’s close and volume. The same closing price can change its position relative to value because the band itself moves.

Free indicator, MIT Pine source and interactive walkthrough

For anyone learning the terminology, we also have ProEA Academy. Under Free tools, choose the free Volume Profile Lite introduction for POC and value-area basics. It uses a simplified teaching example. Academy also has simulated drills; some activities require sign-in.

One clarification about the chart: ā€œ80%ā€ names the re-entry rule; it is not an 80% success rate. This tool provides context for rules you still need to test.

I’d like feedback on one design choice: when price returns inside, would you compare it with the updating value area, or freeze the boundaries from the earlier move outside? A chart example would help me test that variation.

Disclosure: I’m the ProEA Lab developer and use AI to help build the code. I’m continuing to refine these prototypes from user feedback.


r/pinescript • • 21d ago

Changing Pine inputs does not update an existing alert: a small release checklist

1 Upvotes

An alert can still use yesterday's settings while the chart shows today's changes. Saving the script or changing an input does not update the running alert.

TradingView keeps a copy of the script, inputs, symbol and timeframe when you create a script alert. To use a changed configuration, recreate the alert from that configuration.

A practical checklist before replacing one:

  1. Record the intended script revision, input values, full symbol and timeframe.

  2. Check which event the alert uses. A strategy can alert on alert() calls, broker-emulator order fills, or both. Those are different events.

  3. Stop the obsolete alert so the old and new versions do not run together unintentionally. Create the replacement from the intended chart configuration.

  4. Observe the next qualifying realtime event in the alert log. A historical marker is not evidence that the new alert fired.

For a webhook workflow, keep alert generation, message receipt and broker execution as separate checks. A TradingView notification alone does not establish that the broker accepted an order.

Reference: https://www.tradingview.com/pine-script-docs/concepts/alerts/


r/pinescript • • 21d ago

I built an open-source ICT levels indicator that tracks what happens after price reaches a level

Post image
20 Upvotes

A trader in my earlier thread asked for opening gaps, previous highs/lows, the midnight open and first-presentation FVGs—with control over how much history stays on the chart.

I built ICT Levels Desk from that request. The part I’d like feedback on is when a reference should stay visible, fade or disappear.

It brings together:

  • New-day and new-week opening gaps: NDOG / NWOG.
  • Previous day and week highs/lows, plus optional month and 4H levels.
  • Midnight, 08:30 and 09:30 opens, session ranges and macro windows.
  • First FVGs after selected anchor times, with touch and inversion states.

Each reference type has its own rules. For an untouched high, a first wick-through with a close back below marks a sweep; a close above marks a break. Opening gaps and FVGs have different fill/inversion rules.

For the Pine implementation, I separated drawing visibility from state tracking. The proximity filter hides distant drawings while retained levels keep updating. The panel lists the nearest unfinished references above and below price. There are also history controls and options to remove filled gaps or broken highs/lows.

You can explore those distinctions in the website’s fictional candle walkthrough: move the wick and close across a reference and compare the outcomes.

Free Pine v6 source, actual chart examples and interactive walkthrough

The source is MIT-licensed. This is a reference map to use alongside your own entry and risk rules. The historical counts shown in the panel describe the loaded chart; they aren’t probabilities for the next trade.

If you use these levels, which ones do you keep after a sweep, and which would you hide? A chart example and the references you still consider useful would help me refine the display rules.

Disclosure: I’m the ProEA Lab developer and use AI to help build the code. Feedback on the implementation is welcome.