PureBytes Links
Trading Reference Links
|
Hello,
Buy = Cross(C,MA(C,20)) AND MA(C,20) > MA(C,50);
Sell = Cross(MA(C,20),C) AND MA(C,20) > MA(C,50);
Short = Cross(MA(C,50),C) AND MA(C,20) < MA(C,50);
Cover = Cross(C,MA(C,20)) AND MA(C,20) < MA(C,50);
Cheers
Prashanth
----- Original Message -----
From: mravie7
To: amibroker@xxxxxxxxxxxxxxx
Sent: Wednesday, January 10, 2007 11:45 PM
Subject: [amibroker] Help for a simple formula
Hi,
Can anyone help me with a simple formula (i am new to this system)....
for 20 and 50 period MA
Buy when PRICE moves OVER 20 MA and 20 MA is OVER 50 MA
Sell when PRICE moves UNDER 20 MA but 20 MA is OVER 50 MA
Short when 20 MA is UNDER 50 MA and PRICE crosses under 50 MA
COVER SHORT when PRICE moves OVER 20 MA and 20 MA is UNDER 50 MA.
This I have written in the language I understand best. You may make
any changes that you feel is required.
Thanks for your time and Help.
Cheers
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.9/622 - Release Date: 1/10/2007 2:52 PM
|