换手率指标 优化颜色 三个指标各自的颜色可以看的清楚
2020/5/4 19:08:12
公式编写说明:
换手率指标 优化颜色 三个指标各自的颜色可以看的清楚
公式源码回答:
{应该可以看清楚了}
AT:IF(CAPITAL=0,AMOUNT/100000000,VOL/CAPITAL*100),VOLSTICK;
{指数为成交金额,个股为换手率}
ATM1:EMA(AT,5);
ATM2:MA(AT,13);
T%D:SUMBARS(VOL,CAPITAL),NODRAW;
{换手率达到100%的交易日天数};
阶段天量:=AT>REF(HHV(AT,60),1) && ATM1>ATM2;
阶段地量:=AT<REF(LLV(AT,60),1) && ATM1<ATM2;
STICKLINE(阶段天量,0,AT*0.75,2,0),COLORGREEN;
换手:VOL/CAPITAL*100,NODRAW;
十日换手:SUM(换手,10),NODRAW;
MAXCYC:DMA((C+O)/2,V/CAPITAL),NODRAW;
CYC0:=MAXCYC;
差值:(C-CYC0)/CYC0*100,,NODRAW;
STICKLINE(差值>10,0,差值,2,0),COLORCC33CC;
STICKLINE(差值<0,0,差值,2,0),COLORFFFF00;
STICKLINE(差值<10 AND 差值>0,0,差值,2,0),COLORYELLOW;
BB:=差值<10;
强势天数:=BARSLAST(BB),,NODRAW;
8,COLORWHITE;
当日换手:V/CAPITAL*100,COLORYELLOW,NODRAW;
获利盘:WINNER(C)*100,NODRAW;
FC:=(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0)),NODRAW;
相对换手:V/(CAPITAL*FC)*100,NODRAW;
观望者众:相对换手<=6,NODRAW,COLORWHITE;
交投活跃:相对换手>6 AND 相对换手<14,NODRAW,COLORGREEN;
成交异常:相对换手>=14,NODRAW,COLORRED;
博傻警戒线:=80;
STICKLINE(观望者众,0,相对换手,1,1),COLORWHITE;
STICKLINE(交投活跃,0,相对换手,1,1),COLORGREEN;
STICKLINE(成交异常,0,相对换手,1,1),COLORRED;
STICKLINE(相对换手>博傻警戒线,相对换手+2,相对换手+3,0.5,1),COLORYELLOW;
套牢者众:获利盘<=30,NODRAW,COLORWHITE;
输赢各半:获利盘>30 AND 获利盘<70,NODRAW,COLORGREEN;
多数获利:获利盘>=70,NODRAW,COLORRED;
STICKLINE(套牢者众,0,相对换手/2,1,0),COLORWHITE;
STICKLINE(输赢各半,0,相对换手/2,1,0),COLORGREEN;
STICKLINE(多数获利,0,相对换手/2,1,0),COLORRED;
博傻者众:相对换手>博傻警戒线,NODRAW,COLORYELLOW;
投 股票网 www .tou18.cn
股市公式下载推荐