均线通道买入 抄底走向胜利《通达信+指标+公式+副图+源码》分享
均5:MA(CLOSE,5), COLORYELLOW;
均10:MA(CLOSE,10), COLORMAGENTA;
均30: MA(CLOSE,30), COLORGREEN;
均60: MA(CLOSE, 60), COLORFFFF00, POINTDOT, LINETHICK2;
通道上:均30 + 2*STD(CLOSE,60), COLORFF6633 ,POINTDOT ,LINETHICK2 ;
通道下:均30 - 2*STD(CLOSE,60), COLOR00FF99 ,POINTDOT ,LINETHICK2;
CHP1:=MA(CLOSE,5);
CHP2:=MA(CLOSE,34);
CHP3:=MA(CLOSE,60);
胜利A: MA(CLOSE,13);
胜利B: (EMA(CLOSE,5)*7+EMA(CLOSE,5)*3)/10,COLORFFFFFF;
CHPA:=REF(CLOSE,1);
CHPE:=SMA(MAX(CLOSE-CHPA,0),6,1)/SMA(ABS(CLOSE-CHPA),6,1)*100;
DRAWTEXT( CROSS(84,CHPE),HIGH,'☆见好就收'),COLORGREEN;
CHPF:=(2*CLOSE+HIGH+LOW)/4;
CHP4:=LLV(LOW,34);
CHP5:=HHV(HIGH,34);
CHP6:=EMA((CHPF-CHP4)/(CHP5-CHP4)*100,6);
CHP7:=EMA(0.667*REF(CHP6,1)+0.333*CHP6,4);
DRAWTEXT(IF(COUNT(CLOSE0.3 AND COUNT(CHP6>CHP7,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),LOW,'★走向胜利'),COLORYELLOW;
STICKLINE(胜利B<胜利A,胜利A,胜利B,0.1,1),COLOR009900;
选股公式源码
{选股公式:走向胜利}
CHP1:=MA(CLOSE,5);
CHP2:=MA(CLOSE,34);
CHP3:=MA(CLOSE,60);
CHPA:=REF(CLOSE,1);
CHPE:=SMA(MAX(CLOSE-CHPA,0),6,1)/SMA(ABS(CLOSE-CHPA),6,1)*100;
CHPF:=(2*CLOSE+HIGH+LOW)/4;
CHP4:=LLV(LOW,34);
CHP5:=HHV(HIGH,34);
CHP6:=EMA((CHPF-CHP4)/(CHP5-CHP4)*100,6);
CHP7:=EMA(0.667*REF(CHP6,1)+0.333*CHP6,4);
走向胜利:COUNT(CLOSE0.3 AND COUNT(CHP6>CHP7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN;
{卖出公式:见好就收}
CHP1:=MA(CLOSE,5);
CHP2:=MA(CLOSE,34);
CHP3:=MA(CLOSE,60);
CHPA:=REF(CLOSE,1);
CHPE:=SMA(MAX(CLOSE-CHPA,0),6,1)/SMA(ABS(CLOSE-CHPA),6,1)*100;
CHPF:=(2*CLOSE+HIGH+LOW)/4;
CHP4:=LLV(LOW,34);
CHP5:=HHV(HIGH,34);
CHP6:=EMA((CHPF-CHP4)/(CHP5-CHP4)*100,6);
CHP7:=EMA(0.667*REF(CHP6,1)+0.333*CHP6,4);
见好就收:CROSS(84,CHPE);