求高手把这通达信副图 改写成今天出现红色柱体选股或预警公式 特别感谢

2024-11-29 08:04:15
推荐回答(3个)
回答(1):

VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2)VAR05:=COUNT(VAR03,7)>0 AND VAR04;
XG:IF(VAR05 AND COUNT(VAR05,5)=1,1,0);

回答(2):

VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2)VAR05:=COUNT(VAR03,7)>0 AND VAR04;
预警:IF(VAR05 AND COUNT(VAR05,5)=1,1,0);
选股:=VAR05 AND COUNT(VAR05,5)=1;
{注意:楼上正确。可将“=”放在预警后,即是选股公式。两用。}个人看法,仅供参考。

回答(3):

这个简单:
VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2)VAR05:=COUNT(VAR03,7)>0 AND VAR04;
VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR07:=SMA(ABS(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1);
VAR08:=EMA(VAR07,10);
VAR09:=EMA(C,5);
VAR10:=LLV(LOW,33);
VAR11:=EMA(IF(LOW<=VAR10,VAR09,0),3)*40;
VAR12:=IF(VAR11>100,VAR11*0.312,VAR11);
底部爆发:=VAR12,COLORWHITE;
海岸:=VAR02,COLORYELLOW;
浪花:=VAR01,COLORMAGENTA;
XG:VAR05 AND COUNT(VAR05,5)=1;