通达信趋势顶底再优指标通达信公式
2017-07-24 来源:网络 编辑:翔博软件
获利比例: WINNER(CLOSE)*100,NODRAW; STICKLINE(获利比例0,获利比例,0,4,0),COLORYELLOW; STICKLINE(获利比例10,获利比例,10,4,0),COLOR89615F; STICKLINE(获利比例20,获利比
获利比例: WINNER(CLOSE)*100,NODRAW;
STICKLINE(获利比例>0,获利比例,0,4,0),COLORYELLOW;
STICKLINE(获利比例>10,获利比例,10,4,0),COLOR89615F;
STICKLINE(获利比例>20,获利比例,20,4,0),COLOR89615F;
STICKLINE(获利比例>55,获利比例,55,4,0),COLOR8888FF;
STICKLINE(获利比例>85,获利比例,85,4,0),COLORYELLOW;
开始建仓:WINNER(C-C*10/100)*100-WINNER(C-C*100/100)*100,NODRAW,COLORFF33FF;
STICKLINE(开始建仓>0,0,开始建仓,2,0),COLOR871F78;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
长趋势:3*Q3-2*Q4,COLORMAGENTA ,LINETHICK2;
趋势线:EMA(Q3, 3),COLORCC6600,LINETHICK2;
100,COLORGREEN,DOTLINE;
20,COLORRED;
短期线:100*(C-LLV(L,6))/(HHV(H,6)-LLV(L,6))COLORGREEN;
换手:SUM(VOL,1)/CAPITAL*100,COLOR666666,NODRAW;
⑤日换:SUM(VOL,5)/CAPITAL*100,COLOR999999,NODRAW;
十日换:SUM(VOL,10)/CAPITAL*100,COLORRED,NODRAW;
二十日换:SUM(VOL,20)/CAPITAL*100,COLOR999999,NODRAW;