一些同学的交易终端界面上指标很多,有时来回切换很麻烦,这个指标主要是让同学们能减少桌面指标而特写的。指标可以把握大趋势和小时段,所以起名为《审时度势》,指标用法在贴图中都做了简要说明,但愿大家用的顺心......
DRAWGBK(CLOSE>0,RGB(0,0,0),RGB(20,58,120),0,61,0);
五天线:MA(CLOSE,5),COLOR0066FF,LINETHICK1;
六零线:MA(CLOSE,60),COLORFF00FF,LINETHICK2;
八九线:MA(CLOSE,89),COLOR00FFFF,LINETHICK2;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
判断1线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORYELLOW;
判断2线:MA(判断1线,6);
DRAWBAND(判断1线,RGB(255,0,0),判断2线,RGB(0,118,0));
DRAWTEXT_FIX(C>O,0.01,0.9,0,' 廷进作品 '),COLOR99EEEE;
五天辅线:EMA(五天线,5),COLOR999999,LINETHICK1;
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));
DRAWTEXT(FILTER(买=1,5),LOW,'买'),COLORYELLOW;