一言九鼎 主圖(有未來函數(shù)ZIGZAG)
XZZ:ZIGZAG(CLOSE,10,1);
PRE:MA(LLV(CLOSE,9)*1.1,14),COLORGREEN;
SUP:MA(HHV(CLOSE,26)*0.9,14),COLORRED;
TMP:=OPEN-CLOSE;
DRAWLINE(TMP>0,LOW,TMP>0,OPEN,COLORCYAN);
DRAWLINE(TMP>0,HIGH,TMP>0,CLOSE,COLORCYAN);
DRAWLINE(TMP<0,LOW,TMP<0,OPEN,COLORRED);
DRAWLINE(TMP<0,HIGH,TMP<0,CLOSE,COLORRED);
DRAWLINE(ABS(TMP)<0.1,LOW,ABS(TMP)<0.1,OPEN,COLORWHITE);
DRAWLINE(ABS(TMP)<0.1,HIGH,ABS(TMP)<0.1,CLOSE,COLORWHITE);
STICKLINE(TMP>0,OPEN,CLOSE,COLORCYAN,0);
STICKLINE(TMP<=0,OPEN,CLOSE,COLORRED,0);