通达信做多做空PK指标公式
2020/5/20 18:32:34
趋势线:MA(C,5),COLORFFEE3C,LINETHICK2;
CG:HHV(趋势线,2),COLORFFEE3C;{COLORFFDE00}
B:=CG,COLORWHITE;
G:MA(B,2),POINTDOT,COLOR333333;
D:=CROSS(B,G)*1000,COLORRED;
W:=CROSS(G,B)*1000,POINTDOT,COLORBLUE;
DRAWTEXT(W=1000, B+0.2,'←做空' ),COLOR00FF00;
DRAWTEXT(D=1000,B-0.07,'←做多'),COLOR0000DD;
DRAWICON(CG>=REF( CG,1),CG,1);
DRAWICON(趋势线<REF( 趋势线,1),趋势线,2);
DRAWICON(CG<REF( CG,1),CG,2);
粉红线做多:IF(CG>REF(CG,1),CG,DRAWNULL),COLORMAGENTA,LINETHICK4;
蓝色线做空:IF(CG<REF(CG,1),CG,DRAWNULL),COLORFFEE3C,LINETHICK2;
投股 票网 www.tou18 .cn
股市公式下载推荐