牛熊一条线
2015-9-23 22:24:12点击:
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;