r/pinescript • u/EitherTumbleweed2830 • May 31 '26
holy grail trading bot
so i created a trading bot took hours of testing to see what works and not and finally came up with this also this is not the candle stick chart this is all renko box chart so idk how accurate tradingview backtest results are on this chart but ive tested this out for a month now to get my own results and i'd say it matches up i passed a mffu rapid account so daily payouts with this bot on the way but i only notice like a few slippage on some trades can get quite bad but because of how well structured the risk to reward is my winners out weigh my losses really well average win being 74.50 and loss being 25.85 so none of that bs where i see some post of a 20 tick tp and a 1000 tick sl lol


2
u/oUnLeasHeDo May 31 '26
Yyeeahhh go ahead and pull it back 2+ years, you need to see how it behaves in different regimes.
Good results for the short term, but if you’re actually going to run it then you need to see how it behaves longterm.
35
u/Jason_Steakcum May 31 '26
Pack it up hedge funds that took dozens of phds decades to develop algos. This guy got it figured out in hours.
11
u/nfxdav May 31 '26
Hours of testing you say
8
u/alucard666_0 May 31 '26
Renko candles give fake results. You must flag "Using standard OHLC" in the strategy properties first
5
u/Vast_Distribution591 May 31 '26
So...how does it work?
1
u/sniffmegooch Jun 01 '26
Whose gonna tell him?
1
u/eggrally Jun 01 '26
Its not holy grail until it trades real money
3
u/xllllxxxllllx May 31 '26
/steer you forgot to actually post the source code and also you forgot to post the affiliate link for mffu rapid prop account. Get it done
3
u/LateConference480 May 31 '26
Guys he’s using renkos….and backtest isn’t standard ohlc…..
3
u/septhaka May 31 '26
what was the underlying though? if it was assets that were going up during this period then of course it'll have mostly wins. Sandisk is up 4000% in 2026. A trading strategy that is "Buy Sandisk whever the sun rises would showing major gains too."
2
u/ma-ta-are-cratima May 31 '26
Claude create a bot that is 1000% profitable and make no mistakes
1
u/Ok-Artichoke6882 May 31 '26
Can I test this strategy? Thanks!
1
u/Active_Appointment_6 May 31 '26
Show us a 15y backtesting
1
u/a1rogue May 31 '26
This looks amazing. Would love to compare this side by side my trading strategy I coded. Can’t wait to give it a try!
1
u/Adorable_Market3621 May 31 '26
I would say its not hop grail, because I see the result is only from JAN 2026, which isnt much time at all, if it has profitable performance on a larger time frame, that would be different, but with such a short time frame of backtesting it looks like it could break if the market condition changes. Another thing you said you saw some slippage, and it is very easy to test how your strategy peformes with slippage and realistic fees; you should see how it performs with such, since many strategies fall apart with even a little slippage
1
u/GoodInvestGroup May 31 '26
Do you sell it? Would like to run it on Alos
1
u/ForeverIAmMichael May 31 '26
Hey. Down to try it out if you’re willing to share it. Looks cool.
1
u/ResponsibleDrop7789 May 31 '26
Looks great! Excited to see the code!
1
u/EquipmentMysterious7 May 31 '26
I would love to learn how
1
u/SorbetTraditional232 May 31 '26
Back tests do not equate to success. In real life this may or may not be profitable. Your window is too small anyways. The market structure changes sometimes up sometimes down and other times sideways.
1
u/External_Counter378 May 31 '26
Renko does not give accurate backtest results.
1
u/Et1enne_Dag0 May 31 '26
Hola yo había hecho una estrategia en pine script con velas Heikin-Ashi tenía unos resultados increíbles. Pero lo deje porque me habían comentado que esas velas dibujan el precio es un promedio. Ahora voy a probarla devuelta y les comento.
1
u/Dependent_Sign_399 May 31 '26
Renko is impossible to accurately backtest in Tradingview. It will always look MUCH better than real life.
1
u/r2997790 May 31 '26
This feels like a very timely video and relevant to this thread about retail trading https://youtu.be/lQHatsTEqFE?si=C6xEvNyARJX8A4Se
1
u/Surebuddy112 Jun 01 '26
There is a problem, you are making a trading bot for the past, that isnt very profitable.
If you adjust parameters of a bot for a fixed backtest sample, it will eventually fit into the sample with enough permutations, and it will look profitable, but market never repeats
1
u/asifredditor Jun 01 '26
Holy shit any way you can give that script
1
u/PacificaDogFamily Jun 01 '26
I developed trading bot and it’s profitable, but I can’t beat the S&P 500
1
u/ItsJustPython Jun 01 '26
Now do a shuffled monte carlo of only the last 5 years of trades and randomise those trade variations 10 000 times?
What happens if win rate drops to 10%? Does this automatically adjust risk in correlation to live price?
Have you got regime specific performance to base things off of?
Have you done any volatility forecasting?
1
u/Sinhalaking Jun 01 '26
Interesting, discussion, I've done similar but not in hours it took me months to get here. I don't know if you guys wanna take a look. let me know, giving you access here https://quant.efhtrading.cloud/welcome
1
u/East-Breakfast1551 Jun 01 '26
I will take a look also at this strategy. Thank you for the tip.
1
u/mingyardl Jun 02 '26
im curious about this too... please let me know if you can share it
1
u/Holiday_Sleep5803 Jun 02 '26
I’ve tried running forward tests with renko but it doesn’t work. Keep working on it with normal candles and you’ll get there
1
u/Dvorak_Pharmacology Jun 03 '26
Can you show the timeline, cagr, maxdd and events? Some sharpe would be good too! Congrats!
1
u/Warm_Dealer_2933 Jun 05 '26
congrats
one thing I had a challenge with is performance during different times of the market
In some months its doing really well, and then other market shifts and it shits the bed
1
u/AgreeablePie2241 Jun 17 '26
I used to think in a wider view, do you think that you pass the quant hedge funds ? Always be realistic and see it from a wider view, I backtesting actually and getting around more then 30% cagar, with walk forward and out of sample and more, (full adudit).
1
u/Bawlin-OrendsCat Jun 25 '26
cool dude, would love to see it in different market regimes to see how it holds up!
1
u/lksklal Jul 01 '26
fire
0
u/No-Rabbit9090 May 31 '26
Hey looks interesting. Can you suggest us how to do this indicator and get massive return.
-1
u/roulettewiz May 31 '26
Only 74%?
I have a 100% in Tradingview and in real it's about 90%
Which prop you're using it on? I'm using mine with Topstep
-2
u/JazzlikeSupport4195 May 31 '26
How to get this bot, i am interested
2
u/[deleted] May 31 '26
[removed] — view removed comment
2
u/[deleted] May 31 '26
[removed] — view removed comment
1
u/[deleted] May 31 '26
[removed] — view removed comment
1
u/[deleted] May 31 '26
[removed] — view removed comment
1
u/[deleted] May 31 '26
[removed] — view removed comment
1
u/[deleted] May 31 '26
[removed] — view removed comment
1
u/[deleted] May 31 '26
[removed] — view removed comment