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

[amibroker] Bars Since question/problem...Please Help



PureBytes Links

Trading Reference Links




Thanks for the analysis, Gary!
 
Although it makes me wonder why we don't have 
the  Equity(x) implied here:
 

<TABLE class=MsoTableGrid 
 
cellSpacing=0 cellPadding=0 border=1>
  
  
    <TD 
     
    vAlign=top width=145>
      <P class=MsoNormal  
      align=center><?xml:namespace 
      prefix = o ns = "urn:schemas-microsoft-com:office:office" /><FONT 
      face="Times New Roman" size=2> 
    <TD 
     
    vAlign=top width=96>
      <P class=MsoNormal  
      align=center><FONT 
      face="Times New Roman">Equity(0)
    <TD 
     
    vAlign=top width=108>
      <P class=MsoNormal  
      align=center><FONT 
      face="Times New Roman">Equity(1)
    <TD 
     
    vAlign=top width=90>
      <P class=MsoNormal  
      align=center><FONT 
      face="Times New Roman">Equity(2)
    <TD 
     
    vAlign=top width=90>
      <P class=MsoNormal  
      align=center><FONT 
      face="Times New Roman">Equity(x)
  
    <TD 
     
    vAlign=top width=145>
      <B 
      ><FONT 
      face="Times New Roman">ExRem (Y/N?)
    <TD 
     
    vAlign=top width=96>
      <P class=MsoNormal  
      align=center><FONT 
      face="Times New Roman">N
    <TD 
     
    vAlign=top width=108>
      <P class=MsoNormal  
      align=center><FONT 
      face="Times New Roman">Y
    <TD 
     
    vAlign=top width=90>
      <P class=MsoNormal  
      align=center><FONT 
      face="Times New Roman">Y
    <TD 
     
    vAlign=top width=90>
      <P class=MsoNormal  
      align=center><FONT 
      face="Times New Roman">N
  
    <TD 
     
    vAlign=top width=145>
      <B 
      ><FONT 
      face="Times New Roman">delays 
      imposed(Y/N?)
    <TD 
     
    vAlign=top width=96>
      <P class=MsoNormal  
      align=center><FONT 
      face="Times New Roman">N
    <TD 
     
    vAlign=top width=108>
      <P class=MsoNormal  
      align=center><FONT 
      face="Times New Roman">N
    <TD 
     
    vAlign=top width=90>
      <P class=MsoNormal  
      align=center><FONT 
      face="Times New Roman">Y
    <TD 
     
    vAlign=top width=90>
      <P class=MsoNormal  
      align=center><FONT 
      face="Times New Roman">Y
 
-john
 
PS: d reminds me: I would love to see a 
similar analysis of the the ExitAtStop feature of ApplyStop, which I can't 
quite understand from the Help file
<BLOCKQUOTE dir=ltr 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  dingo 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Tuesday, April 20, 2004 9:17 
  PM
  Subject: RE: [amibroker] Re: What 
  Equity() does with its different flags 0, 1, 2
  
  <FONT face=Arial 
  color=#0000ff size=2>'scuse me there Gary but maybe equity does a little bit 
  more that just jigger the plotshapes..?? Like enable the functioning of the 
  various ApplyStops?  
  <FONT face=Arial 
  color=#0000ff size=2> 
  <FONT face=Arial 
  color=#0000ff size=2>I'm sure TJ will jump in if there's 
  more..
  <FONT face=Arial 
  color=#0000ff size=2> 
  <FONT face=Arial 
  color=#0000ff size=2>d
  
    
    
    From: Gary A. Serkhoshian 
    [mailto:serkhoshian777@xxxxxxxxx] Sent: Wednesday, April 21, 2004 
    12:13 AMTo: <A 
    href="">amibroker@xxxxxxxxxxxxxxxSubject: 
    [amibroker] Re: What Equity() does with its different flags 0, 1, 
    2
    
    Sorry for the 2 prev sends.  Tough to manage e-mail with the 
    shakes... Better get a cup of coffee after I send this.. : )
    Here's code that works and illustrates the point:
     SetTradeDelays(1, 1, 1, 1);
    Buy = C > MA(C, 20);Sell = C < MA(C, 
    20); WhichEquity = Param("Which Equity Flavor 0 - 2?", 0, 0, 2, 
    1); if (WhichEquity == 1){   MyEquity = 
    Equity(1);} if (WhichEquity == 2){  MyEquity = 
    Equity(2);} if (WhichEquity == 0){  MyEquity = 
    Equity();}Plot(C, "Close", colorDefault, 
    styleCandle);Plot(MyEquity, "Equity", colorDefault, styleLine + 
    styleLeftAxisScale);PlotShapes(Buy * shapeUpArrow + Sell * 
    shapeDownArrow,                  
    Buy * colorBrightGreen + Sell * colorYellow, 
    0,                  
    Buy * L + Sell * H, -15);
     
     
     
    
    
    Do you Yahoo!?Yahoo! Photos: <A 
    href="">High-quality 
    4x6 digital prints for 25" Send 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 
    Send 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 
    


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 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.