根据上下两线合并改编。上下两线合并在买点上稍微早了,我把买点改到了两线合并以后绿柱变红柱的时候。盘整时间长一些,再长一些,跌的幅度大一些,再大一些,直到时与空的高度契合。两线合并,就是大鱼咬钩。绿柱变红柱,好像鱼漂被拽下去或拖走一样,此时才是提竿的最佳时机。
用法:
1.上下两线合并以后绿柱变红柱,出现红箭头,买入:1,可以买入;
2.买入以后首次红柱变绿柱,卖出:1,建议卖出。
VAR0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR3:=SMA(VAR0,3,1);
VAR1:=SMA(VAR3,4,1)-10;
VAR4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR5:=SMA(VAR4,3,1);
VAR2:=SMA(VAR5,4,1)-90;
STICKLINE(REF(VAR1,1)<VAR1,VAR1,REF(VAR1,1),10,0),COLOR0000FF;
STICKLINE(REF(VAR1,1)>VAR1,VAR1,REF(VAR1,1),5,0),COLOR00FF00;
STICKLINE(REF(VAR2,1)>VAR2,VAR2,REF(VAR2,1),10,0),COLOR0000FF;
STICKLINE(REF(VAR2,1)<VAR2,VAR2,REF(VAR2,1),5,0),COLOR00FF00;
EE:=REF(VAR1,1)<VAR1;
买入:EE=1 AND VAR1<0 AND TFILTER(EE=1 AND VAR1<0,REF(VAR2,1)<VAR2,1),COLOR0000FF;
卖出:REF(VAR2,1)<VAR2,NODRAW;
DRAWICON(买入,VAR2+5,1);
{选股公式}
VAR0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR3:=SMA(VAR0,3,1);
VAR1:=SMA(VAR3,4,1)-10;
VAR4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR5:=SMA(VAR4,3,1);
VAR2:=SMA(VAR5,4,1)-90;
EE:=REF(VAR1,1)<VAR1;
EE=1 AND VAR1<0 AND TFILTER(EE=1 AND VAR1<0,REF(VAR2,1)<VAR2,1);
20175421205438767.png
20175421205935531.png
|