简约不简单[其他软件公式]
相关标签:
MA13:=MA(CLOSE,13);
MA21:=MA(CLOSE,21);
MA34:=MA(CLOSE,34);
MA55:=MA(CLOSE,55);
MA89:=MA(CLOSE,89);
CXH1:=IF(DATE<1991231,1,0);
CXH2:=REF(CLOSE,1);
CXH3:=SMA(MAX(CLOSE-CXH2,0),6,1)/SMA(ABS(CLOSE-CXH2),6,1)*100;
qCXH2:=LLV(LOW,10);
qCXH3:=HHV(HIGH,25);
{阶段卖出线: 3.2;3.5;卖出线: 3.5;}
动力线: EMA((CLOSE-qCXH2)/(qCXH3-qCXH2)*4,4)/3, COLOR00ff00;
CJJR:=AMOUNT/VOL/100; {小顶}
PJJ:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
HJJR:=SUM(AMOUNT,13)/CJJR/100;
CYCN:= DMA(PJJ,VOL/HJJR);
cys:=((CLOSE-CYCN)/CYCN)*100;
{ cya1:=if(hhv(cys,8)<12 and llv(cys,8)>4,1,0);
cya2:=if(hhv(cys,7)<12 and llv(cys,7)>4,1,0);
cya3:=if(hhv(cys,6)<12 and llv(cys,6)>4,1,0);
cya4:=if(hhv(cys,5)<12 and llv(cys,5)>4,1,0);
cya5:=if(hhv(cys,4)<12 and llv(cys,4)>4,1,0); }
cya6:=if(hhv(cys,3)<12 and llv(cys,3)>4,1,0);
{ cya7:=if(hhv(cys,2)<12 and llv(cys,2)>4,1,0);
cya8:=if(cys<12 and cys>4,1,0); }
{ cya9:=if(cya1 or cya2 or cya3 or cya4 or cya5 or cya6 or cya7 or cya8,1,0); }
CXH4:=EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16);
CXH5:=1/WINNER(CLOSE);
CXH6:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
CXH7:=100-ABS(CXH6);
CXH8:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;CXH9:=SMA(CXH8,20,1);
CXHA:=SMA(CXH9,15,1);
CXHB:=100-3*CXH9+2*CXHA;
CXHC:=((EMA(IF(CXHB>REF(CXHB,1),CXHB,CXHB-3),3)-50)*(-1)*2/2+50)/10;
CXHD:=EMA(AMOUNT,13)/EMA(VOL,13);
CXHE:=(CXHD/REF(CXHD,1)-1)*100;
CXHF:=VOL/CAPITAL*100;
CXH10:=(HIGH-LOW)/((HIGH+LOW)/2)*100;
CXH11:=(CXHC+CXHF)*CXH10*CXHE;
多空指数:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;{BBI}
支撑:=COST(10);
压支撑:=支撑*0.12;
tj:=ma(支撑,10);
九成:=cost(100);
di:=c;{调低d:=di*0.46 COLORYELLOW;}
tj2:=MA(九成,5);
tj3:=ema(winner(c),5);
动顶a:stickline(动力线>3.5/3,动力线,3.5/3,10,0), COLORRED;
底:stickline(tj3<0.2,tj3,0.2,10,0), COLORRED ;
DRAWTEXT(cross(tj3,0.12) and count(tj3>=0.12,10)=1,0.12,'确认底'),COLORyellow ;
顶:stickline(tj3>0.8,tj3,0.8,10,0), COLORCCFF00 ;
DRAWTEXT(cross(tj3,0.8) and count(tj3>=0.8,10)=1,0.81,'顶'),COLOR00ff00 ,LINETHICK2;
DRAWTEXT(cross(0.89,tj3) and count(tj3<=0.89,10)=1,0.853,'警'),colorf00ff0 ;
顶卖:(cross(tj3,0.8) and count(tj3>=0.8,10)), STICK,colorffffff;
drawicon(cross(tj3,0.8) and count(tj3>=0.8,10),0.6,2);
dd:=c>tj2 ;
顶d:=dd*0.76;
卖线:stickline(dd,0,0.1,5,0),colorblue;
(ema(winner(c),5)), linethick3;CXHA1:=CLOSE;
CXHA2:=REF(CLOSE,1);
CXHA3:=REF(CLOSE,2);
CXHA4:=REF(CLOSE,3);
CXHA5:=CXHA1>CXHA2 AND CXHA1>CXHA3 AND CXHA1>CXHA4 AND CXHA1>MA(CLOSE,3) AND WINNER(CLOSE)<5/100;
CXHA7:=MIN(HHV(CLOSE,20),LLV(CLOSE,20));
买入:if(CXHA5*(CXHA1-CXHA7*0.95)*SGN(CAPITAL<>0),0.4,0), STICK,linethick3,colorred;
drawicon(CXHA5*(CXHA1-CXHA7*0.95)*SGN(CAPITAL<>0),0.5,1);
DRAWTEXT(cross(买入,0.1) and count(买入>0,1)=1,0.28,'买'),coloryellow;
高:=九成;
动顶:stickline(动力线>2.8/3,3.2/3,3/3.0,10,0), COLORCCFF00;
动顶卖:DRAWTEXT(cya6=1 and 动力线>2.8/3 and COUNT(cya6,5)=1,2.7/3,'动顶卖'), COLORffffff;
{程序化交易 www.cxh99.com }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容