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

Re: [amibroker] Help with formula



PureBytes Links

Trading Reference Links




Hi guys,
 
For the following buy search what code do i need to 
add if I want the ADX(14) to be less than 20 for the last x days ?
 

Cond1=PDI<FONT color=#000000 
size=1>(14<FONT color=#000000 
size=1>)>MDI<FONT color=#000000 
size=1>(14<FONT color=#000000 
size=1>);
Cond2=Cross<FONT color=#000000 
size=1>(ADX<FONT color=#000000 
size=1>(14<FONT color=#000000 
size=1>),MDI<FONT color=#000000 
size=1>(14<FONT color=#000000 
size=1>));
Cond3=Cond1 AND Cond2;
Filter=cond3;
AddColumn(cond3,<FONT color=#ff00ff 
size=1>"My Test");
Buy=Cond3;
Cheers
Henry






Yahoo! Groups Sponsor


  ADVERTISEMENT 









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.