OPEN-SOURCE SCRIPT

Evolution Fractals with IB

Telah dikemas kini
A standard fractal high has two lower high (or equal high) candles to its left and right.
For standard fractal low fractals this is vice versa.

-But this indicator plots has the option to plot standard fractals only after candle close is confirmed.
So if the current candle is still forming in live markets, only after this candle has fully closed, then the indicator checks if the fractal is valid and then plotted.
You can select this option On or Off
(with the standard fractal indicator there is a fractal plotted, but when this candle high (or low ) is broken again, the fractal disappears. This re-painting of fractals can cause confusion.

-Added an alert functionality.
When setting an alert on your chart, you can select this indicator to alert you upon the forming of a new fractal high or low.

-Added optional Inside Bar function.
When a candle High/Low does not breach the previous candle High/Low, then a different body color can be shown.
This is particular handy to quickly if this high/low is breached, without having to zoom in on the chart.
Nota Keluaran
Added remark to switch Off the 'Plot only confirmed fractals' option, during backtest/replay
Nota Keluaran
Made the Inside Bar a 'real' inside bar.
So the high must be lower than the previous high and the low must be higher than the previous low.
Nota Keluaran
// Added option to plot the Inside Bar only when the current bar has closed. (Choosing a white inside bar color on a white background, could cause the price line and price on the scale to disappear (both white))
evolutionFractalfractalhighfractallowInside Bar

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


Contact: evolutionranger1@gmail.com

Penafian