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

[amibroker] Re: Help needed for Plot function



PureBytes Links

Trading Reference Links


Anthony,

Is there a way to include "volume" in the last line and after
"close"? When the formula is modified to include "volume" then the
"close" value is shown to the right of the volume (because it's
Plot(Close, ...) statement, of course):

Date: 05-03-18
Value: 20.00
Open = 19.50
High = 22.35
Low = 18.75
Close = 21.00
Volume = 2,559,351 = 21.00

Here is the modified formula (using NumToStr instead of WriteVal):

Plot(C ,"Open = "+NumToStr(O,1.3)+"\n"+"High = "+N
umToStr(H,1.3)+"\n"+"Low = "+NumToStr(L,1.3)+"\n"+"Close =
"+NumToStr(C,1.3)+"\n"+"Volume = "+NumToStr(V,1.0), colorGreen,
styleNoTitle | ParamStyle("Style", styleCandle, maskPrice ) );


--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxxx>
wrote:
> This does it also, will give you the read outs in the tooltips...
> 
> Plot(C ,"open ="+WriteVal(Open,1.2)+"\n"+"High =
"+WriteVal(High,1.2)+"\n"+"Low ="+WriteVal(Low,1.2)+"\n"+"Close",
mycolor, styleNoTitle | ParamStyle("Style", styleCandle, maskPrice )
); 






------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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 other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/