同花顺波段资金指标公式
2021/2/16 18:25:20
N:=5;
DIFF=EMA(CLOSE,9)-EMA(CLOSE,17);
DEA=EMA(DIFF,8),COLOrffaa00;
MACD=2*(DIFF-DEA);
高位:90,COLORCC6633,LINETHICK2;
次高位:80,COLORFF80FF;
次低位:20,colorgreen;
低位:10,COLORFF80FF,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100;
资金指数:SMA(RSV,3,1),COLORFF80FF,LINETHICK3;
短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),colorwhite;
中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),coloryellow;
中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),colormagenta;
长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),colorred,LINETHICK2;
白20MACD:IF(DEA>DIFF AND DEA>0 AND DIFF>0 AND 短期<=20 AND 长期>=50,50,0),STICK,COLOR00FFFF,LINETHICK5;
四线归零买:IF((短期<=6 AND 中期<=6 AND 中长期<=6 AND 长期<=6),-30,0),STICK,COLOR0000FF,LINETHICK4;
白线下20买:IF(短期<=20 AND 长期>=60,-30,0),STICK,COLOR00FFFF,LINETHICK3;
白穿红线买:IF(((CROSS(短期,长期)AND 长期<20)),-30,0),STICK,COLOR00FF00,LINETHICK3;
白穿黄线买:IF(((CROSS(短期,中期)AND 中期<30)),-30,0),STICK,COLORFF9150,LINETHICK3;
H1:=MAX(MAX(MAX(MAX(MAX(MA(C,5),MA(C,10)),MA(C,20)),MA(C,30)),MA(C,60)),MA(C,120));
L1:=MIN(MIN(MIN(MIN(MIN(MA(C,5),MA(C,10)),MA(C,20)),MA(C,30)),MA(C,60)),MA(C,120));
穿六线:IF(L<L1 AND H>H1 AND C>O ,-30,0),STICK,colorwhite,LINETHICK5;
投 股票网 www. tou18.cn
股市公式下载推荐