各位高手,帮我把下面的指标公式改为选股公式,谢谢!

2024-11-29 06:39:30
推荐回答(3个)
回答(1):

VAR2:=TROUGHBARS(3,15,1)<10;
VAR3:=PEAKBARS(3,15,1)<10;
VAR4:=IF(VAR2=1,50,0);
VAR5:=IF(VAR3=1,50,0);
底部:=IF(VAR4=50,10,0);
买入:=IF(底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0,50,0);
选股:买入=50;

回答(2):

自动化交易?TradePad?

回答(3):

{买点}
VAR2:=TROUGHBARS(3,15,1)<10;
VAR3:=PEAKBARS(3,15,1)<10;
VAR4:=IF(VAR2=1,50,0);
VAR5:=IF(VAR3=1,50,0);
底部:=IF(VAR4=50,10,0);
多头能量:=0;
买入:IF(底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0,50,0) AND 底部;

{小心为妙}
VARA:=REF(CLOSE,1);
VARE:=SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100;
CROSS(84,VARE);

{主力散户线}
VAR11:=LLV(LOW,75);
VAR10:=HHV(HIGH,75);
VAR9:=(VAR10-VAR11)/100;
VAR8:=SMA((CLOSE-VAR11)/VAR9,20,1);
VARB:=3*VAR8-2*SMA(VAR8,15,1);
散户: =(100-VARB);
主力: =MA(WINNER(CLOSE*0.95)*100,3) ;
VAR6:=MA(CLOSE,13);
VAR7:=100-ABS((CLOSE-VAR6)/VAR6*100);
VARD:=主力>VAR7;
VAR12:=MA(CLOSE,13);
VAR13:=100-ABS((CLOSE-VAR12)/VAR12*100);

赚钱该走啦}
CROSS(VARD,0.5) AND COUNT(VARD=1,10)=1;