PureBytes Links
Trading Reference Links
|
Hi All,
Any one can translate this strategy to Amibroker, This may help to study
and compare with other strategies.
Entry Long
return ADX(14) < 30 and CrossAbove(Mov(C, 30, S), Mov(C, 60, S));
Exit Long
var
bc:=ADX(14) < 30 and CrossAbove(Mov(C, 30, S), Mov(C, 60, S));
end_var
if BarsSince(bc) <= 10 then return L < Lowest(L,60)\1\;
return Mov(C,30,S) < Mov(C,60,S);
Entry Short
return ADX(14) < 30 and CrossAbove(Mov(C, 60, S), Mov(C, 30, S));
Exit Short
var
sc:=ADX(14) < 30 and CrossAbove(Mov(C, 60, S), Mov(C, 30, S));
end_var
if BarsSince(sc) <= 10 then return H > Highest(H,60)\1\;
return Mov(C, 30, S) >Mov(C, 60, S);
Regards
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.24/668 - Release Date: 2/4/2007 1:30 AM
|