同花顺星空断层指标公式

[复制链接]
查看289 | 回复0 | 2021-8-20 23:23:03 | 显示全部楼层 |阅读模式

A5:MA(C,5),color999999,POINTDOT,LINETHICK1;
A20:MA(C,20),colorblue;
A60:=MA(C,60),color0111FF;
A1:=MA(C,1);
DEA:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),COLORFF7FFF,LINETHICK1;
PARTLINE(A60,A60>REF(A60,1),color0111FF,A60<REF(A60,1),color009000);
FILLRGN(A5,DEA,DEA>REF(DEA,1) AND A1>A5,color0999ff,DEA>REF(DEA,1) AND A1<A5 AND A5>=REF(A5,1),COLOR222222,DEA>REF(DEA,1) AND A1<A5 AND A5<REF(A5,1),color222222);
FILLRGN(A5,DEA,DEA<REF(DEA,1) AND A1>A5,color009000,DEA<REF(DEA,1) AND A1<A5,color222222,DEA<REF(DEA,1),COLOR222222);
PARTLINE(DEA,A1>=DEA,colorFFFFFF,A1<DEA,colorFF9909),LINETHICK2;
PARTLINE(A5,A5>=REF(A5,1),color111FFF,A5<REF(A5,1),Color00f000),LINETHICK2;
N=20;
P=2;
MID:=MA(CLOSE,N),color999999,POINTDOT,LINETHICK1;
UPPER:=MID + P*STD(CLOSE,N),color999999;
LOWER:=MID - P*STD(CLOSE,N),color999999;
PARTLINE(UPPER,A1>=UPPER,color009000,A1<UPPER,Color999999),LINETHICK1;
PARTLINE(LOWER,A1<=LOWER,color009000,A1>LOWER,Color999999),LINETHICK1;

202108202253.jpg

202108202253.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则