公式源码: DF:=3; N1:=12; RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100; K:=SMA(RSV,DF,1); D:=SMA(K,DF,1); KK:=SMA(RSV,DF,1); DD:=SMA(K,DF,1); N:=KK+DD; 关注区:STICKLINE(N<50,N,50,2,0),COLORRED; 风险区:STICKLINE(N>160,N,160,2,0),COLORFFFF00; 成本区:50,COLORYELLOW,LINETHICK2; GWGD:=N[=160 AND REF(N,1)>=REF(N,2);] 获利区:160,COLORFFFF00,LINETHICK2; 操盘线:N,COLORFF00FF,LINETHICK2; 买入↑:DRAWICON(CROSS(N,50),50,1),COLORRED; 卖出↓:DRAWICON(CROSS(160,N),160,2),COLORGREEN; AA:=(C+O+L+H)/4; BB:=REF(CLOSE,AA); 获利盘:=SMA(MAX(CLOSE-BB,0),2,1)/SMA(ABS(CLOSE-BB),2,1)*100; DZ1:=获利盘>REF(获利盘,1) AND 获利盘>89; TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); CCI1:=EMA(EMA(EMA(CCI,2),2),2); CCI2:=EMA(EMA(EMA(CCI,3),2),2); 今天的内容就讲到这里,欢迎喜欢的朋友自行尝试!祝大家财源广进,心想事成! 如果对文章感兴趣欢迎大家与我交流沟通! 欢迎大家自行尝试! 关于指标有问题大家可以私信找我免费领取! |