程序化指标-超级疯牛分界选股
XA_12:=MA(CLOSE,1);
XA_13:=SMA(SMA(SMA(XA_12,2,1),2,1),2,1);
XA_14:=HHV(MA(XA_13,1),13);
XA_15:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
XA_16:=(XA_15-LLV(XA_15,27))/(HHV(XA_15,27)-LLV(XA_15,27))*4*25;
XA_17:=(XA_15-LLV(XA_15,9))/(HHV(XA_15,9)-LLV(XA_15,9))*4*25;
XA_18:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
XA_19:=SMA(XA_18,3,1);
XA_20:=SMA(XA_19,3,1);
XA_21:=INTPART(XA_19);
XA_22:=INTPART(XA_20);
XA_23:=XA_21+XA_22;
XA_24:=XA_23-REF(XA_23,1);
XA_25:=EMA(WINNER(CLOSE)*70,3);
XA_26:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
XA_27:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);
XA_28:=MA(CLOSE,27);
XA_29:=IF(XA_27>XA_28 AND XA_26<XA_25 AND (XA_16>50 OR XA_16>REF(XA_16,1)),(-40),0);
XA_30:=LOW>REF(HIGH,1) AND CLOSE>OPEN;
XA_31:=EMA(EMA(CLOSE,1),5);
XA_32:=EMA(HHV(XA_31,5),1);
XA_33:=EMA(HHV(XA_32,21),1);
XA_34:=EMA(HHV(XA_33,21),2);
XA_35:=EMA(HHV(XA_34,21),3);
XA_36:=EMA(HHV(XA_35,21),4);
XA_37:=EMA(HHV(XA_36,21),5);
XA_38:=HHV((HIGH+LOW)/2,120);
XA_39:=(2*CLOSE+HIGH+LOW)/4;
XA_40:=IF(DATE=10301201,0,1);
XA_41:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
XA_42:=EMA(CLOSE,3);
XA_43:=(2*CLOSE+LOW+HIGH)/4*XA_40;
XA_44:=XA_41-XA_42;
XA_45:=CLOSE*VOL;
XA_46:=EMA((EMA(XA_45,3)/EMA(VOL,3)+EMA(XA_45,6)/EMA(VOL,6)+EMA(XA_45,12)/EMA(VOL,12)+EMA(XA_45,24)/EMA(VOL,24))/4,13);
XA_47:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
XA_48:=(CLOSE+OPEN)/2;
XA_49:=MA(CLOSE,5);
XA_50:=EMA(XA_47,15)*1.02;
XA_51:=(EMA(XA_48,3)+EMA(XA_48,6)+EMA(XA_48,12)+EMA(XA_48,24))/4;
XA_52:=(20*HIGH+19*REF(HIGH,1)+18*REF(HIGH,2)+17*REF(HIGH,3)+16*REF(HIGH,4)+15*REF(HIGH,5)+14*REF(HIGH,6)+13*REF(HIGH,7)+12*REF(HIGH,8)+11*REF(HIGH,9)+10*REF(HIGH,10)+9*REF(HIGH,11)+8*REF(HIGH,12)+7*REF(HIGH,13)+6*REF(HIGH,14)+5*REF(HIGH,15)+4*REF(HIGH,16)+3*REF(HIGH,17)+2*REF(HIGH,18)+REF(HIGH,20))/210;
XA_53:=(20*LOW+19*REF(LOW,1)+18*REF(LOW,2)+17*REF(LOW,3)+16*REF(LOW,4)+15*REF(LOW,5)+14*REF(LOW,6)+13*REF(LOW,7)+12*REF(LOW,8)+11*REF(LOW,9)+10*REF(LOW,10)+9*REF(LOW,11)+8*REF(LOW,12)+7*REF(LOW,13)+6*REF(LOW,14)+5*REF(LOW,15)+4*REF(LOW,16)+3*REF(LOW,17)+2*REF(LOW,18)+REF(LOW,20))/210;
XA_54:=3*SMA((CLOSE-LLV(LOW,180))/(HHV(HIGH,180)-LLV(LOW,180))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,180))/(HHV(HIGH,180)-LLV(LOW,180))*100,180,1),15,1);
XA_55:=EMA(XA_54,5);
XA_56:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
牛熊分道:=EMA(XA_52,90),COLORYELLOW,LINETHICK4;
XA_57:=牛熊分道-((CLOSE-牛熊分道)*CLOSE-牛熊分道)/牛熊分道*1.68;
XA_58:=MA(XA_57,14)*0.9;
超级疯牛分界:=IF(XA_29<(-28) AND XA_55>50 AND XA_50>=XA_58 AND XA_55>REF(XA_55,1),XA_50,DRAWNULL),COLORRED,LINETHICK7;
CROSS(超级疯牛分界,0.5);
XA_13:=SMA(SMA(SMA(XA_12,2,1),2,1),2,1);
XA_14:=HHV(MA(XA_13,1),13);
XA_15:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
XA_16:=(XA_15-LLV(XA_15,27))/(HHV(XA_15,27)-LLV(XA_15,27))*4*25;
XA_17:=(XA_15-LLV(XA_15,9))/(HHV(XA_15,9)-LLV(XA_15,9))*4*25;
XA_18:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
XA_19:=SMA(XA_18,3,1);
XA_20:=SMA(XA_19,3,1);
XA_21:=INTPART(XA_19);
XA_22:=INTPART(XA_20);
XA_23:=XA_21+XA_22;
XA_24:=XA_23-REF(XA_23,1);
XA_25:=EMA(WINNER(CLOSE)*70,3);
XA_26:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
XA_27:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);
XA_28:=MA(CLOSE,27);
XA_29:=IF(XA_27>XA_28 AND XA_26<XA_25 AND (XA_16>50 OR XA_16>REF(XA_16,1)),(-40),0);
XA_30:=LOW>REF(HIGH,1) AND CLOSE>OPEN;
XA_31:=EMA(EMA(CLOSE,1),5);
XA_32:=EMA(HHV(XA_31,5),1);
XA_33:=EMA(HHV(XA_32,21),1);
XA_34:=EMA(HHV(XA_33,21),2);
XA_35:=EMA(HHV(XA_34,21),3);
XA_36:=EMA(HHV(XA_35,21),4);
XA_37:=EMA(HHV(XA_36,21),5);
XA_38:=HHV((HIGH+LOW)/2,120);
XA_39:=(2*CLOSE+HIGH+LOW)/4;
XA_40:=IF(DATE=10301201,0,1);
XA_41:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
XA_42:=EMA(CLOSE,3);
XA_43:=(2*CLOSE+LOW+HIGH)/4*XA_40;
XA_44:=XA_41-XA_42;
XA_45:=CLOSE*VOL;
XA_46:=EMA((EMA(XA_45,3)/EMA(VOL,3)+EMA(XA_45,6)/EMA(VOL,6)+EMA(XA_45,12)/EMA(VOL,12)+EMA(XA_45,24)/EMA(VOL,24))/4,13);
XA_47:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
XA_48:=(CLOSE+OPEN)/2;
XA_49:=MA(CLOSE,5);
XA_50:=EMA(XA_47,15)*1.02;
XA_51:=(EMA(XA_48,3)+EMA(XA_48,6)+EMA(XA_48,12)+EMA(XA_48,24))/4;
XA_52:=(20*HIGH+19*REF(HIGH,1)+18*REF(HIGH,2)+17*REF(HIGH,3)+16*REF(HIGH,4)+15*REF(HIGH,5)+14*REF(HIGH,6)+13*REF(HIGH,7)+12*REF(HIGH,8)+11*REF(HIGH,9)+10*REF(HIGH,10)+9*REF(HIGH,11)+8*REF(HIGH,12)+7*REF(HIGH,13)+6*REF(HIGH,14)+5*REF(HIGH,15)+4*REF(HIGH,16)+3*REF(HIGH,17)+2*REF(HIGH,18)+REF(HIGH,20))/210;
XA_53:=(20*LOW+19*REF(LOW,1)+18*REF(LOW,2)+17*REF(LOW,3)+16*REF(LOW,4)+15*REF(LOW,5)+14*REF(LOW,6)+13*REF(LOW,7)+12*REF(LOW,8)+11*REF(LOW,9)+10*REF(LOW,10)+9*REF(LOW,11)+8*REF(LOW,12)+7*REF(LOW,13)+6*REF(LOW,14)+5*REF(LOW,15)+4*REF(LOW,16)+3*REF(LOW,17)+2*REF(LOW,18)+REF(LOW,20))/210;
XA_54:=3*SMA((CLOSE-LLV(LOW,180))/(HHV(HIGH,180)-LLV(LOW,180))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,180))/(HHV(HIGH,180)-LLV(LOW,180))*100,180,1),15,1);
XA_55:=EMA(XA_54,5);
XA_56:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
牛熊分道:=EMA(XA_52,90),COLORYELLOW,LINETHICK4;
XA_57:=牛熊分道-((CLOSE-牛熊分道)*CLOSE-牛熊分道)/牛熊分道*1.68;
XA_58:=MA(XA_57,14)*0.9;
超级疯牛分界:=IF(XA_29<(-28) AND XA_55>50 AND XA_50>=XA_58 AND XA_55>REF(XA_55,1),XA_50,DRAWNULL),COLORRED,LINETHICK7;
CROSS(超级疯牛分界,0.5);
版权声明
所有指标均为免费分享。
文章内容来自互联网,本网站无任何收费项目也不推荐股票广告投放请自行识别风险。