Market StructureMarket Structure
The Market Structure is important to be able to establish areas of rejection or possible break,
to determine channels, points of possible reversals or trend breaks.
So we can use them as support and resistance zones for stoploss and take profit.
- This indicator will automatically show the market structure.
- Allows you to calculate the levels with the closing of the candles as well as with the highs and lows
- You can change the number of levels on the screen with the intensity adjustment
- Extended levels are shown as well as at the end of the graph to avoid noise when making technical analysis
- Visually you can modify the style, color, thickness of the level lines
- This indicator is multi-time, so you can check the structure of other temporalities, for example see the levels corresponding to 1D while the graph is H4
- Green lines are the resitance levels and red lines are support levels, these will automatically change color according to the current price
BTC 1W
EURUSD 1W
ETHUSDT 1D
Structure
Volume Supply and Demand ZonesDraws supply and demand zones of 3 types, based on 3 different volume threshold parameters.
The timeframe of the script is fixed (you can change it in the options), so for example it is possible to keep Daily S/D zones while looking at 1h chart.
Dynamic Structure IndicatorThis is a dynamic structure indicator designed to map potential support and resistance zones (in all markets). It does this by looking back x amount of candles to identify major swing highs and lows on the specified reference timeframe, and then it draws a zone between the highest/lowest wick and the highest/lowest candle close across the chart until a new zone is created.
The settings are important because it gathers data from a separate reference timeframe, so sometimes it will map zones that aren’t really appropriate for lower timeframes. On lower timeframes (1Hr and under) I’d recommend setting the reference timeframe to your actual trading timeframe and increasing the lookback period to fine-tune the zone mapping. The script is set for 4 Hour forex charts by default.
Please note: the max zone option is disabled by default because it is different for every instrument, but this is a useful feature that I recommend using. Sometimes the indicator picks up huge gaps that aren’t really considered support or resistance zones. If this happens to you, use the zone size settings to invalidate huge (or tiny) zones. The zone size is in pips.
To be honest I didn’t get this indicator to be quite as accurate as I envisioned and it’s still a work in progress as I learn pine script, but this is the best I’ve been able to get it to function and with the right settings it works fairly well so I figured I might as well release this first version. Maybe someone with better skills than me can help refine it to more accurately identify major fractals and levels - if so, please get in touch! All traders should be able to identify their own major levels by eye anyway, but this script is intended to be a building block for future signal indicators I wish to develop.
Last of all - please don’t use this indicator to trade blindly! Often price will blast right through these zones and the zones aren’t always accurate. Remember that structure levels only work if they’re obvious to other traders, and always wait for confirmation signals that meet your trade plan rules before entering trades – especially reversals or counter-trend trades.
If you have any questions or tips to improve the script, feel free to leave a comment or private message me.
Enjoy, and good luck out there :)
- Matt.




