以下是同花顺牛熊一条线源码
LZ:=DYNAINFO(3)*1,COLORFFFF00,POINTDOT;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*2;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*2;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*2;
AA1:=IF(RSI1<RSI2 OR RSI1<RSI3 OR RSI2<RSI3,RSI3,RSI1)+LZ,colorred;
AA2:=IF(RSI1<RSI2 OR RSI1<RSI3 OR RSI2<RSI3,RSI3,RSI2)+LZ,coloryellow;
AA3:=RSI3+LZ,colorblue;
STICKLINE(AA1>AA3,LZ,1.5,5,0),COLORFF00FF;
AA:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
牛熊一条线:IF(AA>65,65,AA),coloryellow;
底部:-21,colorgreen;
技术高位:21,colorwhite;
顶区:36,colorgreen;
技术低位:-10,colorwhite;
牛熊分界:0,colorred;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)