资源描述:
《通达信指标公式源码软件工作休息源码》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、{工作休息源码}VAR1:=(C-LLV(LZ32))/(HHV(H,32)-LLV(L,32))*1.2*C;VAR2:=EMA(VAR1,3);VAR3:=EMA(VAR1,5);VAR4:=EMA(VAR1,7);VARA:=VAR3>=VAR4ANDVAR2[REF(VAR2Z1);超短:MA(VAR2,6);短线:MA(超短,2);加仓:=C/REF(Czl)>=1.09OR((H-L)/REF(Czl)>0.1ANDC=H);STICKLINE(VAR2>=VAR3,]
2、VAR4,VAR2,3zO),COLORRED;STICKLINE(VARAzVAR2zVAR4z3zO)zCOLORFFEE44;STICKLINE(VARAzVAR2zVAR4,lzO),COLORBLUE;STICKLINE(VARBzVAR2zVAR4,3.3zO),COLOROODDFF;STICKLINE(VARBZVAR2ZVAR4,1,0)ZCOLORRED;STICKLINE(加仓,VAR2,VAR4,lz0),COLORYELLOW;DRAWTEXT(FILTER(VARB,3)/VAR2*0.96;醒醒J’COLORFFOOF
3、F;DRAWTEXT(CROSS(短线,超短),VAR4*1.05;睡觉J,COLORLIBLUE;DRAWTEXT(CROSS(短线,超短)ANDCOUNT(CROSS(短线,超短),10)=2,VAR4*1・2,跑)COLORGREEN;顶部:HHV(HIGH,60)*0.98;地量:VOL4、DRAWTEXT(FILTER(BB13>1ANDEMA(X1,13)>REF(EMA(X1,8)Z1),1O)ZEMA8;*Z45;
5、J),COLORWHITE;{阿杜强持仓空仓线(黄珠买蓝珠卖副图源码)}阿:=(CLOSE+HIGH+LOW)/3;杜:二EMA阿0);强:=REF(杜,1);IF(杜QDRAWNULL),COLORGREEN,LINETHICK9;黄珠买:IF(杜〉强,0,DRAWNULL),COLORYELLOW,LINETHICK9;蓝珠卖:IF(杜v强ODRAWNULL),COLORBLUE丄INETHICK9;RSV:=
6、(CLOSE-LLV(LOWZ9))/(HHV(HIGHZ9)-LLV(LOW,9))*100;{三金叉选股}KDJ_K:=,,KDJ.K,,(9z3,3);KDJ_D:=,,KDJ.D,,(9,3/3);KDJ_J:=,,KDJJ,,(9,3,3);买-:=CROSS(KDJ_J,0)OR(CROSS(KDJ_JZKDJ_K)ANDKDJ_D<26);买-:=CROSS(HRSLRSIln(6,2z2)z20)ORCROSS(”RSI・RSI1“(6,12,24)/RSI・RSI2”(612,24));买三:二CROSSCMACD.DIF'T'M
7、ACD.DEA”)ORCROSS(“MACD・MACD;0);买0:=买一+买二+买三;买:IF(买0>1,买0,0);DRAWICON(买0>1丄*0.98,16);