Skip to main content

Pullback Strategy for Amibroker (AFL)

mohit1985khera@gmail.com almost 9 years ago Amibroker (AFL)

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

Pullback strategy with buy and sell signal.This strategy uses 50 SMA and 8 period RSI.

Indicator / Formula

Copy & Paste Friendly

C1 = L <= LLV(L,5);
C2 = C >= H-((H-L)*0.25);
C3 = C > MA(C,50);
C4 = RSI(8) >= 50 ;

Buy = C1 AND C2 AND C3 AND C4 ;

C5 = H>= HHV(H,5);
C6 = C <= L+((H-L)*0.25);
C7 = C < MA(C,50);
C8 = RSI(8) <= 50 ;

Sell = C5 AND C6 AND C7 AND C8 ;

Filter = Buy OR  Sell; 
AddColumn(Buy,"Buy");
AddColumn(Sell,"Sell");

0 comments

Leave Comment

Please login here to leave a comment.