操盤手改進型主圖技術指標公式源碼
CMA5:MA(CLOSE,5),LINETHICK1,COLORWHITE;
MA10:MA(CLOSE,10),LINETHICK1,COLORYELLOW;
MA20:MA(CLOSE,20),LINETHICK1,COLORMAGENTA;
MA60:MA(CLOSE,60),LINETHICK1,COLORGREEN;
MA120:MA(CLOSE,120),LINETHICK1,COLORRED;
MA250:MA(CLOSE,250),LINETHICK1,COLORYELLOW;
買線:=EMA(C,4);
賣線:=EMA(SLOPE(C,20)*10+C,35);
DRAWTEXT(CROSS(買線,賣線),LOW*0.98,'買'),COLORRED;
DRAWTEXT(CROSS(賣線,買線),HIGH*1.02,'賣')COLORGREEN;
STICKLINE(買線>=賣線,LOW,HIGH,0,0),COLORRED;
STICKLINE(買線>=賣線,CLOSE,OPEN,3,2),COLORRED;
STICKLINE(買線
STICKLINE(買線
STICKLINE(CROSS(買線,賣線),OPEN,CLOSE,3.2,0),COLOR00FF00;
STICKLINE(CROSS(賣線,買線),OPEN,CLOSE,3.2,0),COLORRED;
STICKLINE((CLOSE>OPEN) AND(買線
STICKLINE((CLOSE>OPEN) AND(買線>=賣線),CLOSE,OPEN,3.2,2)COLORRED;
STICKLINE((CLOSE
STICKLINE((CLOSE=賣線),CLOSE,OPEN,3.2,0)COLORRED;
主趨勢線:EMA(EMA(C,10),10),COLORRED,LINETHICK3;
B:=主趨勢線>REF(主趨勢線,1);
IF(B-1,主趨勢線,DRAWNULL)COLORBLUE,LINETHICK3;