Hi, All,
I am adding some code for ‘Price’
of the chart plotted as following:
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}}
- {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%)
{{VALUES}}", O, H,
L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( O, "Open", ParamColor("Color", colorBlack ), styleNoDraw | ParamStyle("Style") | GetPriceStyle() );
Plot( H, "High", ParamColor("Color", colorBlack ), styleNoDraw | ParamStyle("Style") | GetPriceStyle() );
Plot( L, "Low", ParamColor("Color", colorBlack ), styleNoDraw | ParamStyle("Style") | GetPriceStyle() );
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
Plot( V, "Volume", ParamColor("Color", colorBlack ), styleNoDraw | ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();
The purpose doing this is I want
to display not only close price value in data tip’s window but open,
high, low, and volume as well. It has been done by this formula but accompanied
with another problem that all the price value has been displayed in title bar
as well. The question is can I use ‘styleNoDraw’
and ‘styleNoTitle’ at same time? As ‘styleNoTitle’ is a new option and it doesn’t
show in Plot function of User’s manual version 4.70. It doesn’t
have a value like ‘styleNoDraw’ does (256).
Therefore, I can not combine them together.
It’s grateful if anyone
can help me solve this problem.
Harvey Lu