OPEN-SOURCE SCRIPT

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.
BOSCandlestick analysisChart patternsmarketstructureMSBPivot points and levelsswinghighbreakswinghighlow

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad