以下是同花顺均线权证主图指标

同花顺均线权证主图指标

源码

S1:=EMA(C,3)*2 – EMA(EMA(C,3),3), coloryellow;
S2:=EMA(C,6)*2 – EMA(EMA(C,6),6), coloryellow;
S3:=EMA(C,9)*2 – EMA(EMA(C,9),9), coloryellow;
S4:=EMA(C,14)*2 – EMA(EMA(C,14),14), coloryellow;
S5:=EMA(C,19)*2 – EMA(EMA(C,19),19), coloryellow;
均线:(S1+S2+S3+S4+S5)/5, CulorFF17FF, LINETHICK2;
L1:EMA(C,27)*2 – EMA(EMA(C,27),27),Culor1AFFFF;
L2:EMA(C,34)*2 – EMA(EMA(C,34),34),Culor1EFF1E;
L3:EMA(C,41)*2 – EMA(EMA(C,41),41),CulorFFFF2D;
L4:EMA(C,48)*2 – EMA(EMA(C,48),48),CulorFFFFFF;
L5:EMA(C,55)*2 – EMA(EMA(C,55),55),Culor1E1EFF;

STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),Culor00FF00;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),Culor00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,10,0 ),CulorA2A200;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),CulorBFBF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),CulorDDDD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),CulorF7F700;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),CulorFFFF0B;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),CulorFFFF26;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),CulorFFFF42;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,10,0) ,Culor0000A6;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,Culor0000C4;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,Culor0000E1;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,Culor0000F0;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,Culor0909FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,Culor1717FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,Culor3E3EFF;
var9Q:=C= HHV(C,4)AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2);
红持:var9Q,color0000ff;
     STICKLINE(var9Q,C,(O+C)/2,10,0),CulorC60063;
     STICKLINE(var9Q,C,(O+C)/2,8,0),CulorDD006F;
     STICKLINE(var9Q,C,(O+C)/2,5,0),CulorF20079;
     STICKLINE(var9Q,C,(O+C)/2,4,0),CulorFF0B85;
     STICKLINE(var9Q,C,(O+C)/2,3,0),CulorFF1E8E;
     STICKLINE(var9Q,C,(O+C)/2,2,0),CulorFF2894;
     STICKLINE(var9Q,C,(O+C)/2,1,0),CulorFF4DA6;
varaQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);
粉变:varaQ,CulorFF20FF;
     STICKLINE(varaQ,C,(O+C)/2,10,0),CulorBE00BE;
     STICKLINE(varaQ,C,(O+C)/2,8,0),CulorDE00DE;
     STICKLINE(varaQ,C,(O+C)/2,5,0),CulorEC00EC;
     STICKLINE(varaQ,C,(O+C)/2,4,0),CulorEE00EE;
     STICKLINE(varaQ,C,(O+C)/2,3,0),CulorFF06FF;
     STICKLINE(varaQ,C,(O+C)/2,2,0),CulorFF33FF;
     STICKLINE(varaQ,C,(O+C)/2,1,0),CulorFF55FF;
varbQ:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<>HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);
白跌:varbQ,CulorFFFFFF;
     STICKLINE(varbQ,C,(O+C)/2,10,0),CulorB6B6B6;
     STICKLINE(varbQ,C,(O+C)/2,8,0),CulorC5C5C5;
     STICKLINE(varbQ,C,(O+C)/2,5,0),CulorD5D5D5;
     STICKLINE(varbQ,C,(O+C)/2,4,0),CulorC6C6C6;
     STICKLINE(varbQ,C,(O+C)/2,3,0),CulorE7E7E7;
     STICKLINE(varbQ,C,(O+C)/2,2,0),CulorFFFFFF;
     STICKLINE(varbQ,C,(O+C)/2,1,0),CulorFFFFFF;
varcQ:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
黄买:varcQ,Culor46FFFF;
     STICKLINE(varcQ,O,(O+C)/2,10,0),Culor00A6A6;
     STICKLINE(varcQ,O,(O+C)/2,8,0),Culor00C4C4;
     STICKLINE(varcQ,O,(O+C)/2,5,0),Culor00DDDD;
     STICKLINE(varcQ,O,(O+C)/2,4,0),Culor00F0F0;
     STICKLINE(varcQ,O,(O+C)/2,3,0),Culor06FFFF;
     STICKLINE(varcQ,O,(O+C)/2,2,0),Culor1EFFFF;
     STICKLINE(varcQ,O,(O+C)/2,1,0),Culor46FFFF;
vardQ:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND REF(C,2)>=REF(C,4) AND C<REF(C,1);
绿抛:vardQ,Culor00FF00;
STICKLINE(vardQ,O,(O+C)/2,10,0),Culor00A200;
STICKLINE(vardQ,O,(O+C)/2,8,0),Culor00BF00;
STICKLINE(vardQ,O,(O+C)/2,5,0),Culor00DD00;
STICKLINE(vardQ,O,(O+C)/2,4,0),Culor00F200;
STICKLINE(vardQ,O,(O+C)/2,3,0),Culor00FF00;
STICKLINE(vardQ,O,(O+C)/2,2,0),Culor1EFF1E;
STICKLINE(vardQ,O,(O+C)/2,1,0),Culor3EFF3E;
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。