摸清主力走势 短线抄底买入【指标公式】(含选股)
第一部分 副图公式 手机/电脑N1:=10;N2:=20;N3:=60;N4:=15;
底线:15,COLOR0000E0;顶线:85,COLOR00BB00;
趋势:ABS(MA(CLOSE,15)-MA(CLOSE,60))/CLOSE*100+15,COLORWHITE,LINETHICK1;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
CAIH1:=((CLOSE - LLV(LOW,N1))/(HHV(HIGH,N1) - LLV(LOW,N1)))*(100);
CAIH3:=SMA(CAIH1,5,1);
K:=SMA(CAIH3,3,1);
D:=SMA(K,3,1);
CAIH5:=LLV(LOW,12);
CAIH6:=HHV(HIGH,26);
CHB:=(K-D)*10;
CHB1:=(REF(K,1)-REF(D,1))*10;
CHB2:=(REF(K,2)-REF(D,2))*10;
CHB3:=CHB-CHB1;
CHC:=(D-K)*10;
CHC1:=(REF(D,1)-REF(K,1))*10;
CHC2:=(REF(D,2)-REF(K,2))*10;
CHC3:=CHC-CHC1;
CAD2:=MA(C,240);
CAD3:=REF(CAD2,1);
走势线:EMA((CLOSE-CAIH5)/(CAIH6-CAIH5)*100,4),COLORGRAY,LINETHICK1;
CAE1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
CAE2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
CAE3:=BARSLAST(REF(CROSS(K,D),1));
CAE4:=BARSLAST(REF(CROSS(D,K),1));
底背:=IF(REF(LOW,CAE1+1)>LOW AND DIFF>REF(DIFF,CAE1+1),1,0);
顶背:=IF(REF(HIGH,CAE2+1)DIFF,1,0);
底背1:=IF(REF(LOW,CAE3+1)>LOW AND K>REF(K,CAE3+1),1,0);
顶背1:=IF(REF(HIGH,CAE4+1)
DRAWTEXT(CROSS(K,D) AND (顶背=0 OR 顶背1=0) AND HIGH>=MA(C,30) AND 走势线=MA(C,30) AND 走势线K AND CHC>CHC1 AND CHC2>CHC1 AND C45 AND CHC2>1 AND CHC1>0 AND CAD2K AND CHC>CHC1 AND CHC2>CHC1 AND C45 AND CHC2>1 AND CHC1>0 AND CAD2CHB1 AND C>MA(C,20) AND CHB3>6 AND CHB2>1 AND CHB1>0 AND CAD2>=CAD3,D,1),COLORRED;
DRAWTEXT(DCHB1 AND CHB2>CHB1 AND C>MA(C,20) AND CHB3>6 AND CHB2>1 AND CHB1>0 AND CAD2>=CAD3,D,'短买'),COLORRED;
第二部分 选股公式
{选股公式一:抄}
N1:=10;N2:=20;N3:=60;N4:=15;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
CAIH1:=((CLOSE - LLV(LOW,N1))/(HHV(HIGH,N1) - LLV(LOW,N1)))*(100);
CAIH3:=SMA(CAIH1,5,1);
K:=SMA(CAIH3,3,1);
D:=SMA(K,3,1);
CAIH5:=LLV(LOW,12);
CAIH6:=HHV(HIGH,26);
走势线:=EMA((CLOSE-CAIH5)/(CAIH6-CAIH5)*100,4),COLORGRAY,LINETHICK1;
CAE1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
CAE2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
CAE3:=BARSLAST(REF(CROSS(K,D),1));
CAE4:=BARSLAST(REF(CROSS(D,K),1));
顶背:=IF(REF(HIGH,CAE2+1)DIFF,1,0);
顶背1:=IF(REF(HIGH,CAE4+1)
抄:CROSS(K,D) AND (顶背=0 OR 顶背1=0) AND HIGH>=MA(C,30) AND 走势线LOW AND DIFF>REF(DIFF,CAE1+1),1,0);
底背1:=IF(REF(LOW,CAE3+1)>LOW AND K>REF(K,CAE3+1),1,0);
顶背1:=IF(REF(HIGH,CAE4+1)
进:CROSS(K,D) AND (底背=1 AND 底背1=1) AND 顶背1=0;
{选股公式三:短买}
N1:=10;N2:=20;N3:=60;N4:=15;
CAIH1:=((CLOSE - LLV(LOW,N1))/(HHV(HIGH,N1) - LLV(LOW,N1)))*(100);
CAIH3:=SMA(CAIH1,5,1);
K:=SMA(CAIH3,3,1);
D:=SMA(K,3,1);
CAIH5:=LLV(LOW,12);
CAIH6:=HHV(HIGH,26);
CHB:=(K-D)*10;
CHB1:=(REF(K,1)-REF(D,1))*10;
CHB2:=(REF(K,2)-REF(D,2))*10;
CHB3:=CHB-CHB1;
CHC:=(D-K)*10;
CHC1:=(REF(D,1)-REF(K,1))*10;
CHC2:=(REF(D,2)-REF(K,2))*10;
CHC3:=CHC-CHC1;
CAD2:=MA(C,240);
CAD3:=REF(CAD2,1);
短买:DCHB1 AND CHB2>CHB1 AND C>MA(C,20) AND CHB3>6 AND CHB2>1 AND CHB1>0 AND CAD2>=CAD3;
沙发!沙发! 尝试一下
页:
[1]