Hi friends and seniors,
help me
This is an attempt (by a newbie) to draw MACD.
I want title like:
MACD Plot for:500343(PUDUMJEE)Daily - 3/12/2007MACD:M(12,26) = 1.3, Signal:S(12, 26, 9) = 1.2, Hist: H = 2
for that, i have written some code:
The problem is that I am getting
Title as defined in _N(Title...) but other parts are not coming in the title.
Infact all the things are coming in the interpretation window.
I wanted nothing in the interpretation window but everything in the title:
And also how to clear the interpretation window? like cls for dos.
Where am i doing wrong??
pls help
regards,
ashutosh
help me
This is an attempt (by a newbie) to draw MACD.
I want title like:
MACD Plot for:500343(PUDUMJEE)Daily - 3/12/2007MACD:M(12,26) = 1.3, Signal:S(12, 26, 9) = 1.2, Hist: H = 2
for that, i have written some code:
Code:
_SECTION_BEGIN("MACD Plot Title");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat(EncodeColor(colorGold)+"MACD Plot for:" + EncodeColor(colorBlue)+"{{NAME}}"
+ EncodeColor(colorRed) + "(" + FullName() + ") "
+ EncodeColor(colorBlue) + "- {{INTERVAL}} {{DATE}}"));
_SECTION_END();
_SECTION_BEGIN("Plot MACD");
MACDName = StrFormat("MACD: M(" + macdStr + ") = " + WriteVal(MACDInd, 1.3));
Plot( MACDInd, MACDName, myColor, ParamStyle("Style"));
_SECTION_END();
_SECTION_BEGIN("Plot Signal");
//SignalName = StrFormat("Sig(" + sigStr + ") = " + WriteVal(SigInd,1.3));
Plot( SigInd , StrFormat("Sig(" + sigStr + ") = " + WriteVal(SigInd,1.3)), colorBlue, ParamStyle("Style"));
_SECTION_END();
_SECTION_BEGIN("Plot Histogram");
HistName = StrFormat("H = " + WriteVal(HistInd,1.3));
Plot( HistInd, HistName, myColor, styleHistogram | styleOwnScale | styleThick , -scaleHist * 1.2, scaleHist * 1.2);
_SECTION_END();
Title as defined in _N(Title...) but other parts are not coming in the title.
Infact all the things are coming in the interpretation window.
I wanted nothing in the interpretation window but everything in the title:
And also how to clear the interpretation window? like cls for dos.
Where am i doing wrong??
pls help
regards,
ashutosh