| 
 PureBytes Links 
Trading Reference Links 
 | 
//foreign ticker
SetForeign("^IXIC");
Buycond=Cross(PDI(14),MDI(14));
RestorePriceArrays();
//ticker under backtest
Buy=Buycond;
Sell=Cross(MA(C,21),C);
Equity(1);
  ----- Original Message ----- 
  From: trading_for_a_living 
  To: amibroker@xxxxxxxxxxxxxxx 
  Sent: Sunday, October 10, 2004 3:12 PM
  Subject: [amibroker] ? - Trading only when Index have PDI above MDI
  Is there a way to set-up the system so that it will only take a 
  trade if the COMPQX PDI is above the COMPQX MDI?  If so, how would I 
  do this?
  I have already been helped by learning about the Cross function and 
  I would really appreciate any help that can be provided to help 
  solve this current problem.
  Aaron
  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
             
       
       
------------------------------------------------------------------------------
  Yahoo! Groups Links
    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/
      
    b.. To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx
      
    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/
 
 |