Hi All,
I am trying to change background color if C>EMA200, but why background color is
not changing as if the if condition is fail.
IIf(C>EMA(C,200),SetChartBkColor(colorViolet),SetChartBkColor(colorWhite));
This is my third question since I join this group. If I still can not get your
hel
Read the following regarding your coding mistake:
http://www.amibroker.com/guide/a_mistakes.html#IIF
- Original Message -
From: TimurLangit
To: AmiBroker Group
Sent: May 22, 2010 12:48 PM
Subject: [amibroker] how to setbackgroundcolor
Hi All,
I am trying to change
ke:
http://www.amibroker.com/guide/a_mistakes.html#IIF
- Original Message -
From: TimurLangit
To: AmiBroker Group
Sent: May 22, 2010 12:48 PM
Subject: [amibroker] how to setbackgroundcolor
Hi All,
I am trying to change background color if C>EMA200, but why background color is
not changing
rtbkcolor( lastvalue(color));
- Original Message -
From: TimurLangit
To: amibroker@yahoogroups.com
Sent: May 23, 2010 7:37 PM
Subject: Re: [amibroker] how to setbackgroundcolor
Thank you for your reply. However I tried so many ways but still could not
get what I want. If anyo
result = IIf( Close > 10, 7, 9 ); // CORRECT
So,
color = iif( c > ema( c, 200 ), colorred, colorwhite);
setchartbkcolor( lastvalue(color));
- Original Message -
From: TimurLangit
To: amibroker@yahoogroups.com
Sent: May 23, 2010 7:37 PM
Subject: Re: [amibroker] how to setbackgro