龙听期货论坛's Archiver

龙听 发表于 2018-10-18 13:32

[转载]精品买卖通达信指标源码

[attach]4595[/attach]

[code]
VAR1:8*SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,5,1)-  

6*SMA(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,5,1),3.2,1),COLORRED,LINETHICK2;  

VAR2:=8,COLORGREEN,LINETHICK0;  

关注: IF(VAR1<=8,35,0),COLORFF6EC7,LINETHICK2;  

买入: IF(CROSS(VAR1,VAR2),70,0),STICK,LINETHICK2;  

DRAWICON(CROSS(VAR1,VAR2),70,13);  

DRAWICON(VAR1<=10,5,1);

警戒区        : IF((VAR1>170),175,200),COLORGREEN ,LINETHICK2;  

DRAWICON(VAR1>=170,185,2);

卖出:DRAWICON(CROSS(170,VAR1), 170,15);
[/code]

页: [1]