RE: [amibroker] Partial color bar

 

Very cool.  Thanks Tomasz, happy weekend.

-S

 

From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com]
Sent: Friday, May 13, 2016 8:14 AM
To: amibroker@yahoogroups.com
Subject: Re: [amibroker] Partial color bar

 

 

Hello,

Thank you very much for your e-mail.

Yes, with a little bit of magic

Mid = (High+Low)/2;
SetBarFillColor( colorYellow );
PlotOHLC( Null, High, Mid, Close, "Price", IIf( Close > Mid, colorYellow, colorBlue ), styleBar | styleThick );
SetBarFillColor( colorBlue );
PlotOHLC( Open, Mid, Low, Close, "Price", IIf( Open > Mid, colorYellow, colorBlue ), styleBar | styleThick);

Best regards,
Tomasz Janeczko

amibroker.com

On 2016-05-13 13:52, 'Sean ONeill' oneillseanp@verizon.net [amibroker] wrote:

Is there any code or a way to color a portion of a bar (Not candle style), instead of the whole bar?  For example if a bar went thru a level I define the penetration price and lower price would have a different color, or an upward level break a different color?  Like so…

 

-S

 

__._,_.___

Posted by: "Sean ONeill" <ONeillSeanP@verizon.net>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (15)

Upgrade your account with the latest Yahoo Mail app
Get organized with the fast and easy-to-use Yahoo Mail app. Upgrade today!

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

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


.

__,_._,___

Related Posts


EmoticonEmoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng
:lv