突破买入上涨 实用箱体观测【指标公式】(含选股)
第一部分 副图公式 手机/电脑CAIH1:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1)),15,1)*100;
DRAWTEXT(CROSS(82,CAIH1),H*1.04,'快卖'),COLORWHITE;
S:=C-REF(C,1);
CAIH2:=100*EMA(EMA(S,6),6)/EMA(EMA(ABS(S),6),6);
买进:=IF(LLV(CAIH2,2)=LLV(CAIH2,7) AND COUNT(CAIH2REF(HIGH,1);
CHA1:=FILTER(A,12);
B:=LLV(LOW,13)=LOW AND LOW
CHB1:=FILTER(B,12);
TS1:=BARSLAST(CHA1);
箱体顶:REF(HIGH,TS1),COLORFF00FF,NODRAW;
STICKLINE(1,箱体顶,箱体顶,1.5,0),COLORFF00FF;
TS2:=BARSLAST(CHB1);
箱体底:REF(LOW,TS2),COLORFFBB80,NODRAW;
STICKLINE(1,箱体底,箱体底,1.5,0),COLORFFBB80;
箱体高:100*(箱体顶-箱体底)/箱体底,NODRAW;
第二部分 选股公式
{选股公式一:买涨}
CAIH1:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1)),15,1)*100;
S:=C-REF(C,1);
CAIH2:=100*EMA(EMA(S,6),6)/EMA(EMA(ABS(S),6),6);
CAIH3:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
买进:=IF(LLV(CAIH2,2)=LLV(CAIH2,7) AND COUNT(CAIH2<0,2) AND CROSS(CAIH2,MA(CAIH2,2)),1,0);
{DRAWTEXT(FILTER(买进=1,5),L*0.96,'买涨'),COLORYELLOW;}
买涨:FILTER(买进=1,5);
{选股公式二:红箭头图标}
CAIH1:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1)),15,1)*100;
S:=C-REF(C,1);
CAIH2:=100*EMA(EMA(S,6),6)/EMA(EMA(ABS(S),6),6);
CAIH3:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
CAIH4:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
{DRAWICON(CROSS(CAIH3-CAIH4,0),L*0.98,1);}
红箭头图标:CROSS(CAIH3-CAIH4,0);
我抢、我抢、我抢沙发~ 顶贴光荣! 有道理。。。 不错不错,楼主您辛苦了。。。
页:
[1]