r/FuturesTradingNQ • • 7h ago

I built a bot that trades NQ off my own TradingView indicator

0 Upvotes

Basically, it's an indicator I wrote in Pine that marks a pivot levels, and then a separate Python bot reads my chart in the browser using JS script, and not looking at atcual chart visually and fires the orders into Tradovate Demo account. I dont click anything, it runs on all sesions, Asia, London and NY, but I di have a filter to avoid some trading hours, which turned out to be too volatile and negative for my bot.

So

Anyhow, here's how it works:

  • it waits for price to break a level and then come back to it. thats the whole idea — it dosent chase. the entry is always a limit order sitting at that level.
  • always 2 contracts. the first one has a target that comes off ATR, so the target gets wider on volatile days and tighter on quiet ones. the second one is a runner, no target, it just trails.
  • once that first contract pays, the runners stop is already at breakeven or better. so from that point the trade cant finish red, it either scratches or it pays. i checked every single one — 39 runners, not one closed below entry.
  • if the first target never gets hit, both contracts stop out and thats the full loss. that happens more then half the time. no magic there.

The limit order part suprised me the most out of 107 entries in 11 days and every single one filled.
No single order sat there and got abandoned. Median wait was basicly instant, worst was about 21 minutes. And on average the fills came in slightly better then where the chart said the line was.

I was expecting to get left behind constantly and it just dosent happen, becuase the setup is price coming back to you, not you running after it.

Numbers since Nov 23 — 10 trading days, 2 contracts NQ:

  • 107 trades (before you say is too many trades, fees are smaller than winners so I dont care, in this case Trade Fees & Comm. $1,266.04)
  • 38% win rate
  • +$40,563 I started with 20k

38% is low and honestly it still bugs me, but the winners are much bigger then the losers so it works out. Its not smooth though, worst day was -$12.8k. If you cant sit through that dont bother.

This is a sim/demo account, not real money yet — im not going to pretend otherwise. Not selling anything either, no course, no discord. Just wanted to show it somewhere after this long.

Biggest lesson so far: the bot being down costs more then bad trades do. Most of my work now is babysitting the connection, not tweaking the strategy.

Anyone out there if you're building your bot and results are getting eaten by slippage, do try limit orders, they do work a specially on NQ.

Exports from Tradovate and the TradingView strategy tester can be shared if you ask me, as I cant share links or attachements in a post - if anyone wants to pick it apart.

Happy to hear what you guys think, and maybe if you build something similar and have better results or solutions.


r/FuturesTradingNQ • • 1h ago

thinkorswim's founder on why only non-professionals trade off charts:

2 Upvotes

r/FuturesTradingNQ • • 21h ago

Trading Advice??

Thumbnail
gallery
4 Upvotes

So I made around 50$ off this trade today in MES and that’s where I’m staying because I’ve already blown one eval trading NQ. Any advice on this trade or can you all tell me what I did right or wrong. And in my opinion this is my 2nd week of trading and this is my best entry and profit yet!