同花顺抄底拿长线指标公式

[复制链接]
查看171 | 回复0 | 2021-8-20 21:34:55 | 显示全部楼层 |阅读模式

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;
跌家数:INDEXDEC,colorgreen,NODRAW;
DRAWICON(CROSS(红买,蓝卖),红买,2);
DRAWICON(CROSS(蓝卖,红买),蓝卖-1,1);

202108202131.jpg

202108202131.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则