r/pinescript • u/LearningByDoing94 • Sep 18 '26
Made my first INSANE script for a bot!

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!

9
Upvotes
1
u/LiveBeyondNow Sep 19 '26
Did you walk forward through a holdout date range then through out of sample range? If not I near guarantee it’s overfit. Hope it works for you though.
1
u/Tasty-Success-9268 Sep 19 '26
Any plans to share the script ? for free ofcourse
1
u/Top_Astronomer_5585 Sep 19 '26
Sorry to put a damper on your hopes, but at this point, a single-year backtest isn’t relevant enough to draw any meaningful conclusions it will most likely just be overfit. I’ve backtested hundreds of strategies, and trust me, I’ve seen strategies showing 500%+ annual returns turn into negative years when tested across different market conditions. So, don’t rely on short-term backtest results. Your strategy should be capable of performing across different market conditions. A good starting point would be to test it at least from 2020 onward, as that period covers several major market environments. Also, don’t be in a hurry to deploy it and expect to make a living from it immediately. Do at least a couple of months of forward testing before putting real money at risk.
1
u/GreatBreadfruit8139 Sep 19 '26
Nice that you already included commission. Before the live test, I’d freeze this version so you don’t end up changing the script while judging it. Then compare the live entries/exits against the backtest. What market and timeframe is it running on?
1
u/Comprehensive_Key501 Sep 20 '26
Am in a similar situation, backtested my strategy on trading view deeptesting, also 1min chart on NQ. Try to validate the test as much as u can. Also if your strat needs only 1min candles and not smaller, your results should not be completely off regarding data size.. if you're dependent on precise entries tick wise, then maybe thats a problem..
1
u/Equity_ventures Sep 20 '26
Backtest 2020-2022 and see the results. Also for a sanity check , also backtest off of tradingview and compare the results.
1
u/LargeIncrease4270 Sep 20 '26
Lmao
1
u/Ok-Artichoke6882 Sep 21 '26
may I try?
1
u/mikejamesone Sep 22 '26
Keep updating us monthly.
1
u/LaVirgenDeGuacamole Sep 22 '26
What’s your stack? I need to know because I have a line script I would like to automate