该条件选股经过一年的时间段的评测成功率73%,评测条件止盈或止损10%,希望有兴趣的朋友进一步优化。实盘中如果使用最好要参考大盘环境,那样胜算率会高一些。
YYGQQM:=3*(SMA((SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE),6.3,1))
,3,1))-1*(SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE),6.3,1));
HJ:=IF(YYGQQM>(3*(SMA(((CLOSE-LLV(LOW,28))/(
HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE),6.3,1))
-2.1*(SMA((SMA(((CLOSE-LLV(LOW,28))/(
HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE),6.3,1))
,3,1))),(3*(SMA(((CLOSE-LLV(LOW,28))/(
HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE),6.3,1))
-2.1*(SMA((SMA(((CLOSE-LLV(LOW,28))/(
HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE),6.3,1))
,3,1))),YYGQQM)COLOR0090FF,LINETHICK0;
F1:STICKLINE((HJ>=REF(HJ,1)),HJ,HJ,18,9)COLOR0080FF;
F2:STICKLINE((HJ>=REF(HJ,1)),HJ,HJ,10,9)COLOR00009C;
F3:STICKLINE((HJ>=REF(HJ,1)),HJ,HJ,5,9)COLORYELLOW;
F4:STICKLINE((HJ<REF(HJ,1)),HJ,HJ,18,9)COLOR0080FF;
F5:STICKLINE((HJ<REF(HJ,1)),HJ,HJ,10,9)COLOR00009C;
F6:STICKLINE((HJ<REF(HJ,1)),HJ,HJ,5,9)COLORGREEN;
F1,COLOR0080FF,LINESTICK,LINETHICK9;
F2,COLORGREEN,LINESTICK,LINETHICK6;
F3,COLOR00099C,LINESTICK,LINETHICK4;
黄金线:IF(HJ>=REF(HJ,1),HJ,DRAWNULL)COLORYELLOW,
LINETHICK4;
201910218291396659.png
201910218292112350.png
201910218292670766.jpg
|