Back to Trending
Repository
dearvn

dearvn/trading-futures-tradingview-script

I write pine script to trade futures ES1 NQ1 with signal IN (accurate 90%) and now I am trading on that

261stars
75forks
7issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: trading-futurer

#1 Repository of the week

1
TINIX TRENDING·Topic: us-stock-market

#1 Repository of the week

1
TINIX TRENDING·Topic: nq1

#1 Repository of the week

Management members on TradingView and the Discord channel on your website.

https://www.patreon.com/donaldit/shop/manage-members-on-tradingview-discord-415211

NQ1M

Alt text

SPX trading options

In this indicator, I detect the real-time TOP (blue line) and BOTTOM (white line) levels, as well as signals to CALL or PUT. The options move very quickly, so a bot is needed to trade automatically.

Get one at: https://www.patreon.com/donaldit/shop/spx-15-options-trading-strategy-321411

Alt text

A new indicator to predict signal: https://www.patreon.com/donaldit/shop/simple-indicator-for-tracking-trading-on-231800?source=storefront

Get options data to auto trading from: https://tradier.com/

Api to integrate to Schwab: https://github.com/alexgolec/schwab-py

The $NQM2024 futures strategy is 70% accurate in a 5-minute timeframe

Please access:

https://www.patreon.com/donaldit/shop/nqm2024-futures-trading-160775?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=productshare_fan&utm_content=join_link

Alt text

$ES futures, $SPX strategy 80% accurate:

Please access:

https://www.patreon.com/donaldit/shop/one-strategy-for-auto-trading-es-futures-155876?source=storefront

Alt text

Add indicator High Low Super for SPX, ES, ETH...

supper-high-low-live.txt

Alt text

Update new indicator trailing

Lux-Trailing-BUY_SELL.txt

Alt text

Updated new strategy

nq-est-futres.txt

Trading $SPX options

Timeframe: 15M, Ticker $SPX

Refs https://www.patreon.com/collection/333532?view=expanded

Alt text

If you win, please support me on Paypal: clickclone@gmail.com

BEST Trading manually

The best way to use this Indicator is when you encounter a signal, refresh it to confirm whether it has occurred or not. If it happens then go according to this signal.

ES1M-BEST.txt

Alt text

New update

Alt text

Script Trading ES 20223

Please use this one with timeframe 5M: https://github.com/dearvn/trading-futures-tradingview-script/blob/main/ESH2023-5M.txt

Trading GOLD

Using script GOLD_UZ_OZ.txt

Alt text

ES Futures 1M No Repaint — v1.4 (latest)

File: es-futures-no-repaint-v1.4.txt
Timeframe: 1M, Ticker: ES1!
Trading hours: 6:30 AM – 12:30 PM UTC-8

Repaint fixes in v1.4 (vs v1.3)

  • All request.security() calls changed from lookahead_on → lookahead_off (13 calls fixed) — this was the primary repainting source
  • Multi-timeframe averages (avg_3m, avg_5m, avg_8m, avg_10m) now use only confirmed HTF bars — removed all [0] (current unconfirmed bar) references
  • avg and avg_change shifted to exclude the current open bar (open[0] removed)
  • All persistent var bool cross states (is_cross_down_basis, is_cross_up_rsi, etc.) now only latch on barstate.isconfirmed

Auto Trade on Tradovate via TradingView Webhook

Flow:

TradingView Alert (Pine Script v1.4)
    ↓  webhook HTTP POST (JSON)
Your server (tradovate-trading-bot)
    ↓  Tradovate WebSocket / REST API
Tradovate → order executed

Step 1 — Add alertcondition to the Pine Script

Add to the end of es-futures-no-repaint-v1.4.txt:

alertcondition(longCondition and not lock_time,
  title="BUY Signal",
  message='{"action":"buy","symbol":"ESM2025","qty":1,"price":{{close}}}')

alertcondition(shortCondition and not lock_time,
  title="SELL Signal",
  message='{"action":"sell","symbol":"ESM2025","qty":1,"price":{{close}}}')

alertcondition(closelong,
  title="CLOSE LONG",
  message='{"action":"closeLong","symbol":"ESM2025"}')

alertcondition(closeshort,
  title="CLOSE SHORT",
  message='{"action":"closeShort","symbol":"ESM2025"}')

Step 2 — Configure TradingView Alert

  1. Add indicator v1.4 to chart (1M, ES1!)
  2. Create Alert → select condition "BUY Signal" (repeat for SELL, CLOSE LONG, CLOSE SHORT)
  3. Set Webhook URL = https://your-server.com/webhook
  4. The {{close}} placeholder is auto-filled by TradingView at alert time

