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

RE: [amibroker] Profit Test not Working Correctly


  • To: <amibroker@xxxxxxxxxxxxxxx>
  • Subject: RE: [amibroker] Profit Test not Working Correctly
  • From: "Dave Merrill" <dmerrill@xxxxxxx>
  • Date: Wed, 31 Dec 2003 20:48:41 -0800
  • In-reply-to: <bsvjel+oj5e@eGroups.com>

PureBytes Links

Trading Reference Links




Any 
chance of ambiguity due to a lack of parentheses in CondB and CondC? For 
instance, try:
<SPAN 
class=927364604-01012004> 
CondB 
= C > ( Ref(C,-1) + (ATR(14)*.8) );
<SPAN 
class=927364604-01012004> 
<SPAN 
class=927364604-01012004>Dave
<BLOCKQUOTE 
>Why 
  doesn't the following buy only when CondA it doesn't BUYonly when the 
  ATR(14) is less than ATR(100) the line appears worthless.// 
  VOLITILITY_BO_PtCondA = ATR(14) < ATR(100);CondB = C > 
  Ref(C,-1) + (ATR(14)*.8);CondC = C < Ref(C,-1) - 
  (ATR(14)*.8);Buy = CondA AND CondB; Buy = ExRemSpan( 
  Buy,8);Sell = Ref(Buy,-8);Short = CondC;Short = 
  ExRemSpan(Short,5);Cover = 
  Ref(Short,-5);Equity(1);THANKSErnieSend 
  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 
  
  
  Yahoo! Groups Links
  
    To visit your group on the web, go to:<A 
    href="">http://groups.yahoo.com/group/amibroker/  

    To unsubscribe from this group, send an email to:<A 
    href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx  

    Your use of Yahoo! Groups is subject to the <A 
    href="">Yahoo! Terms of Service. 
  


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








Yahoo! Groups Sponsor


  ADVERTISEMENT











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 the Yahoo! Terms of Service.