{大盤指數(shù)K線副圖指標,滬股票時顯示上證指數(shù),深股票時顯示深圳成份指數(shù)}
指數(shù):INDEXC,NODRAW;
_:INDEXC-REF(INDEXC,1),NODRAW; 滬深:"000300$CLOSE",NODRAW; __:"000300$CLOSE"-REF("000300$CLOSE",1),NODRAW; 五:EMA(INDEXC,5); 年線:EMA(INDEXC,250); 兩年:EMA(INDEXC,500); 大盤: DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC); {畫線} IF(年線>REF(年線,1),年線,DRAWNULL),COLORRED,LINETHICK3; IF(兩年>REF(兩年,1),兩年,DRAWNULL),COLORLIMAGENTA,LINETHICK3; 要下載數(shù)據(jù),均線可以自己設(shè)定。
反向K線公式
C1:REVERSE(C),COLORFFFFFF,POINTDOT,LINETHICK0; MA5:MA(C1,5); MA10:MA(C1,10); MA20:MA(C1,20); MA60:MA(C1,60); MA120:MA(C1,120); DRAWKLINE(-LOW, -OPEN, -HIGH, -CLOSE); |
|