同花顺操盘四线主图指标
源码
操盘线:=EMA(CLOSE,6); 反弹线:0.9*EMA(FORCAST(CLOSE,44),44); 追涨线:1.0*EMA(FORCAST(CLOSE,44),44); 起爆线:1.3*EMA(FORCAST(CLOSE,44),44); PARTLINE(操盘线,操盘线>REF(操盘线,1),RGB(250,10,250),操盘线<=REF(操盘线,1),RGB(10,250,10)),LINETHICK2; MA3:=MA(C,3); X1:=REF(EMA(C,3),1); X2:=(EMA(C,3)-X1)/X1*100; N1:=BARSLAST(CROSS(X2,0)); N2:=BARSLAST(CROSS(0,X2)); X3:=CROSS(X2,0) OR CROSS(0,X2); STICKLINE(N1<N2,REF(MA3,N1),REF(MA3,N1),9,3),Color1EFFFF,LINETHICK2; STICKLINE(N2<N1,REF(MA3,N2),REF(MA3,N2),9,3),ColorFF1E1E,LINETHICK2; 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 ),Color00FF00; STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),Color00FF00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,10,0 ),ColorA2A200; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),ColorBFBF00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),ColorDDDD00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),ColorF7F700; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),ColorFFFF0B; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),ColorFFFF26; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),ColorFFFF42; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,10,0) ,Color0000A6; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,Color0000C4; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,Color0000E1; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,Color0000F0; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,Color0909FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,Color1717FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,Color3E3EFF; 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); STICKLINE(var9Q,C,(O+C)/2,10,0),ColorC60063; STICKLINE(var9Q,C,(O+C)/2,8,0),ColorDD006F; STICKLINE(var9Q,C,(O+C)/2,5,0),ColorF20079; STICKLINE(var9Q,C,(O+C)/2,4,0),ColorFF0B85; STICKLINE(var9Q,C,(O+C)/2,3,0),ColorFF1E8E; STICKLINE(var9Q,C,(O+C)/2,2,0),ColorFF2894; STICKLINE(var9Q,C,(O+C)/2,1,0),ColorFF4DA6; varaQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4); STICKLINE(varaQ,C,(O+C)/2,10,0),ColorBE00BE; STICKLINE(varaQ,C,(O+C)/2,8,0),ColorDE00DE; STICKLINE(varaQ,C,(O+C)/2,5,0),ColorEC00EC; STICKLINE(varaQ,C,(O+C)/2,4,0),ColorEE00EE; STICKLINE(varaQ,C,(O+C)/2,3,0),ColorFF06FF; STICKLINE(varaQ,C,(O+C)/2,2,0),ColorFF33FF; STICKLINE(varaQ,C,(O+C)/2,1,0),ColorFF55FF; 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); STICKLINE(varbQ,C,(O+C)/2,10,0),ColorB6B6B6; STICKLINE(varbQ,C,(O+C)/2,8,0),ColorC5C5C5; STICKLINE(varbQ,C,(O+C)/2,5,0),ColorD5D5D5; STICKLINE(varbQ,C,(O+C)/2,4,0),ColorC6C6C6; STICKLINE(varbQ,C,(O+C)/2,3,0),ColorE7E7E7; STICKLINE(varbQ,C,(O+C)/2,2,0),ColorFFFFFF; STICKLINE(varbQ,C,(O+C)/2,1,0),ColorFFFFFF; 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); STICKLINE(varcQ,O,(O+C)/2,10,0),Color00A6A6; STICKLINE(varcQ,O,(O+C)/2,8,0),Color00C4C4; STICKLINE(varcQ,O,(O+C)/2,5,0),Color00DDDD; STICKLINE(varcQ,O,(O+C)/2,4,0),Color00F0F0; STICKLINE(varcQ,O,(O+C)/2,3,0),Color06FFFF; STICKLINE(varcQ,O,(O+C)/2,2,0),Color1EFFFF; STICKLINE(varcQ,O,(O+C)/2,1,0),Color46FFFF; 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); STICKLINE(vardQ,O,(O+C)/2,10,0),Color00A200; STICKLINE(vardQ,O,(O+C)/2,8,0),Color00BF00; STICKLINE(vardQ,O,(O+C)/2,5,0),Color00DD00; STICKLINE(vardQ,O,(O+C)/2,4,0),Color00F200; STICKLINE(vardQ,O,(O+C)/2,3,0),Color00FF00; STICKLINE(vardQ,O,(O+C)/2,2,0),Color1EFF1E; STICKLINE(vardQ,O,(O+C)/2,1,0),Color3EFF3E; 多方:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1) -3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1) -SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1) ,3,1),2,1); STICKLINE(CROSS(78.89,多方),H+1.5,H,1,0),ColorFFFF28; DRAWTEXT(CROSS(78.89,多方),H+1.5,'▼'),Color00FF00; KS:=((CLOSE-MA(CLOSE,17))/(MA(CLOSE,17)))*((-100)); RKS:=REF(KS,1); MLS:=((RKS)/(KS)>=1.23) AND (RKS>=8) AND ((CLOSE)/(REF(CLOSE,1))>=1.02); STICKLINE((MLS=1),(LOW)*(0.75),(LOW)*(0.78),8,1),Linethick2,CoLorFF00FF;
移动端首页 | PC端
© by Gszb.com Mobile Web
同花顺操盘四线主图指标
源码
操盘线:=EMA(CLOSE,6);
STICKLINE(var9Q,C,(O+C)/2,10,0),ColorC60063;
STICKLINE(var9Q,C,(O+C)/2,8,0),ColorDD006F;
STICKLINE(var9Q,C,(O+C)/2,5,0),ColorF20079;
STICKLINE(var9Q,C,(O+C)/2,4,0),ColorFF0B85;
STICKLINE(var9Q,C,(O+C)/2,3,0),ColorFF1E8E;
STICKLINE(var9Q,C,(O+C)/2,2,0),ColorFF2894;
STICKLINE(var9Q,C,(O+C)/2,1,0),ColorFF4DA6;
STICKLINE(varaQ,C,(O+C)/2,10,0),ColorBE00BE;
STICKLINE(varaQ,C,(O+C)/2,8,0),ColorDE00DE;
STICKLINE(varaQ,C,(O+C)/2,5,0),ColorEC00EC;
STICKLINE(varaQ,C,(O+C)/2,4,0),ColorEE00EE;
STICKLINE(varaQ,C,(O+C)/2,3,0),ColorFF06FF;
STICKLINE(varaQ,C,(O+C)/2,2,0),ColorFF33FF;
STICKLINE(varaQ,C,(O+C)/2,1,0),ColorFF55FF;
STICKLINE(varbQ,C,(O+C)/2,10,0),ColorB6B6B6;
STICKLINE(varbQ,C,(O+C)/2,8,0),ColorC5C5C5;
STICKLINE(varbQ,C,(O+C)/2,5,0),ColorD5D5D5;
STICKLINE(varbQ,C,(O+C)/2,4,0),ColorC6C6C6;
STICKLINE(varbQ,C,(O+C)/2,3,0),ColorE7E7E7;
STICKLINE(varbQ,C,(O+C)/2,2,0),ColorFFFFFF;
STICKLINE(varbQ,C,(O+C)/2,1,0),ColorFFFFFF;
STICKLINE(varcQ,O,(O+C)/2,10,0),Color00A6A6;
STICKLINE(varcQ,O,(O+C)/2,8,0),Color00C4C4;
STICKLINE(varcQ,O,(O+C)/2,5,0),Color00DDDD;
STICKLINE(varcQ,O,(O+C)/2,4,0),Color00F0F0;
STICKLINE(varcQ,O,(O+C)/2,3,0),Color06FFFF;
STICKLINE(varcQ,O,(O+C)/2,2,0),Color1EFFFF;
STICKLINE(varcQ,O,(O+C)/2,1,0),Color46FFFF;
反弹线:0.9*EMA(FORCAST(CLOSE,44),44);
追涨线:1.0*EMA(FORCAST(CLOSE,44),44);
起爆线:1.3*EMA(FORCAST(CLOSE,44),44);
PARTLINE(操盘线,操盘线>REF(操盘线,1),RGB(250,10,250),操盘线<=REF(操盘线,1),RGB(10,250,10)),LINETHICK2;
MA3:=MA(C,3);
X1:=REF(EMA(C,3),1);
X2:=(EMA(C,3)-X1)/X1*100;
N1:=BARSLAST(CROSS(X2,0));
N2:=BARSLAST(CROSS(0,X2));
X3:=CROSS(X2,0) OR CROSS(0,X2);
STICKLINE(N1<N2,REF(MA3,N1),REF(MA3,N1),9,3),Color1EFFFF,LINETHICK2;
STICKLINE(N2<N1,REF(MA3,N2),REF(MA3,N2),9,3),ColorFF1E1E,LINETHICK2;
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 ),Color00FF00;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),Color00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,10,0 ),ColorA2A200;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),ColorBFBF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),ColorDDDD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),ColorF7F700;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),ColorFFFF0B;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),ColorFFFF26;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),ColorFFFF42;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,10,0) ,Color0000A6;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,Color0000C4;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,Color0000E1;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,Color0000F0;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,Color0909FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,Color1717FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,Color3E3EFF;
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);
varaQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);
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);
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);
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);
STICKLINE(vardQ,O,(O+C)/2,10,0),Color00A200;
STICKLINE(vardQ,O,(O+C)/2,8,0),Color00BF00;
STICKLINE(vardQ,O,(O+C)/2,5,0),Color00DD00;
STICKLINE(vardQ,O,(O+C)/2,4,0),Color00F200;
STICKLINE(vardQ,O,(O+C)/2,3,0),Color00FF00;
STICKLINE(vardQ,O,(O+C)/2,2,0),Color1EFF1E;
STICKLINE(vardQ,O,(O+C)/2,1,0),Color3EFF3E;
多方:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)
-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
,3,1),2,1);
STICKLINE(CROSS(78.89,多方),H+1.5,H,1,0),ColorFFFF28;
DRAWTEXT(CROSS(78.89,多方),H+1.5,'▼'),Color00FF00;
KS:=((CLOSE-MA(CLOSE,17))/(MA(CLOSE,17)))*((-100));
RKS:=REF(KS,1);
MLS:=((RKS)/(KS)>=1.23) AND (RKS>=8) AND ((CLOSE)/(REF(CLOSE,1))>=1.02);
STICKLINE((MLS=1),(LOW)*(0.75),(LOW)*(0.78),8,1),Linethick2,CoLorFF00FF;