Strategy · Pine Script v5 · On the chart

JAT+BSM Pro v13 Extended

by majixai

JAT+BSM Pro v13 Extended is a multi-timeframe trading strategy overlay that combines kinematic regression models, Bayesian inference, and consolidation zone analysis.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code2,619
Settings40inputs
LicenceNone stated
Last updatetoday28 Oct 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

JAT+BSM Pro v13 Extended processes multi-layer volatility bands, volume profile buckets, and pattern structure targets across short, medium, and long timeframes to project market trend trajectories. User settings allow tuning of volatility multipliers, Bayesian lookbacks, model weighting, pattern tolerances, and cross-asset synergy requirements on the price chart.

Details

Published by

majixai on GitHub

Type

Strategy, Pine Script v5

Draws

On the price chart

Category

Trend, Volatility & bands, Support & resistance, AI / machine learning

Markets

Any symbol

Timeframes

M15-H1, H4 and above

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
Base Vol Coefficientfloat1.5b_cf
Common Periodint14al_pr
Sourcesourcecloseal_sr
HTF Background TFtimeframe15hf_in
Layer 1 Period (Micro)int20c_l1
Layer 2 Period (Macro)int40c_l2
Layer 3 Period (Global)int80c_l3
Volume Profile Bucketsint10vp_bk
Breakout Fib Multiplierfloat1.618bk_ml
Show Candlestick Labelsbooltruesh_cp
Draw Macro Pattern Linesbooltruesh_mp
Pivot Lookbackint10pv_lb
Show all 40 settings
SettingTypeDefaultVariable
Pattern Tolerance (%)float0.02st_tl
Bullish Pattern Colorcolorcolor.new(color.lime, 0)p_clB
Bearish Pattern Colorcolorcolor.new(color.red, 0)p_clR
Short Conic TFtimeframe5tf_sh
Medium Conic TFtimeframe15tf_md
Long Conic TFtimeframe60tf_lg
Short Conic LBint10kn_lb_s
Medium Conic LBint20kn_lb_m
Long Conic LBint40kn_lb_l
Bayesian Horizon Offsetint20by_hz
Feedback Learn Ratefloat0.1lr_rt
Bayesian Lookbackint500by_lb
Enable Mean Reversion Gravitybooltrueen_mr
Conic Refresh ModestringAfter target hit/missup_md
Model Weights (Kin / Bayes / MR)text1.0 0.5 0.2 0.2 1.0 0.5 0.5 0.2 1.0wt_in
Require Cross-Asset Synergybooltruerq_syn
Relaxed Synergy (any 1 of 3)booltruerl_md
MACD Fast Lengthint12f_ln
MACD Slow Lengthint26s_ln
MACD Signal Lengthint9sg_ln
Primary SymbolsymbolNASDAQ:AAPLs_1
Correlation Symbol 2symbolNASDAQ:MSFTs_2
Correlation Symbol 3symbolNASDAQ:GOOGs_3
Max Concurrent Tradesint3mx_tr
Stop ATR Multiplierfloat1.1rk_bf
Target Risk:Rewardfloat2.0rw_ml
Risk-Free Ratefloat0.05rf_rt
Days to Expirationfloat30.0t_ex
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

257 stars

This strategy plots VWMA-based Bollinger bands on the 1-minute ES futures price chart for volatility analysis and potential breakout identification. It calculates dynamic long and short stop loss and take profit levels using percentage inputs relative to entry

Strategy v6 Volatility & bandsSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of V1.6 ES - Futures 1M No Repaint

Nasdaq Prop Firm Strategy

by TradersPost
218 stars

This strategy uses multiple VWAP anchors and a custom Lull indicator to generate buy and sell signals on the Nasdaq price chart. It plots the VWAP trend line and three VWAP anchors with customizable colors and mitigation methods. The Lull indicator produces si

Strategy v6 TrendSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of Nasdaq Prop Firm Strategy

This strategy implements a single-layer perceptron machine learning model built from scratch to generate trading signals directly on the price chart. It calculates predictions based on sample size, threshold settings, and optional volatility or volume filters.

Strategy v5 AI / machine learningTrend
Updated 1 year ago · None stated GitHub repository of Machine Learning: Perceptron-Based Strategy [5] (v.3)
106 stars

This overlay strategy plots a two-timeframe Ichimoku setup on the price chart, with Tenkan, Kijun, Chikou, and Kumo from a base higher timeframe and an optional highest-timeframe cloud. It allows two entries in the same direction and uses ATR-based trailing st

Strategy v4 TrendVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of 2Tier Ichimoku Pyramiding [Takazudo]

This strategy implements a multi-stage trend following system inspired by John W. Seykota. It generates long and short entries when price breaks above or below Donchian channels of specified length. Each entry adds a unit sized to risk a fixed percentage of cu

Strategy v6 TrendVolatility & bands
Updated 11 months ago · None stated GitHub repository of Seykota Alt 29: Multi-Stage Scaling
11 stars

Calculates upper and lower Donchian Channel bands over a customizable lookback length and plots them on the main price chart. At a specified exchange hour, the strategy places a long buy stop order at the upper Donchian Channel level. Unfilled pending orders a

Strategy v6 BreakoutSupport & resistance
Updated 5 months ago · Apache-2.0 GitHub repository of Estrategia Donchian Breakout

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