您现在的位置:程序化交易>> 股票公式>> 大智慧>> 大智慧公式>>正文内容

分批买入 绝好指标公式[大智慧公式]

相关标签:

 

AA:=LLV(LOW,34);
BB:=HHV(HIGH,30);
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
谷:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);
Var1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
Var4:=SMA(Var3,3,1);
波: Var3,colorwhite;
段: Var4,COLORYELLOW;
Var6:=CROSS(Var3,Var4) AND Var3<20;
DRAWTEXT(FILTER(Var6,10)=1,40,'买'),LINETHICK1,color00aaff,ALIGN2;
STICKLINE(FILTER(Var6,10)=1,0,90,10,0),COLORred;
Var7:=CROSS(Var4,Var3) AND Var3>80;
STICKLINE(FILTER(Var7,5)=1,0,90,10,0),COLORGREEN ;
DRAWTEXT(FILTER(Var7,5)=1,70,'卖'),LINETHICK1,COLORffcc66,ALIGN2;
趋势: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),LINETHICK0,colorwhite;
Var8:=CROSS(Var2,Var3) AND Var3>80 AND Var3>Var4;
Var9:=CROSS(趋势,Var2) AND 趋势<20 AND 趋势<段;
分批卖出:STICKLINE(Var8,50,90,10,0),COLOR008360,LINETHICK3;
分批买入:STICKLINE(Var9,40,0,10,0),Color000080,LINETHICK3;
90,COLORGREEN ;
0,COLORYELLOW ;
VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2)<REF(VAR02,1) AND VAR02<REF(VAR02,1);
VAR05:=COUNT(VAR03,7)>0 AND VAR04;
VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR07:=SMA(ABS(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1);
VAR08:=EMA(VAR07,10);
VAR09:=EMA(C,5);
VAR10:=LLV(LOW,33);
VAR11:=EMA(IF(LOW<=VAR10,VAR09,0),3)*40;
VAR12:=IF(VAR11>100,VAR11*0.312,VAR11);
资金入场:VAR02,COLORred;Bar1:=REF(LOW,1);
Bar2:=SMA(ABS(LOW-Bar1),13,1)/SMA(MAX(LOW-Bar1,0),13,1)*4;
Bar3:=EMA(Bar2,13);
Bar4:=LLV(LOW,34);
Bar5:=EMA(IF(LOW<=Bar4,Bar3,0),3);
Bar6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Bar7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Bar8:=Bar6<REF(Bar7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
散户:STICKLINE(Bar5>REF(Bar5,1),0,Bar5,5,0),COLORGREEN,LINETHICK1;
STICKLINE(Bar8 AND COUNT(Bar8,30)=1,0,18,5,0),COLORBLUE,LINETHICK3;
STICKLINE(Bar8 AND COUNT(Bar8,30)=1,18,36,5,0),colorff7700,LINETHICK3;
STICKLINE(Bar8 AND COUNT(Bar8,30)=1,36,60,10,0),COLORYELLOW;
DRAWTEXT(Bar8 AND COUNT(Bar8,30)=1,90,'主力进场'),COLORYELLOW,ALIGN2;rE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
r12:=(HIGH+LOW+CLOSE)/3;
r13:=(r12-MA(r12,14))/(0.015*AVEDEV(r12,14));
r14:=(r12-MA(r12,70))/(0.015*AVEDEV(r12,70));
r15:=IF(r13>=150 AND r13<200 AND r14>=150 AND r14<200,10,0);
r16:=IF(r13<=-150 AND r13>-200 AND r14<=-150 AND r14>-200,-10,r15);
r17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
r18:=100-ABS(r17);
r19:=IF(r18<90,r18,100);
r1A:=IF(rE>0,rE,0);
r1B:=IF(r14>=200 AND r13>=150,15,IF(r14<=-200 AND r13<=-150,-15,r16))+60;
r1C:=r1A>48 AND r1B>60 AND r19<100;
DRAWTEXT(r1C AND COUNT(r1C,25)=1,80,'分批出货'),linethick1,COLORffcc66,ALIGN2;
STICKLINE(r1C AND COUNT(r1C,25)=1,90,60,5,0),colorffcc66;CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
DRAWTEXTREL(10 ,10 ,'指标公式');


 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 1145508240  有需要帮忙请点击这里留言!!!进行 有偿 编写!不贵!点击查看价格!

 


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

相关文章

    没有相关内容