{大盤指數}
指數:INDEXC,NODRAW;
漲跌:INDEXC-REF(INDEXC,1), NODRAW;
漲幅(%):((INDEXC/REF(INDEXC,1))-1)* 100, NODRAW;
大盤:DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
MA5:MA(INDEXC,5),COLORWHITE;
MA20:MA(INDEXC,20),COLORMAGENTA;
MA60:MA(INDEXC,60),COLORGREEN;
---------------------------------------------------
DRAWTEXT(REFDATE(INDEXC,1100104)=3243.76 AND CURRBARSCOUNT=7,HHV(INDEXH,60),"上證指數");
DRAWTEXT(REFDATE(INDEXC,1100104)!=3243.76 AND CURRBARSCOUNT=7,HHV(INDEXH,60),"深證指數");
{大盤指數}
指數:INDEXC,NODRAW;
漲跌:INDEXC-REF(INDEXC,1), NODRAW;
漲幅(%):((INDEXC/REF(INDEXC,1))-1)* 100, NODRAW;
大盤:DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
MA5:MA(INDEXC,5),COLORWHITE;
MA20:MA(INDEXC,20),COLORMAGENTA;
MA60:MA(INDEXC,60),COLORGREEN;
---------------------------------------------------
指數:INDEXC,NODRAW;
漲跌:INDEXC-REF(INDEXC,1), NODRAW;
漲幅(%):((INDEXC/REF(INDEXC,1))-1)* 100, NODRAW;
大盤:DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
MA5:MA(INDEXC,5),COLORWHITE;
MA20:MA(INDEXC,20),COLORMAGENTA;
MA60:MA(INDEXC,60),COLORGREEN;
DRAWTEXT(REFDATE(INDEXC,1100104)=3243.76 AND CURRBARSCOUNT=7,HHV(INDEXH,60),"上證指數");
DRAWTEXT(REFDATE(INDEXC,1100104)!=3243.76 AND CURRBARSCOUNT=7,HHV(INDEXH,60),"深證指數");