以下是万法归一主图之大底成选股指标公式源码和使用说明
万法归一主图之大底成选股指标公式源码:
上:=EMA(MA(HIGH,3)*1.05,30);
趋势:=EMA(MA(LOW,3)*0.96,30);
趋势线:=SMA(LOW,8,1);
CG:=MA(CLOSE,19);
CD:=MA(CLOSE,2);
大底成:FILTER(((((((CLOSE>CG)AND(HIGH<上))AND(CLOSE<上))AND((趋势线-REF(趋势线,3))>0))AND((趋势-REF(趋势,1))>=0))ANDcrOSS(CD,CG)),5);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MA1:=MA(CLOSE,8);
MA2:=MA(CLOSE,21);
多头:STICKLINE(DIFF>DEA,CLOSE,OPEN,2.5,0),COLOR0000FF;
STICKLINE(DIFF>DEA,HIGH,LOW,0,0),COLOR0000FF;
空头:STICKLINE(DIFF<=DEA,CLOSE,OPEN,2.5,0),colorgreen;
STICKLINE(DIFF<=DEA,HIGH,LOW,0,0),colorgreen;
多:=EMA(C,3),coloryellow;
空:=EMA(C,5),COLOR00FF00;
均衡:EMA(空,5),colorwhite,;
中轨:HHV(MA(H,13),13),coloryellow,LINETHICK1;
趋势:LLV(MA(H,13),1),colorred,LINETHICK1;
W1:=C=HHV(C,5);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
开启盛世:=W4ANDCOUNT(W4,5)=1AND中轨=趋势;
DRAWICON(开启盛世,均衡*0.99,25),COLOR00FF00;
EMA13:=EMA(C,13);
EMA30:=EMA(C,30);
EMA60:=EMA(C,60);
EMA90:=EMA(C,90);
EMA120:=EMA(C,120);
EMA250:=EMA(C,250);
F1:=EMA30-EMA60<130/1000ANDEMA30-EMA90<230/1000ANDEMA30-EMA120<330/1000;
F2:=EMA60-EMA30<130/1000ANDEMA60-EMA90<230/1000ANDEMA60-EMA120<330/1000;
F3:=EMA90-EMA30<130/1000ANDEMA90-EMA60<230/1000ANDEMA90-EMA120<330/1000;
F4:=EMA120-EMA30<130/1000ANDEMA120-EMA60<230/1000ANDEMA120-EMA90<330/1000;
F5:=EMA30-EMA60<100/1000ANDEMA30-EMA90<200/1000;
FF1:=F1ANDF2ANDF3ANDF4ANDCROSS(EMA30,EMA60);
FF2:=F1ANDF2ANDF3ANDF4ANDCROSS(EMA(C,13),EMA30);
FF3:=F5ANDC>EMA250ANDCROSS(EMA30,EMA60);
G1:=EMA60-EMA90<220/1000ANDEMA60-EMA120<320/1000ANDEMA60-EMA250<420/1000;
G2:=EMA90-EMA30<220/1000ANDEMA90-EMA60<320/1000ANDEMA90-EMA250<420/1000;
G3:=EMA120-EMA60<220/1000ANDEMA120-EMA90<320/1000ANDEMA120-EMA250<420/1000;
G4:=EMA250-EMA60<220/1000ANDEMA250-EMA90<320/1000ANDEMA250-EMA120<420/1000;
GG1:=G1ANDG2ANDG3ANDG4ANDCROSS(EMA13,EMA30);
GG2:=G1ANDG2ANDG3ANDG4ANDCROSS(EMA30,EMA60);
FF1ORFF2ORFF3ORGG1ORGG2;
万法归一主图之大底成选股指标公式截图
评论(0)