This indicator is a ported MQL4 indicators from viewtopic.php?f=27&t=27909
Formulas:
Loco[i]=Loco[i-1], if Price[i]=Loco[i-1],
Loco[i]=Max(Loco[i-1], Price[i]*(1-K)), if Price[i-1]>Loco[i-1] and Price[i]>Loco[i-1],
Loco[i]=Price[i]*(1-K), if Price[i]>Loco[i-1],
else Loco[i]=Price[i]*(1+K), where
K=Coeff/1000.
Download:
The indicator was revised and updated