请高手把这个通达信的公式改成预警公式

2024-11-29 21:35:36
推荐回答(2个)
回答1:

VAR6:=4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1);
VAR7:=8;
买入: IF(CROSS(VAR6,VAR7),80,0);

回答2:

VAR6:=4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1);
VAR7:=8;
准备:= IF(VAR6<=8,30,0){,STICK,COLORWHITE,LINETHICK2};
买入: IF(CROSS(VAR6,VAR7),80,0),STICK,COLORGREEN,LINETHICK2;

试试看