r/pinescript • • Sep 30 '26

How to build an indicator?

Just need some help on creating one for tradingview.

2 Upvotes

35 comments sorted by

3

u/Mutt37 Sep 30 '26

Have you tried using A.I.? I don't know much about programming for TradingView, but I have used A.I. to write an indicator for NinjaTrader. I was just messing around and don't intend to use the indicator, but it worked.

1

u/Alarmed_Bread_926 Sep 30 '26

how well? i’m using chatgpt+ (20$/m) it’s really good, and i have built an indicator but i want to make it better and more accurate

1

u/RasPiBuilder Sep 30 '26

Define better and more accurate.

1

u/Alarmed_Bread_926 Sep 30 '26

having better levels, better reversal signals or continuation signals. i know nothing will be 100% winrate but i dont want levels getting smoked. Also i want more confluence for some of my trades. sometimes the indicator produces 150+ point moves or just small moves

1

u/Impossible-Middle122 Sep 30 '26

that indicator doesn't exist. look into orderflow.

edited for clarity.

1

u/Alarmed_Bread_926 Sep 30 '26

do you mean the one i have or the one i want to make? and i do believe its possible, check out the Flow project on IG, they have a really good one

→ More replies (12)

1

u/Mutt37 Sep 30 '26

How well an indicator works is a matter of backtesting. A.I. won't puke out a great indicator on its own. You need to refine the question over and over.

1

u/hvnwntw8 Sep 30 '26

Claude

1

u/Alarmed_Bread_926 Sep 30 '26

i need some more elaboration. i’ve made an indicator but im trying to make it GOOD

1

u/hvnwntw8 Sep 30 '26

Without more information it is hard to elaborate. I have a handful of indicators I personally use everyday to trade futures, and it is all basically things I would be normally marking out manually which I just automated away. How I use those markers and frame successful trades is ultimately my responsibility. If youre looking for an indicator to give you signals or something, cant help ya there.

1

u/Alarmed_Bread_926 Sep 30 '26

all good, thanks regardless brother!

1

u/Altruistic-Leave-359 Sep 30 '26

I put my idea into chat gpt then use Cursor to execute the codes. Basically just be the mediator between the 2 ai

1

u/Alarmed_Bread_926 Sep 30 '26

cursor? what is cursor? and thanks brother!

1

u/Altruistic-Leave-359 Sep 30 '26

It is an ai powered coding editor! You’re welcome

1

u/Alarmed_Bread_926 Sep 30 '26

awesomeee, is cursor for bots or for indicators?

1

u/Altruistic-Leave-359 Sep 30 '26

You can use it for both. I’ve built websites with it too

1

u/Alarmed_Bread_926 Sep 30 '26

that’s amazing brother. do you have discord? i’d like to talk more

2

u/[deleted] Oct 01 '26

[removed] — view removed comment

1

u/Shoddy_Peanut7320 Oct 03 '26

That's a useful check, and the pivot confirmation delay is where many reversal indicators go wrong. I'd add that once the timing is right, test the signal against a simple baseline over a few hundred signals before adding any filter. Cymetica's EventTrader (event timing for macro releases) is one source for tagging signals that fire around news.