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

Re: [AmiBroker] RE: IFF AND None for color conditions



PureBytes Links

Trading Reference Links

Hi

Can a similar approach be adopted to modify the style of the plot??

For instance

Cond1=7 bar stoch >70;
Cond1=7 bar stoch < 30;

 if condition1 or condition2 is true the style should be thickline and dots and if not, then just thick line.

Thanks


Rakesh




On Thu, Mar 6, 2008 at 12:19 PM, Mr. Valley <valleymj@xxxxxxxxxxx> wrote:
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: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On Behalf Of Mr. Valley
Sent: Wednesday, March 05, 2008 7:37 PM
To: amibroker@xxxxxxxxxxxxxxx
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);


__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___