Cond1 = RSI(14) < 45;
Cond2 = RSI(14) > 55;
Color = IIf(Cond1 ==1,5,IIf(Cond2 ==1,4,ColorDefault));
Plot(Close,"Close",Color,64);


  -----Original Message-----
  From: [email protected] [mailto:[EMAIL PROTECTED]
Behalf Of Mr. Valley
  Sent: Wednesday, March 05, 2008 7:37 PM
  To: [email protected]
  Subject: [amibroker] RE: IIF AND None for color conditions



  Cond1 = RSI(14) < 45;
  Cond2 = RSI(14) > 55;
  Color = IIf(Cond1 ==1,5,IIf(Cond2 ==1,4,Null));
  Plot(Close,"Close",Color,64);


  

Reply via email to