您现在的位置:程序化交易>> 股票公式>> 同花顺>> 同花顺公式>>正文内容

超短王(同花顺公式 公式、同花顺源码 K线图)[同花顺公式]

相关标签:

 

DRAWTEXT_FIX(1,0.88,5,1,'~☆~以小博大顺势而为!~☆~'),COLORGREEN;//http://www.cxh99.com

CXH1:=(2*CLOSE+HIGH+LOW)/4;
CXH2:=EMA(EMA(EMA(CXH1,4),4),4);
量:(CXH2-REF(CXH2,1))/REF(CXH2,1)*100, COLORSTICK;
//www.cxh99.com
短:MA(量,3);
超短:MA(量,1);
MID:=MA(C,N);
CXHT1:=POW((C-MID),2);
CXHT2:=MA(CXHT1,N);
CXHT3:=SQRT(CXHT2);
UPPER:=MID+2*CXHT3;
LOWER:=MID-2*CXHT3;
BOLL:=REF(MID,1);
UB:=REF(UPPER,1);
LB:=REF(LOWER,1);
LOWER1:=MID-CXHT3;
LB1:=REF(LOWER1,1);
BB:=(C-LB1)/(UB-LB)*MID;
MA1:=MA(BB,10);
WIDTH:=(UPPER-LOWER)/MID;
MA2:=MA(WIDTH,N);
CXH52:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
神线:=SMA(CXH52,3,1),colorwhite;
秘线:=SMA(神线,3,1),coloryellow;
神秘线:=3*神线-2*秘线,colormagenta;
CXH11:=REF(MA(C,20),10);
开:=O-CXH11;
高:=H-CXH11;
低:=L-CXH11;
收:=C-CXH11;
一板:=(O=C),NODRAW;
CXHA:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
CXHB:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
CXHC:=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);
买警戒:=IF(CXHC<=10,10,0);
趋势线:=MA(CXHC,6),LINETHICK4,coloryellow;
买入:=IF(CXHB<趋势线,趋势线,CXHB),colorred;
卖出:=IF(CXHA>趋势线,趋势线,CXHA),COLORGREEN;//http://www.cxh99.com
卖警戒:=IF(CXHC>=90 OR CROSS(100,神秘线),95,100),colorcyan;
反向1:=100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42));
反向2:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27));
VF1:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4)/10;
MTR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14),NODRAW;
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=SUM(IF(HD>0 AND HD>LD,HD,0),14);
DMM:=SUM(IF(LD>0 AND LD>HD,LD,0),14);
PDI:=DMP*100/MTR;
MDI:=DMM*100/MTR,NODRAW;
ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
ADXR:=(ADX+REF(ADX,6))/2;
高位:= PDI>33 AND MDI<10 AND ADX>40 AND ADXR>45,colorgreen,STICK;
危险:= HHV(VF1,4)>0.38 OR VF1>0.25 AND 高, STICK,colorcyan;
可买:=IF(高位=1 AND HIGH-CLOSE>CLOSE-LOW AND VOL>HHV(VOL,13)*0.4 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.03,-0.50,0),STICK;
调整:=IF(高位=0 AND HHV(高,5)>0,-0.25,0),colorblue,STICK;
可卖:=IF(危险=1 AND HIGH-CLOSE>CLOSE-LOW AND VOL>HHV(VOL,20)/2 AND CLOSE<OPEN*1.01,-1,0),STICK;
STICKLINE((危险=1 AND 卖警戒=95 AND 反向1<10 AND 反向2<>0)OR 危险=1 AND 卖警戒=95 AND 买入>98 AND 一板<>1,0,量,-1,0),colorblue;
CXH4:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,CXH4*(HIGH-LOW),IF(CLOSE<OPEN,CXH4*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLOR00E521;
主卖:=IF(CLOSE>OPEN,CXH4*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,CXH4*(HIGH-LOW),VOL/2));
净买:=(主买-主卖)/100,NODRAW;
主买力度:=VOL/(主买-主卖),NODRAW;
买卖比:主买/主卖,NODRAW;
买比:BARSLAST(CROSS(买卖比,9.9))+1,NODRAW;
EXP1:=EXPMA(C,1),colormagenta;
EXP5:=EXPMA(C,5),colormagenta;
EXP12:=EXPMA(C,12),colormagenta;
EXP49:=EXPMA(C,49),coloryellow;
EXP55:=EXPMA(C,55),colormagenta;
Z:EXP1-EXP55;
CXH5:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
CXH6:=SMA(ABS(HIGH-CXH5),13,1)/SMA(MIN(HIGH-CXH5,0),10,1);
CXH7:=EMA(CXH6,10);
CXH8:=HHV(HIGH,33);
CXH9:=EMA(IF(HIGH>=CXH8,CXH7,0),3)/4;
拉高:IF((CXH9/6)<REF((CXH9/6),1),(CXH9/6),0),colorlimagenta,STICK,LINETHICK2;
资金流出:IF((CXH9/3)>REF((CXH9/3),1),(CXH9/3),0),colorgreen,STICK,LINETHICK2;
止盈:IF(CROSS(卖警戒,买入)OR (拉高<0 AND 主买力度<1 AND 主买力度<REF(主买力度,1))AND 短>REF(短,1),量-0.1,DRAWNULL),colorgreen,CROSSDOT,LINETHICK4;
建仓:CROSS(超短,短)AND 超短>短 AND 神秘线>秘线 AND BB>MA1,NODRAW;
DRAWICON(建仓,超短,1);
加仓:CROSS(超短,0) AND 神秘线>秘线 AND BB>MA1,NODRAW;
DRAWICON(加仓,超短,23);
STICKLINE(买比=1,超短,Z,1,0),coloryellow;

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容