SAR Afl Needed

#1
I want an afl for SAR indicator showing green coloured signals in buying mode and red coloured signals in selling mode... Please help me...
 

hitesh

Active Member
#2
I want an afl for SAR indicator showing green coloured signals in buying mode and red coloured signals in selling mode... Please help me...
Try this code:-

_SECTION_BEGIN("SAR");
acc = Param("Acceleration", 0.02, 0, 1, 0.001 );
accm = Param("Max. acceleration", 0.2, 0, 1, 0.001 );
Col = IIf(SAR( acc, accm ) > C,colorRed,colorGreen);
Plot( SAR( acc, accm ), _DEFAULT_NAME(), col, ParamStyle("Style", styleDots | styleNoLine, maskDefault | styleDots | styleNoLine ) );
_SECTION_END();
 

Similar threads