+91-0000000000

}

Monday – Friday : 9:00 AM – 6:30 PM

Fractal

Fractals in trading represent repetitive patterns found within price charts, indicating potential reversal or continuation points. Amibroker AFL facilitates the creation of algorithms to recognize these fractal patterns. With Amibroker data feed integration, traders can efficiently identify and analyze fractals in real-time, enhancing their decision-making process based on these price patterns.

/_SECTION_BEGIN("Fractal # 1 Direction");
FractalUp1 = IIf((L < Ref(L,2) AND L < Ref(L,1) AND L < Ref(L,-1) AND L < Ref(L,-2)),1,0);
FractalDown1 = IIf((H > Ref(H,2) AND H > Ref(H,1) AND H > Ref(H,-1) AND H > Ref(H,-2)),1,0);

FractalSupport1 = ValueWhen(FractalUP1,L,1);
FractalResistance1 = ValueWhen(FractalDown1,H,1);

Upp1 = Cross(H,Ref(FractalResistance1,-2));
Downn1= Cross(Ref(FractalSupport1,-2),L);

Plot(Upp1, "",5);
Plot(Downn1, "", 4);
_SECTION_END();

Open chat
1
Hi, how can I help you?