In this fractal indicator you can set an arbitrary number of bars both to the left and to the right of the centre bar to allow you to build different types of fractals.
Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/51001
TimeBar
A simple information indicator that shows the remaining time until the bar closes, as well as the time elapsed since the bar opened and the current time.
OHLC Candles with extreme tick price tracking
This is an OHLC candlestick chart which records the highest ask and lowest bid on each new bar
Find Pin Bars
The indicator searches the chart for Price Action patterns "Pin Bar" and puts icons on the bar with the found pattern.
Delete Trading History
The script removes all autotrading icons from the current chart