通达信指标——顶底K线(副图)
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
{顶底K线+KDJ}
K短:"KDJ.K"(9,3,3),COLORYELLOW;
D短:"KDJ.D"(9,3,3),COLORYELLOW;
J短:"KDJ.J"(9,3,3),COLORYELLOW;
K45:"KDJ.K"(15,8,3),COLORGRAY,LINETHICK2;
STICKLINE(K45>REF(K45,1),80,100,1,0),COLORGRAY,LINETHICK1;
V AR1 := REF(OPEN,1);
V AR2:=SMA(MAX(OPEN-V AR1,0),6,1)/SMA(ABS(OPEN-V AR1),6,1)*100;
V AR3:= REF(CLOSE,1);
V AR4:=SMA(MAX(CLOSE-V AR3,0),6,1)/SMA(ABS(CLOSE-V AR3),6,1)*100;
V AR5:= REF(HIGH,1);
V AR6:=SMA(MAX(HIGH-V AR5,0),6,1)/SMA(ABS(HIGH-V AR5),6,1)*100;
V AR7:= REF(LOW,1);
V AR9:=SMA(MAX(LOW-V AR7,0),6,1)/SMA(ABS(LOW-VAR7),6,1)*100;
V AR8:=(MIN(OPEN,CLOSE)-LOW)/LOW*100>VOL/CAPITAL*0.001 ;
V AR10:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,13))*100;
V AR11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
V AR12:=EMA(V AR11,8)*10<-26;
V AR13:=IF(VAR8 AND MA(V AR10,5)<50 AND V AR12,30,0);
开盘值:V AR2,POINTDOT, LINETHICK0 ;
收盘值:V AR4,POINTDOT, LINETHICK0 ;
最高值:V AR6,POINTDOT, LINETHICK0 ;
最低值:V AR9,POINTDOT, LINETHICK0 ;
STICKLINE(收盘值>开盘值,开盘值,最低值,0.5,1),COLORRED;
STICKLINE(收盘值>开盘值,最高值,收盘值,0.5,1),COLORRED;
STICKLINE(收盘值>开盘值,收盘值,开盘值,5,1),COLORRED;
STICKLINE(收盘值<开盘值,最高值,开盘值,0.5,1),COLORFFFF00;
STICKLINE(收盘值<开盘值,最低值,收盘值,0.5,0),COLORFFFF00;
STICKLINE(收盘值<开盘值,收盘值,开盘值,5,0),COLORFFFF00;
入顶:80,POINTDOT,LINETHICK1,COLORGREEN;
入底:20,POINTDOT, LINETHICK1 ,COLORFF00FF;
0,COLORGRAY; 20,COLORGRAY; 50,COLORGRAY; 80,COLORGRAY; 100,COLORGRAY;