use NOT operator !

myrule=BarsSince(LongSetup) < Maxbars AND Cross(C,ValueWhen(Longsetup,H));
oppositeofmyrule=!myrule;
  ----- Original Message ----- 
  From: Mohammed 
  To: [email protected] 
  Sent: Tuesday, October 02, 2007 5:58 PM
  Subject: [amibroker] How to make the opposite of this formula


  Hi all,

  How to make the opposite of this formula

  BarsSince(LongSetup) < Maxbars AND Cross(C,ValueWhen(Longsetup,H));

  All The best



   

Reply via email to