短期吃货出货[同花顺公式]
相关标签:
CXH1:=MA(LOW,1);
CXH2:=MA(HIGH,2);CXH3:=MA(CLOSE,2);
CXH4:=(CXH3-LLV(CXH1,9))/(HHV(CXH2,9)-LLV(CXH1,9))*100;
CXH5:=SMA(CXH4,3,1);
【阳】: SMA(CXH5,3,1),colorred,LINETHICK2;
Y1:=SMA(【阳】,3,1);
CXH6:=(HHV(CXH2,9)-CXH3)/(HHV(CXH2,9)-LLV(CXH1,9))*100;
【阴】: SMA(CXH6,3,1),coloryellow,LINETHICK2;
Y2:=SMA(【阴】,3,1);//www.cxh99.com
CXH7:=REF(CXH3,1);
CXH8:=SMA(MAX(CXH3-CXH7,0),13,1)/SMA(ABS(CXH3-CXH7),13,1)*100;
CXHB:=MA(INDEXC,3)*100/MA(INDEXC,10)-100;
CXHC:=MA(CLOSE,3)*100/MA(CLOSE,10)-100;
CXHD:=CLOSE*100/MA(CLOSE,10)-100;
CXHE:=IF(CXHB>10,10,CXHB);
CXHF:=IF(CXHE<-10,-10,CXHE);
CXH10:=IF(CXHC>10,10,CXHC);
CXH11:=IF(CXH10<-10,-10,CXH10);
CXH12:=REF(CXHB,1);
CXH13:=100*(CXH3-REF(CXH3,1))/REF(CXH3,1);
CXH14:=INDEXC;
CXH15:=REF(CXH14,1);
CXH16:=100*(CXH14-CXH15)/CXH14;
CXH17:=MA(CXH13,3);
CXH18:=MA(CXH16,3);
CXH19:=(3*CLOSE+CXH1+OPEN+HIGH)/6;
CXH1A:=(20*CXH19+19*REF(CXH19,1)+18*REF(CXH19,2)+17*REF(CXH19,3)+16*REF(CXH19,4)+15*REF(CXH19,5)+14*REF(CXH19,6)+13*REF(CXH19,7)+12*REF(CXH19,8)+11*REF(CXH19,9)+10*REF(CXH19,10)+9*REF(CXH19,11)+8*REF(CXH19,12)+7*REF(CXH19,13)+6*REF(CXH19,14)+5*REF(CXH19,15)+4*REF(CXH19,16)+3*REF(CXH19,17)+2*REF(CXH19,18)+REF(CXH19,20))/210;
CXH1B:=MA(CXH1A,12);
CXH1C:=EMA(CXH1A,5);
CXH1D:=ABS(CXH1A-CXH1B);
CXH1E:=REF(CXH3,1)*0.015;
CXH1F:=REF(INDEXC,1);
CXH24:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
CXH25:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);
CXH26:=MA(CLOSE,26);
CXH27:=CXH26+2*STD(CXH3,26);
CXH28:=CXH26-2*STD(CXH3,26);
CXH29:=CXH26+2*STD(REF(CXH3,1),26);
CXH2A:=CXH26-2*STD(REF(CXH3,1),26);
CXH2B:=IF(CXH24 AND CXH1<CXH28,1,0);
CXH2C:=IF(CXH25*CXH1 AND CXH2>CXH27,2,CXH2B);
CXH2D:=IF(CXH2C=1,80,45);
CXH2E:=IF(CXH2C=2,0,CXH2D);
CXH2F:=CXH2E;
D1:=EMA(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),5);
D2:=REF(D1,1);
STICKLINE(D1>=REF(D1,1),D1,D2,5,0),COLOR0055AA;
STICKLINE(D1<REF(D1,1),D1,D2,5,0),COLOR006600;
{STICKLINE(D1>=REF(D1,1),D1,D2,2,0),COLOR0077CC;}
STICKLINE(D1>=REF(D1,1),D1,D2,1,0),COLOR0099DD;
{STICKLINE(D1<REF(D1,1),D1,D2,2,0),COLOR009900;}
STICKLINE(D1<REF(D1,1),D1,D2,1,0),COLOR00BB00;
【强弱】:SMA(MAX(CXH3-CXH7,0),5,1)/SMA(ABS(CXH3-CXH7),5,1)*100;
DRAWTEXT(ISLASTBAR=1 AND (CROSS(【强弱】,Y2) OR CXH2E>45),80,' 短期吃货!'),colorred;
DRAWTEXT(ISLASTBAR=1 AND (CROSS(Y1,【强弱】) OR CXH2E<45),80,' 短期出货!'),COLORGREEN;//http://www.cxh99.com
DRAWTEXT(ISLASTBAR=1 AND CXH17>CXH18,60,' 个股强于大盘!'),COLORFF00FF;
DRAWTEXT(ISLASTBAR=1 AND CXH12>CXHF,50,' 大盘处在下降通道'),COLORCCFF99;
DRAWTEXT(ISLASTBAR=1 AND CXH18>=CXH17,60,' 个股弱于大盘!'),COLOR00FFFF;
DRAWTEXT(ISLASTBAR=1 AND CXH1A>CXH1B AND CXH1D>CXH1E AND NOT(CROSS(75,CXH8)),40,' 持股待涨!'),COLOR0099FF;
DRAWTEXT(ISLASTBAR=1 AND CXH1A<CXH1B AND CXH1D>CXH1E AND NOT(CROSS(【强弱】,20)),40,' 下调减持!'),COLORFF9900;
DRAWTEXT(ISLASTBAR=1 AND CXH1D<=CXH1E,40,' 盘整阶段!'),COLORFF9900;
DRAWTEXT(ISLASTBAR=1 AND (INDEXC-CXH1F)/CXH1F>0.035,40,'出现井喷行情!'),colorred;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容