PureBytes Links
Trading Reference Links
|
Graham,
I didn't think I could do that with PlotOHLC, but it works great.
Thanks.
Corrected code:
PlotOHLC(0,IIf(CH_isNarrow,CH_Upper,Null),IIf(CH_isNarrow,CH_Lower,Null),0,"
",colorGrey40,styleCloud | styleNoLabel);
--
Terry
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Graham
Sent: Sunday, January 21, 2007 23:32
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Clear background in StyleCloud?
apply the iif and null to the values rather than the colour
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com
On 22/01/07, Terry <MagicTH@xxxxxxxxxxx> wrote:
Anyone know how to use StyleCloud such that the shaded area is either some
Color or NO COLOR depending on a condition?
I have resorted to using a background color when the condition is not true,
but that hides the selection cursor in the new beta 4.89.0
Here is the code: I want the Cloud band to be grey when the price channel is
narrow and no color when it's NOT narrow:
PlotOHLC(0,CH_Upper,CH_Lower,0,"",IIf(CH_isNarrow,colorGrey40,ProblemStatus)
,styleCloud | styleNoLabel);
//ProblemStatus = background color.
//I tried Null and 0 with no luck.
Thanks.
--
Terry
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.3/642 - Release Date: 1/20/2007 10:31 PM
|