PureBytes Links
Trading Reference Links
|
Buy = Cross(DD,X);
--
Terry
From: "rizwankherati" <rizwankherati@xxxxxxxxx>
Reply-To: amibroker@xxxxxxxxxxxxxxx
Date: Fri, 15 Oct 2004 16:14:55 -0000
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Basic programming question
Hi,
I am on trial and needed some help with the following, I want to
program a buy when value of a variable(DD) is greater than X(where X
is a fixed value in number). DD is calculated as closing price of
yesterday divided by Price of daybefore yesterday.
SO:
DD=price of yesterday/Price of day before yesterday.
Buy if DD > X
How can I write this function in AFL?
Many thanks
Rizwan
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
<http://us.ard.yahoo.com/SIG=129gelq85/M=315388.5497957.6576270.3001176/D=g
roups/S=1705632198:HM/EXP=1097943317/A=2372354/R=0/SIG=12id813k2/*https://ww
w.orchardbank.com/hcs/hcsapplication?pf=PLApply&media=EMYHNL40F21004SS>
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
<mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
*
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/
|