{精细解盘主图源码如下}
X_1:=EMA(CLOSE,8);
X_2:=EMA(X_1,3);
X_3:=EMA(X_2,3);
X_4:=EMA(X_3,3);
X_5:=EMA(X_4,3);
X_1>LOW AND LOW>=X_3 AND X_1<HIGH AND (X_1<MIN(OPEN,CLOSE) OR X_1>MIN(OPEN,CLOSE)),COLORYELLOW;
MAX(OPEN,CLOSE)>=X_2 AND MIN(OPEN,CLOSE)>=X_5 AND MIN(OPEN,CLOSE)<X_4,COLORLIGRAY;
BETWEEN(CLOSE,X_3,X_4) AND MIN(OPEN,CLOSE)>=X_5,COLORGREEN;
CLOSE<=X_4 AND MIN(OPEN,CLOSE)<X_5,COLORBLUE;
MAX(MAX(MAX(MAX(X_1,X_2),X_3),X_4),X_5)<=MAX(OPEN,CLOSE) AND MIN(MIN(MIN(MIN(X_1,X_2),X_3),X_4),X_5)>=MIN(OPEN,CLOSE) AND CLOSE>REF(CLOSE,1) AND CLOSE>OPEN,COLORLIRED;
MAX(MAX(MAX(MAX(X_1,X_2),X_3),X_4),X_5)<=MAX(OPEN,CLOSE) AND MIN(MIN(MIN(MIN(X_1,X_2),X_3),X_4),X_5)>=MIN(OPEN,CLOSE) AND CLOSE<REF(CLOSE,1),COLORLIGREEN;
{精细解盘副图源码如下}
1;
X_1:=HYSYL;
X_2:=IF(FINANCE(3)=2,0.3,IF(FINANCE(3)=3 OR FINANCE(3)=4 OR FINANCE(3)=6,0.2,0.1));
X_3:=CLOSE>=ZTPRICE(REF(CLOSE,1),IF(X_1,0.05,X_2)) AND HIGH!=LOW AND HIGH>0;
X_4:=CLOSE>=ZTPRICE(REF(CLOSE,1),IF(X_1,0.05,X_2)) AND HIGH=LOW AND HIGH>0;
X_5:=X_3 OR X_4;
X_6:=CLOSE<=DTPRICE(REF(CLOSE,1),IF(X_1,0.05,X_2)) AND HIGH!=LOW AND LOW>0;
X_7:=CLOSE<=DTPRICE(REF(CLOSE,1),IF(X_1,0.05,X_2)) AND HIGH=LOW AND LOW>0;
X_8:=X_6 OR X_7;
X_9:=EMA(CLOSE,8);
X_10:=EMA(X_9,3);
X_11:=EMA(X_10,3);
X_12:=EMA(X_11,3);
X_13:=EMA(X_12,3);
买:CROSS(LOW>=X_9,0.5),COLORRED,LINETHICK2;
DRAWTEXT(买,0.88,'买'),COLORRED;
高抛低吸:X_9>LOW AND LOW>=X_11 AND X_9<HIGH AND (X_9<MIN(OPEN,CLOSE) OR X_9>MIN(OPEN,CLOSE)) AND NOT(X_8),COLORYELLOW;
DRAWTEXT(CROSS(高抛低吸,0.5),0.618,'高抛低吸'),COLORYELLOW;
变盘上:MAX(MAX(MAX(MAX(X_9,X_10),X_11),X_12),X_13)<=MAX(OPEN,CLOSE) AND MIN(MIN(MIN(MIN(X_9,X_10),X_11),X_12),X_13)>=MIN(OPEN,CLOSE) AND CLOSE>REF(CLOSE,1) AND CLOSE>OPEN,STICK,COLORLIRED,LINETHICK2;
DRAWTEXT(CROSS(变盘上,0.5),0.382,'变盘上'),COLORLIRED;