4、,24))/(0.015*AVEDEV(VAR1D,24));VAR27:=EMA(VAR25,5);VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2+VAR21;VAR2C:=(VAR1A+VAR1B+VAR10^30)/32/5-15;VAR2D:=EMA(VAR2C,13);{13}VAR2E:=(VAR2A+VAR2C)/2/l.1;VAR28:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VA
5、R29:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR30:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VARS1:=REF(CLOSE,1);VAR32:=SMA(MAX(CL0SE-VAR31,0),5,1)/SMA(ABS(CL0SE-VAR31),5,1)*100;VAR33:=(HIGH+LOW+CLOSE)/3;VAR34:=(VAR33-MA(VAR33,14))/(0.015*AVEDEV(VAR33,14));VAR35:=(VAR28>=-15.8
6、ANDVAR28<=-12.2AXDVAR29<=-20.8AXDVAR30<=-27.5AXDVAR32<=11.7AXDVAR34<=-145)*100;多空比例:TF((Ml-M2)>-0.02,Ml-M2,-0.02),COLORFOFOOO;超短:EMA(VAR2E,3),COLORRED;短线:EMA(超短,5),COLORWHITE;趋势:EMA((VAR2B+VAR2D)/2,2),COLORYELLOW;底部:0,COLORFOOFFO,LINETHICK2;界线:50,POTNTDOT,COLORYELLOW;风险:8
7、0,COLORWHITE;顶:100,COLORBLUE;逃命:120,COLORGREEX;DRAWTEXT(CROSS(短线,超短)AXDCROSS(趋势,超短)AXDCROSS(趋势,短线),REF(超短,2)*1.2/逃'),COLORBLUE;DRAWICON(CROSS(超短,短线),超短,9);DRAWICON(CROSS(短线,超短),短线,2);DRAWICON(CROSS(超短,趋势),趋势,5);A:二超短〉REF(超短,1)AXD短线>REF(短线,1)AXD趋势〉REF(趋势,1)AXD多空比例〉REF(多空比例
8、,1);DRAWICON(A,趋势,1);GS:A;【通达信】重写趋势线(多空比例.超短.短线.底部)-指标公式效果图IIVIfIVF.IV.I'.4-UII•乙O艸“27・*3・77「22