Lenny_Kiruthu

MTF Break of Structure(BOS) & Market Structure Shift(MSS)

Lenny_Kiruthu アップデート済   
Brief Introduction
Hello fellow traders and coders, let me introduce to you the ultimate multi time-frame market structure indicator to cater to all your market structure needs. The script is extremely customizable with a maximum of 3 time-frames since I love top down analysis as I’m sure you do to, so without wasting any more time here are the available features.

List of Features
  • A maximum of 3 time-frames that can all be customized independently.
  • The ability to change individual swing lengths that create the market structure plots, all time-frames will come set at 7, you can however set this to whatever you are comfortable with.
  • BOS (Break of Structure) and MSS (Market Structure Shift) functionality fo all the individual time-frames.
  • The option to show market structure in the form of HH (Higher highs), HL (Higher Lows), LL (Lower Lows) and LH(Lower Highs).
  • The ability to either use (highs and lows) or closes for breaks of structure and market structure shifts, meaning a break of structure will only be valid if either a high or close (depending on your chosen input) crosses above the previous high for a bullish structural break.
  • The ability to change lines types for BOS and MSS.
  • The ability to change text sizes for the all the plots.
  • The ability to change the colors for nearly anything on the chart independently of any other line or plot.
  • The ability to change any time-frame to the chart’s time-frame.
  • The ability to prevent lower time frame structure from showing on higher time frames which I don’t advice as it will provide you with an inaccurate perception of the lower time frame structure hence I’ve made the feature available but set it to false.
  • The script also has a section called general settings that will allow you to hide all the market structure plots as well as all the lines on the chart and on all time-frames using just one input.

General Settings Functionality.
  • Input 1 if true will hide all market structure if true
  • Input 2 if true will hide all structural breaks (BOS and MSS)
  • Input 3 if false will show lower time frame structure on a higher time frame. High advice using it while its true as I work on this feature as it provide an innacurate depiction of structure.


リリースノート:
Fixing a request security bug and updating an already existing function.
リリースノート:
  • Fixing a bug in the month's multi time-frame code.
リリースノート:
Hello traders so the latest update is the ability to set alerts either BOS or MSS on any timeframe.
The user has the ability to choose what alert to use by setting them in the scripts user inputs as boolean inputs, then proceed to activating the any alert function in the dialog box make sure to activate the alerts you want before activating the any alert function.
All the alerts come set as true allowing the user to just choose their timeframes and use the any alert function.

Important details to notes
  1. The alerts can be set as user inputs in the scripts input settings.
  2. The alerts are then activated using the any alert function in the alert dialog box.
  3. You should set your needed alerts in the script before using the any alert function.
  4. All alerts come set as true
リリースノート:
  1. Changed the User Interface to improve readability.
  2. Added inputs to hide BOS or MSS on any time-frame.

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?