麻烦老师把下面通达信分时公式改成预警公式 要求同时出现猛虎出笼信号时预警下面是公式源码
发布网友
发布时间:2022-05-27 10:51
我来回答
共2个回答
热心网友
时间:2023-10-17 10:58
A1:=AMOUNT/VOL/100;
A2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
A3:=SUM(AMOUNT,40)/A1/100;
A4:=SUM(AMOUNT,80)/A1/100;
B1:=DMA(A2,VOL/A3);
B2:=DMA(A2,VOL/A4);
B3:=(CLOSE-B1)/B1*100;
B4:=(CLOSE-B2)/B2*100;
现价:=C;
分时确认:=MA(REF(HHV(C,60),1),2);
均价:=SUM(现价*V,240)/SUM(V,240);
回调认同:=EMA(EXPMA(C,20),13);
分时压力:=MA(REF(HHV(C,30),1),2);
分时支撑:=MA(REF(LLV(C,30),1),2);
RSV:=(CLOSE-LLV(LOW,Q))/(HHV(HIGH,Q)-LLV(LOW,Q))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
VAR2:=EMA(J,6);
VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR4:=SMA(VAR3,13,8);
VAR5:=CEILING(SMA(VAR4,13,8));
VAR6:="SSRP.MA1";
VAR7:="SSRP.MA2";
SIGNAL1:=CROSS(VAR5,VAR2) AND C>=均价;
SIGNAL2:=(CROSS(VAR5,VAR2) AND B3>0.6 AND C>=均价);
SIGNAL3:=(CROSS(VAR6,VAR7) AND B3>0.6 AND C>=均价);
XG:SIGNAL1 AND (SIGNAL2 AND VAR6>VAR7) {OR (SIGNAL3 AND VAR5>VAR2)};
热心网友
时间:2023-10-17 10:59
q值未定义。。。。