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

RE: [amibroker] Re: Clear background in StyleCloud?



PureBytes Links

Trading Reference Links

Tomasz,
How about having the cursor in front of Area and Cloud plots?

Sursod,
This still has the cursor hiding, but only behind colors other than white.

NOTE: styleCloud only uses H,L so O and C can be zer0 as shown.
NOTE: I used some pre-plot variables to simplify PlotOHLC line.

BBH = IIf(onBuy OR onShort,BBTop,Null); //Plot nothing when False
BBL = IIF(onBuy OR onShort,BBBot,Null); //Plot nothing when False
PlotOHLC(0, BBH, BBL, 0, "",
  IIf(Onbuy,colorLavender,colorLightOrange),styleCloud);

Try it and let me know.
--
Terry

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of sursod
Sent: Monday, January 22, 2007 15:49
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Clear background in StyleCloud?

TJ:
I know you said it is not a bug the beta version hides the cursor 
behind colors, but this feature is making life very difficult for 
those who use AB charts graphically (full of color areas) - it is 
quite impossible and time consuming to "anchor" the cursor, and I 
can hardly see where it is.

Pleeeeeeze, is there a fix?

Terry:
How do you re-write my codes using your new discovery so instead of 
colorwhite I have no background color in order to see the cursor?

PlotOHLC
(BBBot,BBBot,BBTop,BBBot,"",                                     
IIf(Onbuy,colorLavender,IIf
(onShort,colorLightOrange,colorWhite)),styleCloud); 

Thanks,
Sursod

--- In amibroker@xxxxxxxxxxxxxxx, "Terry" <MagicTH@xxx> wrote:
>
> 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@xxx> 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
>




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
 
Yahoo! Groups Links





Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.5/645 - Release Date: 1/22/2007 4:10 PM