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

[amibroker] Programing Question



PureBytes Links

Trading Reference Links




Hello Dick,
 
your programming code should be as 
follows:
 
<FONT face="Courier New" color=#ff6820 
size=1>
Buy = 
Cross<FONT 
face="Courier New" color=#00008b>(<FONT face="Courier New" 
color=#800080>MACD(), 
0<FONT face="Courier New" 
color=#00008b>) <FONT face="Courier New" 
color=#ff6820>AND 
OBV<FONT 
face="Courier New" color=#00008b>() > <FONT face="Courier New" 
color=#ff6820>c<FONT face="Courier New" 
color=#00008b>;
Sell = <FONT 
face="Courier New" color=#800080>Cross<FONT face="Courier New" 
color=#00008b>(0<FONT 
face="Courier New" color=#00008b>, <FONT face="Courier New" 
color=#800080>MACD()) 
AND<FONT 
face="Courier New" color=#00008b> <FONT face="Courier New" 
color=#800080>OBV() < 
c<FONT 
face="Courier New" color=#00008b size=1><FONT 
size=2>;
Best regards,
 
Udo
 
<BLOCKQUOTE 
>
  -----Ursprüngliche Nachricht----- 
  <DIV 
  >Von: 
  drlblast 
  An: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Gesendet: Freitag, den 23. Mai 2003 22:53 
  Uhr
  Betreff: [amibroker] Programing 
  Question
  I'm trying break into this AFL programing language with 
  very simpleBack Test but keep getting Syntax errors.  I'm looking for 
  MACD thathas moved above zero and the OBV above the close price.  
  Here's theformula.Buy = Cross(MACD(),0)AND OBV > C));Sell = 
  Cross(0,MACD())AND OBV < C));What am I doing wrong?Dick 
  HSend 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







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.