Can any body make this 3 inside bar strategy afl?

Bewinner

Well-Known Member
#21
Code:
IB1		=	Ref(H,-1) < Ref(H,-2) AND Ref(L,-1) > Ref(L,-2) AND H < Ref(H,-1) AND L > Ref(L,-1);
IB2		=	Ref(H,-1) < Ref(H,-2) AND Ref(L,-1) > Ref(L,-2) AND H < Ref(H,-2) AND L > Ref(L,-2);
IB3		=	Ref(IB2,-1) AND H < Ref(H,-3) AND L > Ref(L,-3);
IB4		=	Ref(IB3,-1) AND H < Ref(H,-4) AND L > Ref(L,-4);
IB5		=	Ref(IB4,-1) AND H < Ref(H,-5) AND L > Ref(L,-5);
IB6		=	Ref(IB5,-1) AND H < Ref(H,-6) AND L > Ref(L,-6);
IB7		=	Ref(IB6,-1) AND H < Ref(H,-7) AND L > Ref(L,-7);
Shape	=	IIf(IB7,shapeDigit7, IIf(IB6,shapeDigit6,  IIf(IB5,shapeDigit5, 
			IIf(IB4,shapeDigit4, IIf(IB3,shapeDigit3,  IIf(IB1,shapeHollowStar, 
			IIf(IB2,shapeDigit2, shapeNone)))))));
PlotShapes(Shape,colorLightGrey,0,L,-30);
More elaborate code to mark IB2-IB7 candles hollow star is the 3 bar triangle originally requested by BW

neat piece of code but i feel it clutters the charts, I prefer cleaner chart as these kind pf congestions are easily spotted on the charts



Happy :)




Finally some follow-through on BNF
Thanks Happy Singh...

This is too much I think...I will check what all other things means...:):thumb:
 

Similar threads