「金光万丈」主图分享
通达信【金光万丈】擒龙主图公式源码分享(请先把源码复制到WORD文档排序,再从WORD文档中复制源码)
X_1:=CLOSE<=MAX(HIGH,REF(CLOSE,1))*0.92;
X_2:=BARSLAST(X_1);
STICKLINE(X_2>0 AND CLOSE<REF(MAX(HIGH,REF(CLOSE,1)),X_2),REF(MAX(OPEN,REF(CLOSE,1)),X_2),REF(CLOSE,X_2),4,0),COLORFF0080;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_3:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1);
X_4:=X_3 AND CLOSE>REF(MAX(HIGH,REF(CLOSE,1)),X_2);
STICKLINE(X_4,REF(CLOSE,1),CLOSE,3,(-1)),COLORYELLOW;
STICKLINE(X_4,CLOSE,OPEN,3,0),COLORYELLOW;
STICKLINE(X_4,LOW,HIGH,0.8,0),COLORRED;
DRAWTEXT(X_4,HIGH,VAR2STR(BARSLASTCOUNT(X_4),0)),COLORMAGENTA,LINETHICK9;
DRAWNUMBER(ISLASTBAR,HIGH*1.15,DATE+19000000);