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

短线套利[同花顺公式]

相关标签:

 

STICKLINE(C>0,90,95,10,0),COLOR408000;

STICKLINE(C>0,10,5,10,0),COLOR408000;
HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
DRAWBAND(HDY,RGB(255,000,139),10,RGB(255,255,71));
STICKLINE(C>0,90,10,10,0),COLOR000000;
风险:HDY,colormagenta,LINETHICK2;
获利1:WINNER(C)*100,colorbrown,NODRAW;
获利5:MA(获利1,5),colorbrown,NODRAW;
短套:EMA(100*(1-WINNER(1.10*C)),1),colorbrown,NODRAW;
中套:EMA(100*(1-WINNER(1.2*C)),1),colorbrown,NODRAW;
获利:FILTER(CROSS(获利1,获利5) AND 获利5>80,5) AND 中套=0;
STICKLINE(CROSS(获利1,获利5),0,11,0.8,1),colorwhite;
DRAWTEXT(CROSS(获利1,获利5),11,'获'),colorwhite;
SL2:=FILTER(COUNT(CROSS(获利1,获利5),15)>=3 AND 获利1>61.8,15) AND C<MA(C,3);
SL:=(获利 OR SL2);//www.cxh99.com
DRAWBAND(100,RGB(0,250,0),(100-SL*15),RGB(18,250,18));
AA:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
BB:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
CC:=EMA(AA,2);
DD:=EMA(BB,5);
TJ0:=CROSS(CC,DD);
上:=EMA(C,3);
中:=EMA(C,5);
下:=EMA(中,5);
TJ1:=CROSS(上,中);
TJ2:=上>REF(上,1);
X1:=(C+L+H)/3;
BB5:=ATAN(EMA(X1,5)-REF(EMA(X1,5),1))*3.1416*10;
EMA3:=EMA(C,3);
TJ3:=BB5>1 AND EMA(X1,5)>REF(EMA(X1,3),1);
投资:TJ1 AND TJ2 AND TJ0 AND TJ3,coloryellow,NODRAW;
STICKLINE(TJ1 AND TJ2 AND TJ0 AND TJ3,0,10,1.6,0),COLOR009999;
STICKLINE(TJ1 AND TJ2 AND TJ0 AND TJ3,0,10,1.2,0),COLOR00BBBB;
STICKLINE(TJ1 AND TJ2 AND TJ0 AND TJ3,0,10,0.8,0),COLOR00DDDD;
STICKLINE(TJ1 AND TJ2 AND TJ0 AND TJ3,0,10,0.4,0),COLOR00FFFF;
STICKLINE(TJ1 AND TJ2 AND TJ0 AND TJ3,0,10,0,0),COLORFF00FF;
投机:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLOR0080FF,NODRAW;
投机1:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR00FFFF,NODRAW;
STICKLINE(CROSS(投机,投机1),0,11,0.1,1),COLOR0080FF;
DRAWTEXT(CROSS(投机,投机1),4,'投'),COLOR0080FF;
RSV1:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
K1:=SMA(RSV1,13,1);
D1:=SMA(K1,13,1);
STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1),EMA(D1,3),REF(EMA(D1,3),1),8,0),COLORFF5D00;
STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1),EMA(D1,3),REF(EMA(D1,3),1),7,0),COLORFF5D10;
STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1),EMA(D1,3),REF(EMA(D1,3),1),6,0),COLORFF7710;
STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1),EMA(D1,3),REF(EMA(D1,3),1),5,0),COLORFF8810;
STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1),EMA(D1,3),REF(EMA(D1,3),1),4,0),COLORFF9910;
VA1:=HHV(HIGH,9)-LLV(LOW,9);
VA2:=HHV(HIGH,9)-CLOSE;
VA3:=CLOSE-LLV(LOW,9);
VA4:=VA2/VA1*100-70;
VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VA6:=(CLOSE+HIGH+LOW)/3;
VA7:=SMA(VA3/VA1*100,3,1);
VA8:=LLV(LOW,34);
VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);
CXHA:=IF(VA9>100,VA9-100,0);
CXHB:=HHV(HIGH,34);
CXHC:=EMA((VA6-VA8)/(CXHB-VA8)*100,13);
CXHD:=EMA(0.667*REF(CXHC,1)+0.333*CXHC,2);
CXHE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
CXHF:=MA(CXHE,3);
CXH1:=HHV(HIGH,9)-LLV(LOW,9);
CXH2:=HHV(HIGH,9)-CLOSE;
CXH3:=CLOSE-LLV(LOW,9);
CXH4:=((CXH2)/(CXH1))*(100)-70;
CXH5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
CXH6:=((2)*(CLOSE)+HIGH+LOW)/(4);
CXH7:=SMA(((CXH3)/(CXH1))*(100),3,1);
CXH8:=LLV(LOW,34);
CXH9:=SMA(CXH7,3,1)-SMA(CXH4,9,1);
CXH10:=IF((CXH9>100),CXH9-100,0);
CXH11:=HHV(HIGH,34);
B1:=EMA(((CXH6-CXH8)/(CXH11-CXH8))*(100),8);
DRAWKLINE(EMA(B1,5),EMA(B1,5),B1+1,B1);
操作:EMA(B1,5),colorred;
生命:EMA(CXHD,1),coloryellow;
V1:=MA(C,5)=HHV(MA(C,5),20);
V2:=MA(C,5)>MA(C,10);
V3:=MA(V,5)>MA(V,40)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
VV:=V1 AND V2 AND V3 AND V4;
A1:=EMA(CLOSE,8);
A2:=EMA(A1,20);
A3:=CROSS(A1,A2);
A4:=A1<EMA(CLOSE,120);
STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,1,0),coloryellow;
A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*
SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),CIRCLEDOT ,COLORFF9900 ;
安全:=20;
转强:IF(CROSS(A5,安全),9,0),STICK,colorlired,LINETHICK2;
拉升:IF(CROSS(CXHC,生命) AND CXHC>CXHD AND CXHC<55 AND C>O,9,0),STICK,colorred,LINETHICK2;
CXH18:=HHV(HIGH,30);
CXH19:=LLV(LOW,30);
NL:=EMA((CLOSE-CXH19)/(CXH18-CXH19)*100,5)/8*10,coloryellow,LINETHICK2;
DRAWTEXT(CROSS(5,NL),4,'做底'),colorred;
CXH44:=REF(CLOSE,1);
CXH45:=SMA(MAX(CLOSE-CXH44,0),6,1)/SMA(ABS(CLOSE-CXH44),6,1)*100;
STICKLINE(CROSS(84,CXH45),0,9,0.8,1),COLORGREEN;//http://www.cxh99.com
DRAWTEXT(CROSS(84,CXH45),4,'空警'),COLORGREEN;//http://www.cxh99.com

 

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

 

 

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

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

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

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

 


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

相关文章

    没有相关内容