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

RE: [amibroker] Change the default X-Axis at start



PureBytes Links

Trading Reference Links




I should have checked the 
help files when I was typing it. 
This is probably what 
the flipping line should be :)
 
Cond1 = 
Flip(cond1,cond2);
 
 
Cheers,Graham<A 
href="">http://e-wire.net.au/~eb_kavan/ 


  
  <FONT 
  face=Tahoma size=2>-----Original Message-----From: Greg 
  [mailto:gregbean@xxxxxxxxxxx] Sent: Friday, 20 February 2004 11:21 
  AMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] 
  Hold cond1 true then buy when cond2 happens
  Graham,
   
  Thanks, but that doesn't seem to do it. Maybe I have a typo or something. 
  Can you see anything wrong with this.
  
  Cond1 = Cross<FONT 
  size=1>(T3_3,T3_5) ;
  Cond2 = Cross<FONT 
  size=1>(T3_5,L) ;
  Flip(Cond1,Cond2);
  Buy = Cond1 AND Cond2<FONT face="Courier New" 
  size=1>;
  Sell= Cross<FONT 
  size=1>(T3_5,T3_3) ;
  Cond3 = Cross<FONT 
  size=1>(T3_5,T3_3);
  Cond4 = Cross<FONT 
  size=1>(H,T3_5);
  Flip(Cond3,Cond4);
  Short=Cond3 AND Cond4;
  Cover= Cross<FONT 
  size=1>(T3_3,T3_5) ;
   
  <BLOCKQUOTE dir=ltr 
  >
    ----- Original Message ----- 
    <DIV 
    >From: 
    <A title=gkavanagh@xxxxxxxxxxxxx 
    href="">Graham 
    To: <A title=amibroker@xxxxxxxxxxxxxxx 
    href="">amibroker@xxxxxxxxxxxxxxx 
    Sent: Thursday, February 19, 2004 10:32 
    PM
    Subject: RE: [amibroker] Hold cond1 
    true then buy when cond2 happens
    
    You could try using the 
    Flip to keep Cond1=1 until cond2 occurs
    <FONT 
    face=Arial> 
    Cond1 = 
    cross(a,b);
    Cond2 = 
    Cross(c,d);
    <FONT 
    face=Arial>Flip(Cond1,Cond2);
    Buy = Cond1 and 
    cond2;
     
     
    Cheers,Graham<A 
    href="">http://e-wire.net.au/~eb_kavan/ 
    
    
      
      <FONT 
      face=Tahoma size=2>-----Original Message-----From: Greg 
      [mailto:gregbean@xxxxxxxxxxx] Sent: Friday, 20 February 2004 
      10:24 AMTo: <A 
      href="">AmiBroker@xxxxxxxxxxxSubject: 
      [amibroker] Hold cond1 true then buy when cond2 
      happens
      Hi,
       
      I would like to buy after Cross(a,b) condition has happened and 
      wait for Cross(c,d) condition to be true to execute the buy. 
       
      Can any one tell me how to achieve this? 
       
      GregSend 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@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 Sponsor


ADVERTISEMENT




Click Here















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.