salacki / Publications
Forum
SAR strange values ONLY on direction changes
I'm creating basic EA, using SAR. The problem is when the direction of SAR changes i get strange values of SAR. Working of advisor: When SAR changes its direction, it detects whether it goes up or down, and open trade. int OnInit() { . . . sarHandle = iSAR(_Symbol,PERIOD_M1,0.02,0.2); . . . } void