同花顺牛熊一条线源码
-
相关简介: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(RSI1RSI2
-
文章来源:股海网作者:股海网发布时间:2015-09-23浏览次数:
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;
|