九毛八公式指标
请高手将(当日现彩柱)选股公式改为前一天(昨天)出现彩柱的选股公式,当天是不是彩柱都无要求,只要求前一天是彩柱就行。谢谢! 源码如下: PJGJ:=AMOUNT/VOL/100; SSRYDJX:=MA(PJGJ,13); SSRCJL:=EMA(VOL,13); SSRCJE:=EMA(AMOUNT,13); SSRCBJX:=SSRCJE/SSRCJL/100; CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100; XYSHSL:=EMA(VOL/CAPITAL*100,13); XG:=XYSHSL>6.1 AND CYS13>5; XG1:=XYSHSL>3.8 AND CYS13>5 ; XG2:=XYSHSL>1.8 AND CYS13>5; XG AND XG1 AND XG2;
公式模块:
{要用到未来函数,慎用}
PJGJ:=AMOUNT/vol/100; SSRYDJX:=MA(PJGJ,13); SSRCJL:=EMA(VOL,13); SSRCJE:=EMA(AMOUNT,13); SSRCBJX:=SSRCJE/SSRCJL/100; CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100; XYSHSL:=EMA(VOL/CAPITAL*100,13); XG:=XYSHSL>6.1 AND cys13>5; XG1:=XYSHSL>3.8 AND CYS13>5 ; XG2:=XYSHSL>1.8 AND CYS13>5; REFX(XG AND XG1 AND XG2,1);