主图指标PP专做逼空线
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
选股票看什么指标最好 >股票指标网
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
编写要求:
解答:
网友求助:
{PP专做逼空线}{主图}
A0:=(L+H+C*2)/4;
现价:C,NODRAW,COLORFF3399;
MA1:MA(CLOSE,60),COLOR0066FF,LINETHICK2;
工作:=EMA(A0,14)COLORYELLOW,LINETHICK3;
度假:=EMA(A0,25)COLORYELLOW,LINETHICK3;
A1X:=(工作-REF(工作,1))/REF(工作,1)*100;
A2X:=(度假-REF(度假,1))/REF(度假,1)*100;
G:=BARSLAST(CROSS(A1X,0));
止损线:REF(A0,G),COLOR66FF00,LINETHICK1;
A2:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
A5:=EMA(CLOSE,12)-EMA(CLOSE,26);
A6:=EMA(A5,9);
A7:=(A5<-0.1 AND A5>A6);
CS:IF(A7,LLV(L,21),DRAWNULL)COLORRED,CIRCLEDOT;
DRAWICON(CROSS(A2,EMA(A2,5)) AND (A4-EMA(A2,5))>40 AND A7,LLV(L,21)*1.02,1);
STICKLINE(C>REF(C,1)*1.09,C,O,2,0)COLORRED,LINETHICK2;
STICKLINE(C<REF(C,1)*0.901,C,O,2,0)COLORGREEN,LINETHICK1;
J:IF(A2X>=0,度假,DRAWNULL),COLOR7F00FF,LINETHICK2;
S:IF(A1X>=0,工作,DRAWNULL),COLORFF80FF,LINETHICK1;
操作线:IF(A1X>=0,止损线,DRAWNULL),LINETHICK2,COLOR4D4DFF;
Z:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.1,REF(A0,BARSLAST(CROSS(A1X,0)))*1.1,DRAWNULL),COLORCYAN,POINTDOT;
顺:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.2,REF(A0,BARSLAST(CROSS(A1X,0)))*1.2,DRAWNULL),COLORCYAN,POINTDOT;
逼空线:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,DRAWNULL),COLORYELLOW,CIRCLEDOT;
Q:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.4,REF(A0,BARSLAST(CROSS(A1X,0)))*1.4,DRAWNULL),COLORCYAN,POINTDOT;
势:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.5,REF(A0,BARSLAST(CROSS(A1X,0)))*1.5,DRAWNULL),COLORCYAN,POINTDOT;
P:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.6,REF(A0,BARSLAST(CROSS(A1X,0)))*1.6,DRAWNULL),COLORCYAN,POINTDOT;
W:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.7,REF(A0,BARSLAST(CROSS(A1X,0)))*1.7,DRAWNULL),COLORCYAN,POINTDOT;
出:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.8,REF(A0,BARSLAST(CROSS(A1X,0)))*1.8,DRAWNULL),COLORCYAN,POINTDOT;
局:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.9,REF(A0,BARSLAST(CROSS(A1X,0)))*1.9,DRAWNULL),COLORCYAN,POINTDOT;
上轨: IF(1.1>SMA(CLOSE,2,1)/SMA(CLOSE,13,2)>1.05,SMA(HIGH,21,5)*1.05,SMA(HIGH,21,2)*1.05),COLOR4D4DFF,CIRCLEDOT;
下轨: SMA(LOW,21,2)*0.95,CIRCLEDOT,COLORFF6600;
SQS: IF(MA(VOL,3)>MA(VOL,5)>MA(VOL,9),SMA(CLOSE,3,1),SMA(CLOSE,5,1)),COLORFF99FF,LINETHICK3;
A0:=(L+H+C*2)/4;
现价:C,NODRAW,COLORFF3399;
MA1:MA(CLOSE,60),COLOR0066FF,LINETHICK2;
工作:=EMA(A0,14)COLORYELLOW,LINETHICK3;
度假:=EMA(A0,25)COLORYELLOW,LINETHICK3;
A1X:=(工作-REF(工作,1))/REF(工作,1)*100;
A2X:=(度假-REF(度假,1))/REF(度假,1)*100;
G:=BARSLAST(CROSS(A1X,0));
止损线:REF(A0,G),COLOR66FF00,LINETHICK1;
A2:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
A5:=EMA(CLOSE,12)-EMA(CLOSE,26);
A6:=EMA(A5,9);
A7:=(A5<-0.1 AND A5>A6);
CS:IF(A7,LLV(L,21),DRAWNULL)COLORRED,CIRCLEDOT;
DRAWICON(CROSS(A2,EMA(A2,5)) AND (A4-EMA(A2,5))>40 AND A7,LLV(L,21)*1.02,1);
STICKLINE(C>REF(C,1)*1.09,C,O,2,0)COLORRED,LINETHICK2;
STICKLINE(C<REF(C,1)*0.901,C,O,2,0)COLORGREEN,LINETHICK1;
J:IF(A2X>=0,度假,DRAWNULL),COLOR7F00FF,LINETHICK2;
S:IF(A1X>=0,工作,DRAWNULL),COLORFF80FF,LINETHICK1;
操作线:IF(A1X>=0,止损线,DRAWNULL),LINETHICK2,COLOR4D4DFF;
Z:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.1,REF(A0,BARSLAST(CROSS(A1X,0)))*1.1,DRAWNULL),COLORCYAN,POINTDOT;
顺:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.2,REF(A0,BARSLAST(CROSS(A1X,0)))*1.2,DRAWNULL),COLORCYAN,POINTDOT;
逼空线:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,DRAWNULL),COLORYELLOW,CIRCLEDOT;
Q:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.4,REF(A0,BARSLAST(CROSS(A1X,0)))*1.4,DRAWNULL),COLORCYAN,POINTDOT;
势:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.5,REF(A0,BARSLAST(CROSS(A1X,0)))*1.5,DRAWNULL),COLORCYAN,POINTDOT;
P:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.6,REF(A0,BARSLAST(CROSS(A1X,0)))*1.6,DRAWNULL),COLORCYAN,POINTDOT;
W:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.7,REF(A0,BARSLAST(CROSS(A1X,0)))*1.7,DRAWNULL),COLORCYAN,POINTDOT;
出:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.8,REF(A0,BARSLAST(CROSS(A1X,0)))*1.8,DRAWNULL),COLORCYAN,POINTDOT;
局:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.9,REF(A0,BARSLAST(CROSS(A1X,0)))*1.9,DRAWNULL),COLORCYAN,POINTDOT;
上轨: IF(1.1>SMA(CLOSE,2,1)/SMA(CLOSE,13,2)>1.05,SMA(HIGH,21,5)*1.05,SMA(HIGH,21,2)*1.05),COLOR4D4DFF,CIRCLEDOT;
下轨: SMA(LOW,21,2)*0.95,CIRCLEDOT,COLORFF6600;
SQS: IF(MA(VOL,3)>MA(VOL,5)>MA(VOL,9),SMA(CLOSE,3,1),SMA(CLOSE,5,1)),COLORFF99FF,LINETHICK3;
_____________________________________________________
{站上上轨}{选股}
上轨:=IF(1.1>SMA(CLOSE,2,1)/SMA(CLOSE,13,2)>1.05,SMA(HIGH,21,5)*1.05,SMA(HIGH,21,2)*1.05);
站上上轨:C>上轨;
解答如下:
{PP专做逼空线}{主图}
现价:C,LINETHICK0,COLORFF3399;
MA1:MA(CLOSE,60),COLOR0066FF,LINETHICK2;
工作:=EMA((L+H+C*2)/4,14);
度假:=EMA((L+H+C*2)/4,25);
A1X:=(工作-REF(工作,1))/REF(工作,1)*100;
A2X:=(度假-REF(度假,1))/REF(度假,1)*100;
G:=BARSLAST(CROSS(A1X,0));
止损线:REF((L+H+C*2)/4,G),COLOR66FF00;
A2:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
A5:=EMA(CLOSE,12)-EMA(CLOSE,26);
A6:=EMA(A5,9);
A7:=(A5<-0.1 AND A5>A6);
CS:IF(A7,LLV(L,21),0),COLORRED,LINETHICK0;
PARTLINE(LLV(L,21),A7),COLORRED,CIRCLEDOT;
DRAWICON(CROSS(A2,EMA(A2,5)) AND (A4-EMA(A2,5))>40 AND A7,LLV(L,21)*1.02,7);
STICKLINE(C>REF(C,1)*1.09,C,O,6,0),COLORRED;
STICKLINE(C<REF(C,1)*0.901,C,O,6,0),COLORGREEN;
J:IF(A2X>=0,度假,0),COLOR7F00FF,LINETHICK0;
PARTLINE(度假,A2X>=0),COLOR7F00FF,LINETHICK2;
S:IF(A1X>=0,工作,0),COLORFF80FF,LINETHICK0;
PARTLINE(工作,A1X>=0),COLORFF80FF;
操作线:IF(A1X>=0,止损线,0),LINETHICK0,COLOR4D4DFF;
PARTLINE(止损线,A1X>=0),LINETHICK2,COLOR4D4DFF;
AA:=REF((L+H+C*2)/4,BARSLAST(CROSS(A1X,0)));
Z:IF(H>=AA*1.1,AA*1.1,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.1,H>=AA*1.1),COLORCYAN,POINTDOT,LINETHICK2;
顺:IF(H>=AA*1.2,AA*1.2,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.2,H>=AA*1.2),COLORCYAN,POINTDOT,LINETHICK2;
逼空线:IF(H>=AA*1.3,AA*1.3,0),COLORYELLOW,LINETHICK0;
PARTLINE(AA*1.3,H>=AA*1.3),COLORYELLOW,CIRCLEDOT;
Q:IF(H>=AA*1.4,AA*1.4,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.4,H>=AA*1.4),COLORCYAN,POINTDOT,LINETHICK2;
势:IF(H>=AA*1.5,AA*1.5,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.5,H>=AA*1.5),COLORCYAN,POINTDOT,LINETHICK2;
P:IF(H>=AA*1.6,AA*1.6,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.6,H>=AA*1.6),COLORCYAN,POINTDOT,LINETHICK2;
W:IF(H>=AA*1.7,AA*1.7,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.7,H>=AA*1.7),COLORCYAN,POINTDOT,LINETHICK2;
出:IF(H>=AA*1.8,AA*1.8,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.8,H>=AA*1.8),COLORCYAN,POINTDOT,LINETHICK2;
局:IF(H>=AA*1.9,AA*1.9,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.9,H>=AA*1.9),COLORCYAN,POINTDOT,LINETHICK2;
现价:C,LINETHICK0,COLORFF3399;
MA1:MA(CLOSE,60),COLOR0066FF,LINETHICK2;
工作:=EMA((L+H+C*2)/4,14);
度假:=EMA((L+H+C*2)/4,25);
A1X:=(工作-REF(工作,1))/REF(工作,1)*100;
A2X:=(度假-REF(度假,1))/REF(度假,1)*100;
G:=BARSLAST(CROSS(A1X,0));
止损线:REF((L+H+C*2)/4,G),COLOR66FF00;
A2:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
A5:=EMA(CLOSE,12)-EMA(CLOSE,26);
A6:=EMA(A5,9);
A7:=(A5<-0.1 AND A5>A6);
CS:IF(A7,LLV(L,21),0),COLORRED,LINETHICK0;
PARTLINE(LLV(L,21),A7),COLORRED,CIRCLEDOT;
DRAWICON(CROSS(A2,EMA(A2,5)) AND (A4-EMA(A2,5))>40 AND A7,LLV(L,21)*1.02,7);
STICKLINE(C>REF(C,1)*1.09,C,O,6,0),COLORRED;
STICKLINE(C<REF(C,1)*0.901,C,O,6,0),COLORGREEN;
J:IF(A2X>=0,度假,0),COLOR7F00FF,LINETHICK0;
PARTLINE(度假,A2X>=0),COLOR7F00FF,LINETHICK2;
S:IF(A1X>=0,工作,0),COLORFF80FF,LINETHICK0;
PARTLINE(工作,A1X>=0),COLORFF80FF;
操作线:IF(A1X>=0,止损线,0),LINETHICK0,COLOR4D4DFF;
PARTLINE(止损线,A1X>=0),LINETHICK2,COLOR4D4DFF;
AA:=REF((L+H+C*2)/4,BARSLAST(CROSS(A1X,0)));
Z:IF(H>=AA*1.1,AA*1.1,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.1,H>=AA*1.1),COLORCYAN,POINTDOT,LINETHICK2;
顺:IF(H>=AA*1.2,AA*1.2,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.2,H>=AA*1.2),COLORCYAN,POINTDOT,LINETHICK2;
逼空线:IF(H>=AA*1.3,AA*1.3,0),COLORYELLOW,LINETHICK0;
PARTLINE(AA*1.3,H>=AA*1.3),COLORYELLOW,CIRCLEDOT;
Q:IF(H>=AA*1.4,AA*1.4,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.4,H>=AA*1.4),COLORCYAN,POINTDOT,LINETHICK2;
势:IF(H>=AA*1.5,AA*1.5,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.5,H>=AA*1.5),COLORCYAN,POINTDOT,LINETHICK2;
P:IF(H>=AA*1.6,AA*1.6,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.6,H>=AA*1.6),COLORCYAN,POINTDOT,LINETHICK2;
W:IF(H>=AA*1.7,AA*1.7,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.7,H>=AA*1.7),COLORCYAN,POINTDOT,LINETHICK2;
出:IF(H>=AA*1.8,AA*1.8,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.8,H>=AA*1.8),COLORCYAN,POINTDOT,LINETHICK2;
局:IF(H>=AA*1.9,AA*1.9,0),COLORCYAN,LINETHICK0;
PARTLINE(AA*1.9,H>=AA*1.9),COLORCYAN,POINTDOT,LINETHICK2;
{站上上轨}{选股}
上轨:=IF(1.1>SMA(CLOSE,2,1)/SMA(CLOSE,13,2)>1.05,SMA(HIGH,21,5)*1.05,SMA(HIGH,21,2)*1.05);
站上上轨:C>上轨;
选股票看什么指标最好 >股票指标网
精彩评论