名称: 盖世波段王副 类别:技术指标
说明:
公式组: 百股精软件副图
N:=6;
M:=81;
A1:=DATE<=1110115;
TR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=SUM(IF(HD>0 AND HD>LD,HD,0),N);
DMM:=SUM(IF(LD>0 AND LD>HD,LD,0),N);
PDI:=DMP*100/TR1;
X:=37;
Y:=49.99;
DIFF:=EMA(CLOSE,34)-EMA(CLOSE,5);
DEA:=EMA(DIFF,5);
A:=CROSS(DIFF,0);
B:=CROSS(0,DIFF);
STICKLINE(CLOSE>=OPEN AND A1,CLOSE,OPEN,8,1),colorFF0000;
STICKLINE(CLOSE>=OPEN AND HIGH>CLOSE AND A1,CLOSE,HIGH,0,0),colorFF0000;
STICKLINE(CLOSE>=OPEN AND OPEN>LOW AND A1,LOW,OPEN,0,0),colorFF0000;
STICKLINE(CLOSE<OPEN AND A1,OPEN,CLOSE,8,0),colorFF0000;
STICKLINE(CLOSE<OPEN AND HIGH>OPEN AND A1,OPEN,HIGH,0,0),colorFF0000;
STICKLINE(CLOSE<OPEN AND CLOSE>LOW AND A1,LOW,CLOSE,0,0),colorFF0000;
STICKLINE(B AND (CROSS(PDI,Y) OR CROSS(PDI,X)) AND CLOSE>=OPEN AND A1,CLOSE,OPEN,8,1),colorFFFFFF;
STICKLINE(B AND (CROSS(PDI,Y) OR CROSS(PDI,X)) AND CLOSE>=OPEN AND HIGH>CLOSE AND A1,CLOSE,HIGH,0,0),colorFFFFFF;
STICKLINE(B AND (CROSS(PDI,Y) OR CROSS(PDI,X)) AND CLOSE>=OPEN AND OPEN>LOW AND A1,LOW,OPEN,0,0),colorFFFFFF;
STICKLINE(B AND (CROSS(PDI,Y) OR CROSS(PDI,X)) AND CLOSE<OPEN AND A1,OPEN,CLOSE,8,0),colorFFFFFF;
STICKLINE(B AND (CROSS(PDI,Y) OR CROSS(PDI,X)) AND CLOSE<OPEN AND HIGH>OPEN AND A1,OPEN,HIGH,0,0),colorFFFFFF;
STICKLINE(B AND (CROSS(PDI,Y) OR CROSS(PDI,X)) AND CLOSE<OPEN AND CLOSE>LOW AND A1,LOW,CLOSE,0,0),colorFFFFFF;
STICKLINE(REF(B,1) AND (CROSS(PDI,Y) OR CROSS(PDI,X)) AND CLOSE>=OPEN AND A1,CLOSE,OPEN,8,1),colorFFFFFF;
STICKLINE(REF(B,1) AND (CROSS(PDI,Y) OR CROSS(PDI,X)) AND CLOSE>=OPEN AND HIGH>CLOSE AND A1,CLOSE,HIGH,0,0),colorFFFFFF;
STICKLINE(REF(B,1) AND (CROSS(PDI,Y) OR CROSS(PDI,X)) AND CLOSE>=OPEN AND OPEN>LOW AND A1,LOW,OPEN,0,0),colorFFFFFF;
STICKLINE(REF(B,1) AND (CROSS(PDI,Y) OR CROSS(PDI,X)) AND CLOSE<OPEN AND A1,OPEN,CLOSE,8,0),colorFFFFFF;
STICKLINE(REF(B,1) AND (CROSS(PDI,Y) OR CROSS(PDI,X)) AND CLOSE<OPEN AND HIGH>OPEN AND A1,OPEN,HIGH,0,0),colorFFFFFF;
STICKLINE(REF(B,1) AND (CROSS(PDI,Y) OR CROSS(PDI,X)) AND CLOSE<OPEN AND CLOSE>LOW AND A1,LOW,CLOSE,0,0),colorFFFFFF;
STICKLINE((REF(B,2) OR REF(B,3) OR REF(B,4)) AND CLOSE>=OPEN AND A1,CLOSE,OPEN,8,1),colorFF0000;
STICKLINE((REF(B,2) OR REF(B,3) OR REF(B,4)) AND CLOSE>=OPEN AND HIGH>CLOSE AND A1,CLOSE,HIGH,0,0),colorFF0000;
STICKLINE((REF(B,2) OR REF(B,3) OR REF(B,4)) AND CLOSE>=OPEN AND OPEN>LOW AND A1,LOW,OPEN,0,0),colorFF0000;
STICKLINE((REF(B,2) OR REF(B,3) OR REF(B,4)) AND CLOSE<OPEN AND A1,OPEN,CLOSE,8,0),colorFF0000;
STICKLINE((REF(B,2) OR REF(B,3) OR REF(B,4)) AND CLOSE<OPEN AND HIGH>OPEN AND A1,OPEN,HIGH,0,0),colorFF0000;
STICKLINE((REF(B,2) OR REF(B,3) OR REF(B,4)) AND CLOSE<OPEN AND CLOSE>LOW AND A1,LOW,CLOSE,0,0),colorFF0000;
|