图片
妖股定律主图指标源码如下:
ACB1:=EMA(CLOSE,12)-EMA(CLOSE,26);ACB2:=EMA(ACB1,9);ACB3:=ACB1>ACB2;
{微信公众号:指标汇集}
ACB4:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
ACB5:=SMA(ACB4,3,1);
ACB6:=SMA(ACB5,3,1);
ACB7:=ACB5>ACB6;
ACB8:=REF(CLOSE,1);
ACB9:=SMA(MAX(CLOSE-ACB8,0),9,1)/SMA(ABS(CLOSE-ACB8),9,1)*100;
ACB10:=SMA(MAX(CLOSE-ACB8,0),26,1)/SMA(ABS(CLOSE-ACB8),26,1)*100;
ACB11:=ACB9>ACB10;
ACB12:=SMA(ACB4,3,1);
ACB13:=SMA(ACB12,3,1);
ACB14:=ACB12>ACB13;
ACB15:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;
ACB16:=CLOSE>ACB15;{微信公众号:指标汇集}
ACB17:=CLOSE-REF(CLOSE,1);
ACB18:=100*EMA(EMA(ACB17,9),9)/EMA(EMA(ABS(ACB17),9),3);
ACB19:=100*EMA(EMA(ACB17,26),12)/EMA(EMA(ABS(ACB17),26),12);
ACB20:=ACB18>ACB19;
ACB21:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
ACB22:=REF(EMA(ACB21,3),1);
ACB23:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
ACB24:=IF(CLOSE>OPEN,ACB23*(HIGH-LOW),IF(CLOSE< OPEN,ACB23*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-ACB23*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-ACB23*(HIGH-LOW),0-VOL/2)
{微信公众号:指标汇集});
ACB25:=ACB24/20/1.15;
ACB26:=ACB25*0.55+REF(ACB25,1)*0.33+REF(ACB25,2)*0.22;
ACB27:=EMA(ACB26,8);
ACB28:=EMA(ACB26,3);
ACB29:=ACB28;
ACB30:=VOL;
ACB31:=MA(ACB30,5);
ACB32:=MA(ACB30,10);
ACB33:=ACB31>=ACB32;
ACB34:=ACB29>=0;
ACB35:=ACB34 AND ACB33;DRAWICON(ACB35,L,1);
ACB36:=MA(KDJ.K(9,3,3),5);
ACB37:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
ACB38:=EMA(ACB37,9/2);
ACB39:=ACB36>=REF(ACB36,1) AND ACB37>=ACB38;
{微信公众号:指标汇集}
ABC51:=(HIGH+LOW+CLOSE*2)/4;
ABC52:=EMA(ABC51,17);
ABC53:=STD(ABC51,17);
ABC54:=((ABC51-ABC52)/ABC53*100+200)/4;
ABC55:=(EMA(ABC54,5)-25)*1.56;
ABC56:=EMA(ABC55网上期货配资平台,2)*1.22;
ABC57:=EMA(ABC56,2);
STICKLINE(ABC56-ABC57>0,O,C,3,1),COLORRED;
{微信公众号:指标汇集}
STICKLINE(ABC56-ABC57<0,O,C,3,0),COLORGREEN;
STICKLINE(ABC56-ABC57>0 AND REF(ABC56-ABC57< 0,1),O,C,1,0),COLORYELLOW;
STICKLINE(ABC56-ABC57>0 AND ABC56-ABC57< REF(ABC56-ABC57,1) AND ABC57>110,O,C,3,0),COLORLIRED;
{微信公众号:指标汇集}
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=9.80,1,0);
涨停牛:=EVERY(涨停,2);DRAWTEXT(涨停牛,L*1.02,''),COLORYELLOW;
操作线:MA(CLOSE,5),COLORFFFFFF,LINETHICK1;
趋势线:MA(CLOSE,10),COLORRED,LINETHICK1;
DRAWBAND(操作线,RGB(255,50,50),趋势线,RGB(10,204,60));
AA:=C>MA(C,10);MA5:=MA(C,5);MA10:=MA(C,10);
多头排列:=MA5>MA10;STICKLINE(ACB35,O,C,2,0),COLORMAGENTA;
STICKLINE(涨停牛,OPEN,CLOSE,1,0),COLORYELLOW;
妖股定律:=BARSLASTCOUNT(ABC56-ABC57>0 AND 多头排列 AND AA)=1;
DRAWTEXT(妖股定律,L,'★妖股定律'),COLORYELLOW;DRAWICON(妖股定律,L,9);
图片
妖股定律副图指标源码如下:
DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIFF,5);
A1:=DIFF>DEA;
MACD金叉:IF(A1,1,0),COLORYELLOW;
RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
DRAWICON(K>D,2,1);
DRAWICON(K<D,2,2);
DRAWTEXT(ISLASTBAR=1,2,'.KDJ'),COLORFFFFFF;
A2:=K>D;
KDJ金叉:IF(A2,2,0),COLORYELLOW;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
DRAWICON(RSI1>RSI2,3,1);
DRAWICON(RSI1<RSI2,3,2);
DRAWTEXT(ISLASTBAR=1,3,'.RSI'),COLORFFFFFF;
A3:=RSI1>RSI2;
RSI金叉:IF(A3,3,0),COLORYELLOW;
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
DRAWICON(LWR1>LWR2,4,1);
DRAWICON(LWR1<LWR2,4,2);
DRAWTEXT(ISLASTBAR=1,4,'.LWR'),COLORFFFFFF;
A4:=LWR1>LWR2;
LWR金叉:IF(A4,4,0),COLORYELLOW;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
DRAWICON(CLOSE>BBI,5,1);
DRAWICON(CLOSE<BBI,5,2);
DRAWTEXT(ISLASTBAR=1,5,'.BBI'),COLORFFFFFF;
A5:=CLOSE>BBI;
BBI金叉:IF(A5,5,0),COLORYELLOW;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
DRAWICON(MMS>MMM,6,1);
DRAWICON(MMS<MMM,6,2);
DRAWTEXT(ISLASTBAR=1,6,'.MTM'),COLORFFFFFF;
A6:=MMS>MMM;
MTM金叉:IF(A6,6,0),COLORYELLOW;
涨买入:IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0),COLORBLUE,LINETHICK2;
上涨:IF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,7,0),COLORBLUE,LINETHICK2;
图片
妖股定律选股指标源码如下:
ABC51:=(HIGH+LOW+CLOSE*2)/4;
ABC52:=EMA(ABC51,17);
ABC53:=STD(ABC51,17);
QXS:=NOT(CODELIKE('4'));
QKC:=NOT(CODELIKE('688'));
QST:=IF(NAMELIKE('S'),0,1);
QXX:=IF(NAMELIKE('*'),0,1);
QBJ:=NOT(CODELIKE('8'));
ABCD:=QXS AND QST AND QKC AND QXX AND QBJ;
ABC54:=((ABC51-ABC52)/ABC53*100+200)/4;
ABC55:=(EMA(ABC54,5)-25)*1.56;
ABC56:=EMA(ABC55,2)*1.22;
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。