【通达信免费源码】T+0神器升级A 分时指标(源码请复制导入)
2022-05-16未知 编 辑:掌上指标
VAR1:=1;
VAR2:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
VAR3:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;
VAR4:=IF(VAR1,SMA(VAR3,2,1),DRAWNULL);
顶:100+(-ABS(VAR2)),COLORRED;
趋势:SMA(VAR4,2,1);
底:ABS(VAR2),COLORGREEN;
分界:50,COLORFFAA00,LINETHICK3;
A:80;
B:20;
买:STICKLINE(CROSS(趋势,底),3,20,2,0),COLORRED;
STICKLINE(CROSS(底,趋势),20,25,2,0),COLORFF9900;
DRAWICON(CROSS(底,趋势),35,17);
DRAWICON(CROSS(趋势,底),30,1);
卖:STICKLINE(CROSS(顶,趋势),70,90,2,0),COLORRED;
STICKLINE(CROSS(趋势,顶),90,99,2,0),COLORFF9900;
DRAWICON(CROSS(趋势,顶),90,17);
DRAWICON(CROSS(顶,趋势),70,2);
DRAWTEXT_FIX(1,0,0.08,0,70),COLORCYAN;
DRAWTEXT_FIX(1,0,0.38,0,70),COLORCYAN;
DRAWTEXT_FIX(C>O,0.01,0.9,0,'www.6o7o.com'),COLOR556699;