PROTECTED SOURCE SCRIPT

Market Structure Bias_ed

Updated
Identify trends:
based on William Fractal pivots,
market structure shifts with bar close
wicks based on standard deviation
Release Notes
added a conservative bias strategy based only on market structure break of pivots which led to HH or LL.
Release Notes
added 3 Bar Swings as bias strategy, which selects swings based on 3 bars only including previous and next bar.
Release Notes
fixed bug which caused wrong bias shifts for conservative and 3 bar swings strategies.
Release Notes
  • add 'show boundary' option
    add 'show pivots' as labels or arrows option
    fix minor bugs for conservative and 3 bar swings strategy
Release Notes
  • For conservative and 3 bar swing bias strategies, use absolute pivotsfor market structure boundary instead of the most recent one.
    Allow equal wicks for 3 Bar Swings
Release Notes
  • Use 3 bars swing for all bias strategies.
  • Set Conservative as default strategy.
  • Fix minor MS boundary bugs.
Release Notes
Remove redundant pivot windows size setting.
Release Notes
Make Radical MS boundary depend on close price instead of wick.
Release Notes
fixed some problems occuring at the MS break boundary bar for Conservative strategy.
Release Notes
fix bugs occuring around market structure boundaries due to swing definition
Release Notes
fix bug related to market structure boundaries
Release Notes
change default settings
Release Notes
fix market structure boundary bugs for Radical strategy
Release Notes
  • fix a bug about boundary
  • add alertcondition for close
Trend AnalysisWilliams Fractal

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?

Disclaimer