Strategy · Pine Script v5 · On the chart

Squarify v2 BT

by nishpa800

A strategy backtest version of a 46-signal study that combines standard deviation displacement, pullback pockets, relative volume tiers and fair value gap structures.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code2,456
Settings40inputs
LicenceNone stated
Last update2 months ago20 Aug 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

Each enabled signal can trigger a buy or sell on the price chart. Inputs set three displacement multipliers, a first-bar-only switch and per-signal toggles. Position size is a percent of equity with a small commission, and no stop loss is set by default.

Details

Published by

nishpa800 on GitHub

Type

Strategy, Pine Script v5

Draws

On the price chart

Category

Volume, SMC / ICT / price action

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • The strategy enters trades without a stop loss

Settings

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

SettingTypeDefaultVariable
First Bar Onlyboolfalsemaster_firstBarOnly
Aggregate Alertsbooltruemaster_aggAlerts
Range TypestringOpen to Closed1_type
Std Dev Lengthint100d1_len
Std Dev Multiplierfloat5.0d1_mult
Range TypestringOpen to Closed2_type
Std Dev Lengthint100d2_len
Std Dev Multiplierfloat2.5d2_mult
Range TypestringOpen to Closed3_type
Std Dev Lengthint100d3_len
Std Dev Multiplierfloat1.5d3_mult
1. SD!booltrueen_1
Show all 40 settings
SettingTypeDefaultVariable
2. SUPERbooltrueen_2
3. HWbooltrueen_3
4. FLOORbooltrueen_4
5. 2Fbooltrueen_5
6. UUUUbooltrueen_6
7. UUUbooltrueen_7
8. UUbooltrueen_8
9. A★booltrueen_9
10. ΩAbooltrueen_10
11. FOXbooltrueen_11
12. ODbooltrueen_12
13. GOLFbooltrueen_13
14. PBJ+F2/E3booltrueen_28
15. PBJ+CLbooltrueen_29
16. F2CL→E3booltrueen_30
17. E3⅔PPbooltrueen_33
18. F2×2Dbooltrueen_34
19. E3×2Dbooltrueen_35
20. F2E3seqbooltrueen_36
21. CL×2Dbooltrueen_37
22. NPM+booltrueen_38
23. NPM12booltrueen_39
24. NPM3booltrueen_41
25. B2BNPMbooltrueen_42
26. NPM+TNTbooltrueen_43
27. CObooltrueen_44
28. HVD+PBJbooltrueen_45
29. B2BHVD+PBJbooltrueen_46
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

12 stars

This strategy plots on the price chart and looks for three-candle fair value gaps and inverse gaps on Bitcoin. It enters long when a wide enough bullish gap appears in an uptrend with RSI above 30 and volume above its average, and short on the opposite bearish

Strategy v6 SMC / ICT / price actionTrend Repaints
Updated 4 months ago · None stated GitHub repository of BTC 4h FVG/iFVG Strategy

Wyckoff Phase

by muammeryldrm42
7 stars

This strategy identifies Wyckoff consolidation ranges directly on the price chart to trade potential spring and upthrust events. It calculates highest highs and lowest lows over a customizable lookback period, filtering setups by average volume spikes and ATR

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · MIT GitHub repository of Wyckoff Phase

ICT ORB Strategy

by alboogycOdR
6 stars

This strategy backtests opening-range breakouts on the price chart for New York, London, Asia, or a custom session. Simple mode follows the opening-range direction when relative volume is high enough. ICT mode can require a fair value gap, displacement, and an

Strategy v5 BreakoutSMC / ICT / price action Repaints
Updated 7 months ago · None stated GitHub repository of ICT ORB Strategy

PropFirm Elite Strategy - QuantAlgo

by thesenegalesehitch
4 stars

This price-chart strategy scores Smart Money Concepts setups from break of structure, fair value gaps, order blocks, and volume spikes. A minimum score, optional London and New York killzones, and four-hour plus daily bias filter entries. Position size uses a

Strategy v6 SMC / ICT / price actionSessions & time
Updated 4 months ago · Custom licence GitHub repository of PropFirm Elite Strategy - QuantAlgo

The Judas Indicator

by regardhodler
3 stars

The Judas Indicator strategy calculates a multi-factor composite score combining Volume Profile High Volume Nodes, Cumulative Volume Delta (CVD), pivot proximity, volume absorption, order imbalance, and higher-timeframe trend EMAs. It triggers trade entries wh

Strategy v5 TrendVolume
Updated 8 months ago · None stated GitHub repository of The Judas Indicator

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