Strategy · Pine Script v5 · On the chart

Modified Asia Sweep

by HibrowSamuvelChristin

Modified Asia Sweep is a futures strategy sample built around the Asian and London sessions, with session hours and time zone as inputs.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code132
Settings24inputs
LicenceCustom licence
Last update1 year ago8 Oct 2025

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

Modified Asia Sweep draws session ranges, Asian swing points, market structure and break of structure lines. Position size can be set by a fixed USD risk per trade using the micro Nasdaq point value, or by a fixed contract count. An ATR stop loss option and a cutoff before session end are included. The author states the core entry and exit logic is removed from this sample.

Details

Published by

HibrowSamuvelChristin on GitHub

Type

Strategy, Pine Script v5

Draws

On the price chart

Category

Sessions & time, SMC / ICT / price action

Markets

Indices

Timeframes

M15-H1

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

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

SettingTypeDefaultVariable
Show Asian Sessionbooltrueshow_asian
Show London Sessionbooltrueshow_london
Show Asian Swing Pointsbooltrueshow_swing_points
Show Market Structurebooltrueshow_market_structure
Show Break of Structurebooltrueshow_bos
Asian Session Start Hourint22asian_start_hour_input
Asian Session End Hourint3asian_end_hour_input
London Session Start Hourint3london_start_hour_input
London Session End Hourint8london_end_hour_input
Session TimezonestringAmerica/New_Yorksession_timezone
Use ATR Multiplier for Stop Lossboolfalseuse_atr_sl
ATR Lengthint14atr_length
Show all 24 settings
SettingTypeDefaultVariable
ATR Multiplier for Stop Lossfloat2.0atr_multiplier
Minutes Before Session End to Stop New Tradesint60cutoff_minutes
Position Sizing MethodstringUSD Riskposition_sizing_method
USD Risk Per Tradefloat100.0usd_risk_per_trade
Fixed Number of Contractsfloat1.0fixed_contracts
Point value (MNQ = $2/pt)float2.0pointValue
Asian Session Colorcolorcolor.redasian_color
London Session Colorcolorcolor.bluelondon_color
Swing High Colorcolorcolor.orangeswing_high_color
Swing Low Colorcolorcolor.limeswing_low_color
Break of Structure Colorcolorcolor.orangebos_color
Line Widthint2line_width
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

Try Trading Future

by dearvn
257 stars

This futures trading strategy combines Fair Value Gap (FVG) detection filtered by Average True Range (ATR) with multi-timeframe Exponential Moving Averages (8, 55, and 165 lengths). It identifies entry setups during a defined intraday trading session window wh

Strategy v5 SMC / ICT / price actionMoving averages Repaints
Updated 6 weeks ago · None stated GitHub repository of Try Trading Future

Daily Bias + FVG Strategy

by TradersPost
218 stars

This overlay strategy plots previous-day high and low, the daily open, and fair value gap zones on the price chart. It takes entries on a selectable timeframe when the FVG requirement and an optional session window allow them, then uses an ATR or fixed pip sto

Strategy v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of Daily Bias + FVG 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

P404 Smoke

by Musyimi97
16 stars

P404 Smoke is a price-chart strategy that sequences an optional higher-timeframe EMA bias, a liquidity range from recent pivots, a sweep of buy-side or sell-side liquidity, and a market structure shift within a set bar window. Comments state it then looks for

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · MIT GitHub repository of P404 Smoke

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

NQ 9:45-10:15 ICT Strategy

by eddiebelaval
7 stars

This ICT-based strategy trades during the 9:45 AM to 10:15 AM New York session window. It calculates a daily bias using a 20-period daily EMA and tracks previous day highs and lows to identify liquidity sweeps. The script refines order block entry levels and m

Strategy v6 SMC / ICT / price actionSessions & time Repaints
Updated 3 months ago · None stated GitHub repository of NQ 9:45-10:15 ICT Strategy

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