PureBytes Links
Trading Reference Links
|
--- In amibroker@xxxxxxxxxxxxxxx, "Mohammed" <softnews2003@xxx> wrote:
>
>
> 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
>
No one can Help in this?
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.18.1/690 - Release Date: 2/16/2007 2:25 PM
|