求高手帮忙编写一个通达信的选股公式,建仓选股!

2024-11-01 13:18:21
推荐回答(1个)
回答1:

VAR2:=1/WINNER(CLOSE);
VAR3:=100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100);
VAR4:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR5:=SMA(VAR4,5,1);
VAR6:=SMA(VAR5,9,1);
兰柱:VAR2>5 AND VAR3<100 AND VOL AND VAR6<18;
==============
VAR2:=1/WINNER(C);
VAR3:=100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100);
VAR4:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR5:=SMA(VAR4,5,1);
VAR6:=SMA(VAR5,9,1);
黄柱:VAR2>5 AND VAR3<100 AND (VOL AND VAR6<18) AND VAR2*0.5;