PureBytes Links
Trading Reference Links
|
Buy = MA ( Close, 10 ) > Ref(MA (Close,10),-1);
Sell = MA ( Close, 10 ) < Ref(MA (Close,10),-1);
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On Behalf
Of ianjw2
Sent: Thursday, September 29, 2005 6:28 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Help for newbie
I'm a fairly new user of AB and this is my first attempt at programing
in AFL. Another program I'm using has a much simpler programing
protocol, but in essence, would be expressed like this. Although this
runs, the results are not what I expected.
What I want to do is buy on a rising MA and sell on a falling MA.
I.E. Todays MA is higher than yesterdays MA.
/*Rising 10ma*/
Buy = MA ( Close, 10 ) > MA (Close,10-1);
Sell = MA ( Close, 10 ) < MA (Close,10-1);
Are there any kind souls out there who can point me in the right
direction?
Ian
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|