D I FF:EMA(CLOSE,7) - EMA(CLOSE, 19) ;
DEA:EMA(DIFF,9) ;
MACD:2*(DIFF-DEA) ,COLORSTICK;
KDJK:=STKINDI(' ' ,6, 'KDJ.K' ,9,3,3) ;
KDJD:=STKINDI(' ' ,6, 'KDJ.d' ,9,3,3) ;
RSI11 :=STKINDI(' ' ,6, 'RSI.RSI1' ,6, 12,24) ;
RSI22:=STKINDI(' ' ,6, 'RSI.RSI2' ,6, 12,24) ;
A1 :=BARSLAST(REF(CROSS(DIFF,DEA) , 1) ) ;
B1 :=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA) ;
A2:=BARSLAST(REF(CROSS(KDJK,KDJD) , 1) ) ;
B2:=REF(C,A2+1)>C AND REF(KDJK,A2+1)<KDJK AND CROSS(KDJK,KDJD) ;
A3:=BARSLAST(REF(CROSS(RSI11,RSI22) , 1) ) ;
B3:=REF(C,A3+1)>C AND REF(RSI11,A3+1)<RSI11 AND CROSS(RSI11,RSI22) ;
C1 :=BARSLAST(REF(CROSS(DEA,DIFF) , 1) ) ;
D1 :=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF) ;
C2:=BARSLAST(REF(CROSS(KDJD,KDJK) , 1) ) ;
D2:=REF(C,C2+1)<C AND REF(KDJK,C2+1)>KDJK AND CROSS(KDJD,KDJK) ;
C3:=BARSLAST(REF(CROSS(RSI22,RSI 11) , 1) ) ;
D3:=REF(C,C3+1)<C AND REF(RSI11,C3+1)>RSI11 AND CROSS(RSI22,RSI11) ;MACD底背:IF(B1>0,-0. 1,0) ,COLORRED,POINTDOT;
KDJ底背:IF(B2>0,-0. 1,0) ,COLORFF00FF,POINTDOT;
RSI底背:IF(B3>0,-0. 1,0) ,COLORYELLOW,POINTDOT;
MACD顶背:IF(D1>0,0. 1,0) ,COLOR00FF00,POINTDOT;
KDJ顶背:IF(D2>0,0. 1,0) ,COLORFFCC66,POINTDOT;
RSI顶背:IF(D3>0,0. 1,0) ,COLORWHITE,POINTDOT;
STICKLINE(B1>0,-0. 1,0,2,0) ,COLORRED;
STICKLINE(B2>0,-0. 1,0,2,0) ,COLORFF00FF;
STICKLINE(B3>0,-0. 1,0,2,0) ,COLORYELLOW;
STICKLINE(D1>0,0. 1,0,2,0) ,COLOR00FF00;
STICKLINE(D2>0,0. 1,0,2,0) ,COLORFFCC66;
STICKLINE(D3>0,0. 1,0,2,0) ,COLORWHITE;
STICKLINE(MACD>REF(MACD, 1) AND MACD>0,0,MACD,0,0) ,COLORRED;STICKLINE(MACD<=REF(MACD, 1) AND MACD>0,0,MACD,0,0) ,COLORYELLOW;STICKLINE(MACD<REF(MACD, 1) AND MACD<0,0,MACD,0,0) ,COLORCYAN;STICKLINE(MACD>=REF(MACD, 1) AND MACD<0,0,MACD,0,0) ,COLORMAGENTA;STICKLINE(C>0,0,0,50, 1) ,COLORBLUE;
DIFF,COLORGREEN;
DEA,COLORYELLOW;
强:IF(DIFF>MA(DIFF,2) ,DIFF,DRAWNULL) ,COLORRED,LINETHICK3;
弱:IF(DEA>MA(DEA,2) ,DEA,DRAWNULL) ,COLORMAGENTA,L INETHI CK3;
DRAWICON(CROSS(DIFF,DEA) ,DEA,26) ;
DRAWICON(CROSS(DEA,DIFF) ,DEA,27) ;
A:=REF(DIFF, 1)<REF(DIFF,2) AND REF(DIFF,2)<REF(DIFF,3) AND DIFF>REF(DIFF, 1) ;
B:=REF(DIFF, 1)>REF(DIFF,2) AND REF(DIFF,2)>REF(DIFF,3) AND DIFF<REF(DIFF, 1) ;DRAWICON(A,DIFF, 1) ;
DRAWICON(B,DIFF,2) ;
今天遇到一个网友,他之前一直在用阿里云虚拟主机,我们知道虚拟主机绑定域名是直接在面板上绑定的。这里由于他的网站项目流量比较大,虚拟主机是不够的,而且我看他虚拟主机已经有升级过。这里要说的是,用过阿里云虚拟主机的朋友可能会比较一下价格,实际上虚拟主机价格比云服务器还贵。所以,基于成本和性能的考虑,建议他选择云服务器。毕竟他的备案都接入在阿里云。这里在选择阿里云服务器后,他就蒙圈不知道如何绑定域名。这...
LightNode是一家成立于2002年,总部位于香港的VPS服务商。提供基于KVM虚拟化技术.支持CentOS、Ubuntu或者Windows等操作系统。公司名:厦门靠谱云股份有限公司官方网站:https://www.lightnode.com拥有高质量香港CN2 GIA与东南亚节点(河内、曼谷、迪拜等)。最低月付7.71美金,按时付费,可随时取消。灵活满足开发建站、游戏应用、外贸电商等需求。首...
ftlcloud(超云)目前正在搞暑假促销,美国圣何塞数据中心的云服务器低至9元/月,系统盘与数据盘分离,支持Windows和Linux,免费防御CC攻击,自带10Gbps的DDoS防御。FTL-超云服务器的主要特色:稳定、安全、弹性、高性能的云端计算服务,快速部署,并且可根据业务需要扩展计算能力,按需付费,节约成本,提高资源的有效利用率。活动地址:https://www.ftlcloud.com...