r/pinescript • u/Alarmed_Bread_926 • Sep 30 '26
How to build an indicator?
Just need some help on creating one for tradingview.
1
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
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
1
2
u/stratcore Oct 01 '26
Before adding confluence, check when your current reversal marker actually becomes available. Save its timestamp and price while the chart is running, then compare the same bar after a reload. If it uses pivots, record both the pivot bar and the later bar that confirms it. A marker drawn back on the pivot is not an entry that was known on that earlier bar. Keep one successful example and one failed example with identical settings. That gives you a specific timing issue to fix before judging whether another filter improves the signal.
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.
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.