VAR1:=AMOUNT/VOL/100; VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; VAR

1个回答

  • 是的,原公式是可以用来选取股票,但可能LZ提出还需要优化,经对比,发现股票在上升途中仍旧有可以进行买入点,无选取出来,按照思路,加多了一个短线买入选取信号,仅供参考,

    VAR1:=AMOUNT/VOL/100;

    VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;

    VAR3:=SUM(AMOUNT,13)/VAR1/100;

    VAR4:=DMA(VAR2,VOL/VAR3);

    VAR5:=(CLOSE-VAR4)/VAR4*100;

    VAR6:=(INDEXC-LLV(INDEXL,9))/(HHV(INDEXH,9)-LLV(INDEXL,9))*100;

    VAR7:=SMA(VAR6,3,1);

    VAR8:=SMA(VAR7,3,1);

    短线买:CROSS(VAR7,VAR8) AND VAR7