RrBc2

Simple Market Structure

This indicator is meant for education and experimental purposes only.

Many Market Structure Script out there isn't open-sourced and some could be complicated to understand to modify the code. Hence, I published this code to make life easier for beginner programmer like me to modify the code to fit their custom indicator.

As I am not a expert or pro in coding it might not be as accurate as other reputable author.
Any experts or pros that is willing to contribute this code in the comment section below would be appreciated, I will modify and update the script accordingly as part of my learning journey.

It is useful to a certain extend to detect Market Structure using Swing High/Low in all market condition.

Here are some points that I am looking to improve / fix:
  • To fix certain horizontal lines that does not paint up to the point where it breaks through.
  • To add in labels when a market structure is broken.
  • Allow alerts to be sent when market structure is broken (Probably be done in the last few updates after knowing it is stable and as accurate as possible)

Any suggested improvement, please do let me know in the comment section below and I will try my best to implement it into the script.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?