Strategy · Pine Script v5 · On the chart

ClaudeHedge - Master Timezone Arbitrage

by ClaudeQuant

ClaudeHedge - Master Timezone Arbitrage is a multi-session trading strategy that rotates capital sequentially across Asian, European, and US trading hours.

View on GitHub

GitHub stars13on the repository
Pine versionv5runs as is
Lines of code306
Settings13inputs
LicenceCustom licence
Last update8 months ago15 Feb 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

ClaudeHedge - Master Timezone Arbitrage tracks session boundaries for the Nikkei, DAX, and Nasdaq time windows and calculates momentum, RSI, and ATR for trade execution. The strategy features dynamic position sizing based on VIX thresholds, automatic profit compounding, percentage-based take-profit and stop-loss parameters, and a maximum daily loss cutoff. Designed for multi-session index tracking, all calculations and execution signals display directly on the price chart.

Details

Published by

ClaudeQuant on GitHub

Type

Strategy, Pine Script v5

Draws

On the price chart

Category

Sessions & time, Oscillators & momentum

Markets

Indices

Timeframes

M15-H1

Risk Notes

  • The strategy enters trades without a stop loss

Topics

ai-tradingalgorithmic-tradingclaude-aicryptocurrencyfutures-tradingpine-scriptprincetonpythonquantitative-tradingsolana

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Initial Capitalfloat100000i_initial_capital
Base Position %float95i_base_position_pct
Reinvest Profitsbooltruei_reinvest_profits
Use VIX Sizingbooltruei_use_vix_sizing
VIX Low Thresholdfloat15.0i_vix_low
VIX Medium Thresholdfloat25.0i_vix_medium
VIX High Thresholdfloat35.0i_vix_high
Max Daily Loss %float8.0i_max_daily_loss
Stop Loss %float3.0i_stop_loss_pct
Take Profit %float5.0i_take_profit_pct
Momentum Periodint20i_momentum_length
RSI Periodint14i_rsi_length
Show all 13 settings
SettingTypeDefaultVariable
ATR Periodint14i_atr_length
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

ARR VWAP Intraday

by hasnocool
106 stars

This strategy plots VWAP on the price chart and trades only between a start hour and an end hour. It enters long when VWAP is rising and RSI is above a threshold, and short when VWAP is falling and RSI is below a threshold. If the reversal option is on, it clo

Strategy v4 Oscillators & momentumVolume Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of ARR VWAP Intraday
53 stars

This strategy enters long or short on the price chart when price is on the correct side of a 200-period EMA, MACD agrees, RSI is not at the opposing extreme, ADX exceeds a threshold, volume beats a 20-bar average, and close breaks the recent high or low. A tim

Strategy v6 TrendOscillators & momentum
Updated 2 months ago · MPL-2.0 GitHub repository of BTCUSD 5M Optimized Strategy
43 stars

Donald - AI Futures is a price-chart strategy that estimates inner and outer high-low zones and a smoothed close with rational quadratic kernel regression. It builds bullish and bearish momentum signals, optionally compares volume with a volume-weighted moving

Strategy v5 Oscillators & momentumSMC / ICT / price action Repaints
Updated 2 years ago · None stated GitHub repository of Donald - AI Futures

Turtle MACD Time-Zone Filter

by skywalker0803r
42 stars

This strategy enters long when price closes above the prior Donchian high and short when it closes below the prior Donchian low, only while flat and inside a Taipei-hour window. It exits on a MACD histogram reversal or through an ATR stop and a percentage take

Strategy v5 BreakoutOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Turtle MACD Time-Zone Filter

Morning Scalp

by benso87
24 stars

This strategy tracks an opening session time range to establish directional bias and triggers pullback trades using Stochastic RSI. Once price breaks out of the initial range, it establishes a directional bias and enters when the Stochastic RSI crosses over in

Strategy v5 Sessions & timeBreakout
Updated 4 years ago · MPL-2.0 GitHub repository of Morning Scalp

XAUUSD SMC Bot

by GifariKemal
15 stars

This strategy plots on the XAUUSD price chart and looks for Smart Money Concepts entries on the fifteen-minute timeframe. It scores fair value gaps, order blocks, liquidity sweeps, break of structure, and change of character, plus EMA, RSI, MACD, and higher-ti

Strategy v5 SMC / ICT / price actionOscillators & momentum
Updated 8 months ago · None stated GitHub repository of XAUUSD SMC Bot

More strategys

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers