N:=45;
M:=66;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,3,1);
J:3*K-2*D,COLORYELLOW;
MJ:EMA(J,3),COLORGREEN;
主力线:SMA(100*(C-LLV(LOW,N))/(HHV(H,N)-LLV(LOW,N)),5,2), COLORRED,LINETHICK2;
CC:=Abs(C-MA(C,N))/MA(C,N);
鉴别线: DMA(主力线,CC),COLORAAAA00,LINETHICK2;
起爆线: 57,COLORYELLOW;
发作线:72,COLOR7F00FF;
DRAWTEXT(crOSS(主力线,发作线),75,’发作!’) ,COLORRED;
临界限:42,COLORWHITE;
卧槽线:27,COLORGREEN;
抄底线:12,COLORAAAA00;
DRAWTEXT(CROSS(主力线,鉴别线)AND 鉴别线<12,10,’抄底’) ,COLORAAAA00;
DRAWTEXT(CROSS(主力线,临界限),45,’加仓’),COLORWHITE;
DRAWTEXT(CROSS(主力线,起爆线),60,’起爆’),COLORYELLOW;
DRAWTEXT(CROSS(92,主力线),95,’风险’) ,COLORGREEN;
DRAWTEXT(CROSS(鉴别线,主力线)AND 鉴别线>60,鉴别线-5,’空仓’) ,COLORMAGENTA;
CM: (COST(M)/(COST(0)+COST(100))*100),COLORMAGENTA,LINETHICK2;
IF(CM>主力线,CM,DRAWNULL),COLORGRAY,LINETHICK2;
IF(CM>主力线,主力线,DRAWNULL),COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(主力线,CM),CM,’主力出场’) ,COLORRED;
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/179665.html,转载请注明出处。