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

[amibroker] Foreign Help



PureBytes Links

Trading Reference Links









I am trying to write a system the relies on signals
generated by VGY to trade other stocks.   Part of the VGY signal is
using MDI and PDI as filtering conditions.  Currently it works until I add
the MDI, PDI conditions.  How do I make the MDI and PDI conditions apply
to VGY not the individual stock

 

<font size=1 color=black
face="Courier New">VGY = <span
>Foreign<font
size=1 color=black face="Courier New">(<font size=1 color=fuchsia
face="Courier New">"VGY"<font size=1 color=black
face="Courier New">,<span
>"C"<font
size=1 color=black face="Courier New">);<font size=1 color=green
face="Courier New">//this will read the VGY and place it in the variable called VGY

<font size=1 color=black
face="Courier New"> 

<font size=1 color=black
face="Courier New">Cond7 = <span
>MDI<font
size=1 color=black face="Courier New">(Pds1) > <font size=1 color=blue
face="Courier New">PDI<span
>(Pds1); 

<font size=1 color=black
face="Courier New">Cond8 = <span
>MDI<font
size=1 color=black face="Courier New">(Pds1) < <font size=1 color=blue
face="Courier New">PDI<span
>(Pds1); 

<font size=1 color=black
face="Courier New"> 

Thanks for you help,

 

Larry M. Powell

<font size=3
face="Times New Roman">
---------------------------------------------------------------------
Eliminate annoying spam!

My mailbox is protected by iHateSpam, the #1-rated spam buster.
http://www.ihatespam.net

 










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.