Category Trend  Published on 20/08/2012

Fractals

Description

The basic Fractals are created with 5 or more bars. With 5 bars, if the highest high is in the middle of the two lower highs on each side an up fractal is generated. Conversely, a down fractal is created when the lowest low is in the middle of two higher lows on each side. Since the fractal can only be created two bars later it is considered a lagging indicator, but if it is assumed that the reversal will last for more bars then the trend will remain as is.


u

SP
spka111

Joined on 16.08.2012

  • Distribution: Free
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: Fractals.algo
  • Rating: 4.17
  • Installs: 19575
  • Modified: 13/10/2021 09:55
Comments
Log in to add a comment.
TW
TWiLiGHTFX · 2 years ago

Hi aksbenz would you do any paid work for a custom variant of your Fractals Multi Timeframe indicator.??  My Twitter handle is @MattHen39504035

AK
AK
aksbenz · 2 years ago

New with Multi Timeframe support:
https://ctrader.com/algos/show/2925

SA
samit.dar · 3 years ago

Can we get email notification with this indicator ?

CT
ctid491219 · 4 years ago

Thias indicator is very important (sp tx for making it). But like matt92 points out there is an annoying problem with the code: It prints the dot before the 5th candle has closed AND more important: If it is no longer a fractal when the 5th bar is closed it doesn't repaint so a wrong fractal is shown. You then have to choose another timeframe and go back again to make the wrong fractals disappear. Isn't ther some easy way to code the indicator not to paint the dot until the 5th candle is closed?

FE
fetileventakcin · 5 years ago

Hi Sir. 

I am using cTrader Desktop. And I can not make the Up and Down Fractals icon bigger. Despite I select the thickest linetype, it is not effecting the size of the icons. Could you please help me? 

 

Regards. 

Levent

matt92's avatar
matt92 · 5 years ago

Does this indicator repaint? because it is printing the dot before the 5th candle has closed if all other criteria is met..

SI
sifneosfx · 5 years ago

This is how to use it in a cBot: https://ctrader.com/algos/cbots/show/2016

SC
scottagaul · 8 years ago

The description explains why that High does not show.

"Since the fractal can only be created two bars later it is considered a lagging indicator..."

DI
dima1302 · 9 years ago

I found that it's not always show fractals correct. Look at the screen shot. Last high-fractal shouldn't appear in that place, becourse second high after it is much higher. http://fxpro.ctrader.com/c/LpRyn

hjtgcosta's avatar
hjtgcosta · 10 years ago

Is it possible to give a margin on the fractals so that they are not glued to the candlestick ?

Would be much more readble.

 

Thanks in advande.

IT
itaiophir · 10 years ago

Hi there,

this indicator looks good and i would like to use within a cBot.

i'm trying to understand what is the "index" parameter used in methods in order to re-write the code.

how can you help me with that?

thanks,

Itai