Page 1 of 1

A TRO Indi for 3 Bar Fractal?

Posted: Wed Sep 27, 2023 8:04 am
by nonibadsha
Hi TRO,

I need some help please, to figure out which one of your indicators will draw horizontal lines at a 3 bar fractal for the Daily, H4 and H1.
I currently have an indicator that does exactly what I want, but unfortunately it slows down Mt4 when flicking through the various TFs and charts.

Let me try to explain better with some charts.

AUDUSD.proDaily.png
AUDUSD.proDaily.png (60.09 KiB) Viewed 1596 times


In the above AUDUSD Daily chart you can see Red horizontal lines starting at the high and low of a 3 bar fractal. The lines that have been crossed are hidden.

AUDUSD.proH4.png
AUDUSD.proH4.png (76.06 KiB) Viewed 1596 times


In the above AUDUSD H4 chart you can see Yellow horizontal lines starting at the high and low of a 3 bar fractal. At the same time we can see the Red horizontal lines from the Daily TF. Lines that have been crossed on the Daily and H4 TFs are hidden.

AUDUSD.proH1.png
AUDUSD.proH1.png (55.72 KiB) Viewed 1596 times


In the above AUDUSD H1 chart you can see Green horizontal lines starting at the high and low of a 3 bar fractal. At the same time we can see the Red and Yellow horizontal lines from the Daily and H4 TFs. Lines that have been crossed on the Daily, H4 and H1 TFs are hidden.

AUDUSD.proM1.png
AUDUSD.proM1.png (50.18 KiB) Viewed 1596 times


In the above AUDUSD M1 chart we can see all the lines from the higher TFs that have not been crossed.

I would really appreciate your help, if you could kindly point me in the right direction.
I did try the HL5 indicator, but could not figure out how to make it do what I want.

Re: A TRO Indi for 3 Bar Fractal?

Posted: Wed Sep 27, 2023 8:56 am
by nonibadsha
Hey TRO,

I just downloaded the latest Motherload and found the MTF Fractal indi.
Is it possible to modify it to hide lines that have been crossed?

Re: A TRO Indi for 3 Bar Fractal?

Posted: Wed Sep 27, 2023 12:16 pm
by TheRumpledOne
Yes, it is possible. But I gave up believing in fractals a long time ago.

Re: A TRO Indi for 3 Bar Fractal?

Posted: Wed Sep 27, 2023 12:48 pm
by nonibadsha
Hmm Ok.
Last time I coded was back in Uni, 20 years give or take.
I'll see if I can check one of your other indis to get hints.
Thanks.

Re: A TRO Indi for 3 Bar Fractal?

Posted: Thu Sep 28, 2023 1:07 pm
by TheRumpledOne
Use code from TRO_HL5.