[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Help with buy and sell statements



PureBytes Links

Trading Reference Links

hi,
 
simply use:
 
Buy=Cross(Graph1,Graph0) AND Graph2 < 0;
Sell=Cross(Graph2,Graph0) AND Graph1 > 0;
 


 
 
 
----- Original Message -----
From: rijnaars
Sent: Friday, August 08, 2008 3:41 PM
Subject: [amibroker] Help with buy and sell statements

I want to make a statement that
a buy of croos is valid when another value is above zero

for instance

Buy=Cross(Graph1,Graph0); is valid if Graph2 <0

and

Sell=Cross(Graph2,Graph0); is valid if Graph1 >0

how can i do that ???

by if and else statement or should i use another one

can you please help me also by giving me direction in this example

__._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___