通达信精准买卖指标
-
相关简介:通达信精准买卖指标 源码 VAR1:=(2*CLOSE+HIGH+LOW)/4; VAR2:=EMA(VAR1,10); VAR3:=REF(VAR2,1); 黄探底震仓:IF(VAR2,10,DRAWNULL),COLORYELLOW,LINETHICK5; 红买: IF(VAR2VAR3,10,DRAWNULL), COLORRED,LINETHICK5; 蓝卖: IF(VAR2VAR3,10,DRAWNULL),COLORBLUE,LINETHICK5; RSV:=(CLOSE-LLV(L
-
文章来源:股海网作者:股海网发布时间:2016-01-28浏览次数:
通达信精准买卖指标
源码
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(VAR1,10);
VAR3:=REF(VAR2,1);
黄探底震仓:IF(VAR2,10,DRAWNULL),COLORYELLOW,LINETHICK5;
红买: IF(VAR2>VAR3,10,DRAWNULL), COLORRED,LINETHICK5;
蓝卖: IF(VAR2<VAR3,10,DRAWNULL),COLORBLUE,LINETHICK5;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*150;
上穿买:SMA(RSV,3,1),COLORRED;
趋势线:SMA(上穿买,3,1),COLORFFFF00;
VAR03:=PEAKBARS(3,15,1)<10;
VAR05:=IF(VAR03=1,2,0);
顶:=IF(VAR05=2,2,0),COLORBLUE,LINETHICK2;
必买: IF(TROUGHBARS(3,15,1)=1 AND HIGH>LOW+0.01,20,-1),COLORYELLOW ,LINETHICK2;
必卖: IF(PEAKBARS(3,15,1)=1,80,100),COLORGREEN,LINETHICK2;
涨家数:INDEXADV,COLOR0080FF,NODRAW;
跌家数:INDEXDEC,COLORGREEN,NODRAW;
DRAWICON(CROSS(红买,蓝卖),红买,2);
DRAWICON(CROSS(蓝卖,红买),蓝卖-1,1);