Skip to main content

3day Scan for Amibroker (AFL)

kaleem over 15 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    amibroker, trading system

3day scan for bullish and bearish moves.

Indicator / Formula

Copy & Paste Friendly
// 3day Scan by Kaleem

PlotOHLC(O,H,L,C, "",9, style=styleCandle);

bulle=O<Ref(C,-1) AND O<Ref(O,-1) AND C>Ref(C,-1)AND C>Ref(O,-1)AND L<Ref(L,-1) AND Ref(L,-1)<Ref(L,-2); 
beare=O>Ref(C,-1) AND O>Ref(O,-1) AND C<Ref(C,-1)AND C<Ref(O,-1)AND H>Ref(H,-1) AND Ref(H,-1)>Ref(H,-2); 


PlotShapes( bulle * shapeUpArrow, colorGreen, 0, L, -20 );

PlotShapes( beare * shapeDownArrow, colorRed, 0, H, -20 );
pr=C>200;

Buy=bulle AND pr;
Sell=beare AND pr;

0 comments

Leave Comment

Please login here to leave a comment.