Step 3 — tradovate-trading-bot receives webhook

The bot exposes a /webhook endpoint, parses the JSON payload, and sends the order to Tradovate API.

See: tradovate-trading-bot


Review history timeframe 30s: es-futures-repaint-30s.txt

Alt text

Newbie

Use color-trend-lite.txt to trade easily

BLUE: trend up

RED: trend down

How to use: ex: when I enter CALL if color is still BLUE and high[1] < high then keep CALL. Or when I enter PUT if color is still RED and low[1] > low then keep PUT. Else EXIT CALL or EXIT PUT

Alt text

Strategy ES 1M

using: best-strategy-es-1m.txt

Alt text

Binance Futures Trading

Ref: https://github.com/dearvn/tradingview-pinscript-futures-binance

PRIVATE SCRIPT

11/07/2022 Alt text

WINNING VS LOSING TRADES

Alt text

Alt text

SUPORT ME

I like a cup of coffee at https://www.patreon.com/donaldit

IMPORTANT

  • Currently, I am trading on trade-futures.txt script Belong to ticker and timeframe, I set input IN and input OUT Backtest on timeframe 5M
  • ES: input IN = 5, input OUT = 3
  • NQ: input IN = 15, input OUT = 12 or input IN = 8, input OUT = 5

Enjoy daily trading Futures and if this script is good please me coffee (https://www.patreon.com/donaldit) or need implement a script donald.nguyen.it@gmail.com

WEAK MARKET

  • I implement logic to trade when market is weak this time let use script best-indicator.txt

Using: *GC = Great Call (exit PUT beforce CALL) *GP = Great PUT (exit CALL beforce PUT) *Timframe: 5m

Alt text

SWING

Using indicator swing.txt to exit or entry CALL PUT Alt text

MARKET CRASH

  • I implement logic to trade when market crash this time let use script win-99.txt

Alt text

Alert

Alt text

trading-futures-tradingview-script

I write pine script to trading futures ES1 NQ1 with signal IN (accurate 90%) and now I am trading on that

Logic to trade futures

I can't use existing indicators to trade future, I lost so much Few months ago, I backtest on this scripts and my idea is using the point to trade instead of indicator Absolutely, the point is correct with futures.

For example, when "IN" signal notify I can CALL on Tradovate platform.

Alt text

History Gain/Loss

  • 2022-08-30 Gain PUT 253 Points Alt text

  • 2022-08-31 Gain/Loss in evidence Alt text

  • 2022-09-01 Gain/Loss in evidence Alt text

  • 2022-09-02 Gain/Loss in evidence Alt text

  • 2022-09-06 Gain/Loss in evidence Alt text

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
Cursivez/journalit

Free Obsidian trading journal with analytics, reviews, prop firm tracking and rule-based trading workflows. Trades are Markdown notes. Pro adds broker sync and trade imports.

271
Nov 12, 2026
RepositoryTypeScript
Mathieu2301/TradingView-API

📈 Get real-time stocks from TradingView

6.0k
Nov 14, 2026
RepositoryPython
atilaahmettaner/tradingview-mcp

MCP server for market analysis in AI assistants: screeners, multi-timeframe technical analysis, backtests and sentiment for crypto, stocks, forex and futures. 39 tools. Self-host free, or use the hosted version, TradingMCP.

5.4k
Nov 28, 2026
RepositoryPython
marketcalls/openalgo

The Open Source Trading Ecosystem for Everyone.

3.1k
Nov 30, 2026
RepositoryPython
pAulseperformance/awesome-pinescript

A Comprehensive Collection of Everything Related to Tradingview Pine Script.

2.0k
Nov 30, 2026
RepositoryPython
fabston/TradingView-Webhook-Bot

📊 Send TradingView alerts to Telegram, Discord, Slack, Twitter and Email.

1.9k
Dec 1, 2026
RepositoryJavaScript
deepentropy/tvscreener

TradingView Screener API - Stock, Crypto, Forex, Bond, Futures, Coin

1.8k
Nov 1, 2026
RepositoryPython
shner-elmo/TradingView-Screener

A package that lets you create TradingView screeners in Python

1.4k
Nov 27, 2026
RepositoryPython
51bitquant/bitquant

51bitquant Python数字货币量化交易视频 CCXT框架 爬取交易所数据 比特币量化交易 交易机器人51bitquant tradingbot cryptocurrency quantitative trading btc trading

1.2k
Apr 10, 2025