Skip to main content

SAR ( Stop & Reverse ) for Amibroker (AFL)

niladri over 14 years ago Amibroker (AFL)

  • Rating:
    2 / 5 (Votes 4)
  • Tags:
    amibroker

This SAR ( Stop & Reverse ) System rules are very simple for trading.

After hitting SAR value [Long/Short] you can reverse the trade with 20-30 point stoploss and hold until next reverse SAR value get’s breach.

For target’s use next MID pivots ( towards the direction of the trade ).

A Toggle parameter is given to clear the SAR lines from chart when not reqd.

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN(" 5DMA-SAR ");
// IF SAR LINE is constant for more than 2 days, this indicates either Accumulation/Distribution //
// IF SAR levels are rising on daily basis this signifies consistency of the current trend //

FS=Param("Font Size",30,11,100,1);
GfxSelectFont("Times New Roman", FS, 700, True ); 
GfxSetBkMode( colorWhite );  
GfxSetTextColor( ParamColor("Color",colorBlue) ); 

Hor=Param("Horizontal Position",700,1,1200,1);
Ver=Param("Vertical Position",1,1,830,1); 

TC=TimeFrameGetPrice("C",inDaily,0);
YYC=TimeFrameGetPrice("C",inDaily,-1);
DFYC=TimeFrameGetPrice("C",inDaily,-2);
DFYC1=TimeFrameGetPrice("C",inDaily,-3);
DFYC2=TimeFrameGetPrice("C",inDaily,-4);
SAR1=Prec((TC+YYC+DFYC+DFYC1+DFYC2)/5,0);
GfxTextOut("SAR="+SAR1, Hor , Ver );

SaaR = ParamToggle("SAR","Show|Hide",1);
if(SaaR==1)  
{
Plot (SAR1,"",colorBlue,styleDots|styleNoLine|styleNoRescale|styleNoTitle);
}
_SECTION_END();

6 comments

1. niladri
over 14 years ago

The image attached is wrong … please check the correct image here: http://www.wisestocktrader.com/indicators/2705-true-price-action-indicator

3. classy
about 14 years ago

The image attached is wrong … please check the correct image here: http://www.wisestocktrader.com/indicators/2705-true-price-action-indicator//how funny ..you told earlier post n result is same no correct image..why this colavori D

about 13 years ago

@rajathtrader formula and description match mistakes happen…relax its a free formula

Leave Comment

Please login here to leave a comment.