副图公式源码支持: 手机/电脑
价缩:=EVERY(C<REF(C,1) AND C<O,3);
量缩:=V<REF(V,1) AND REF(V,1)<REF(V,2);
量价缩:=量缩 AND 价缩;
DRAWTEXT(量价缩,90,'缩'),COLORYELLOW;
GUP1:=MA(HHV(H,500),13);
GUP2:=MA(HHV(H,250),13);
GUP3:=MA(HHV(H,89),13);
GUP4:=MA(LLV(L,500),13);
GUP5:=MA(LLV(L,250),13);
GUP6:=MA(LLV(L,89),13);
GUP7:=MA((GUP1*0.558+GUP2*0.558+GUP3*0.558+GUP4*0.96+GUP5*0.96+GUP6*0.96)/6,17);
GUP8:=MA((GUP1*0.55+GUP2*0.55+GUP3*0.65+GUP4*1.25+GUP5*1.23+GUP6*1.2)/6,17);
GUP9:=MA((GUP1*0.68+GUP2*0.68+GUP3*0.68+GUP4*1.3+GUP5*1.3+GUP6*1.3)/6,17);
GUP10:=MA((GUP7*3+GUP8*2+GUP9)/6*1.738,17);
GUP11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
GUP12:=MA(IF(C*1.35<=GUP10,GUP11*10,GUP11/10),3);
GUPH:=HHV(GUP12,30);
GUA:=MA(IF(L<=LLV(L,42),(GUPH+GUP11*2)/3,0),3)/200,COLORWHITE;
GUB:=IF(GUA>100,100,GUA),COLORWHITE;
DRAWTEXT(CROSS(10,GUA) AND GUA<REF(GUA,1),0,'金底'),COLORRED;
DRAWTEXT(CROSS(37,GUA) AND GUA<REF(GUA,1),30,'快马'),COLORMAGENTA;
A:0,COLORGRAY;
GUCA:100*(CLOSE-MA(CLOSE,6)),COLORGREEN;
GUDA:EMA(GUCA,20),COLORWHITE;
GUCS:=REF(GUCA,1)>REF(GUCA,2) AND REF(GUCA,1)>GUCA AND GUCA>GUDA;
GUCB:=REF(GUCA,1)<REF(GUCA,2) AND REF(GUCA,1)<GUCA AND GUCA<GUDA;
DRAWTEXT(GUCS,GUCA,'回撤'),COLORCYAN;
DRAWTEXT(GUCB,GUCA,'反弹'),COLORMAGENTA;
选股公式源码
{选股公式一:金底}
GUP1:=MA(HHV(H,500),13);
GUP2:=MA(HHV(H,250),13);
GUP3:=MA(HHV(H,89),13);
GUP4:=MA(LLV(L,500),13);
GUP5:=MA(LLV(L,250),13);
GUP6:=MA(LLV(L,89),13);
GUP7:=MA((GUP1*0.558+GUP2*0.558+GUP3*0.558+GUP4*0.96+GUP5*0.96+GUP6*0.96)/6,17);
GUP8:=MA((GUP1*0.55+GUP2*0.55+GUP3*0.65+GUP4*1.25+GUP5*1.23+GUP6*1.2)/6,17);
GUP9:=MA((GUP1*0.68+GUP2*0.68+GUP3*0.68+GUP4*1.3+GUP5*1.3+GUP6*1.3)/6,17);
GUP10:=MA((GUP7*3+GUP8*2+GUP9)/6*1.738,17);
GUP11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
GUP12:=MA(IF(C*1.35<=GUP10,GUP11*10,GUP11/10),3);
GUPH:=HHV(GUP12,30);
GUA:=MA(IF(L<=LLV(L,42),(GUPH+GUP11*2)/3,0),3)/200,COLORWHITE;
金底:CROSS(10,GUA) AND GUA<REF(GUA,1);
{选股公式二:反弹}
GUCA:=100*(CLOSE-MA(CLOSE,6)),COLORGREEN;
GUDA:=EMA(GUCA,20),COLORWHITE;
GUCB:=REF(GUCA,1)<REF(GUCA,2) AND REF(GUCA,1)<GUCA AND GUCA<GUDA;
反弹:GUCB;
{选股公式三:快马}
GUP1:=MA(HHV(H,500),13);
GUP2:=MA(HHV(H,250),13);
GUP3:=MA(HHV(H,89),13);
GUP4:=MA(LLV(L,500),13);
GUP5:=MA(LLV(L,250),13);
GUP6:=MA(LLV(L,89),13);
GUP7:=MA((GUP1*0.558+GUP2*0.558+GUP3*0.558+GUP4*0.96+GUP5*0.96+GUP6*0.96)/6,17);
GUP8:=MA((GUP1*0.55+GUP2*0.55+GUP3*0.65+GUP4*1.25+GUP5*1.23+GUP6*1.2)/6,17);
GUP9:=MA((GUP1*0.68+GUP2*0.68+GUP3*0.68+GUP4*1.3+GUP5*1.3+GUP6*1.3)/6,17);
GUP10:=MA((GUP7*3+GUP8*2+GUP9)/6*1.738,17);
GUP11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
GUP12:=MA(IF(C*1.35<=GUP10,GUP11*10,GUP11/10),3);
GUPH:=HHV(GUP12,30);
GUA:=MA(IF(L<=LLV(L,42),(GUPH+GUP11*2)/3,0),3)/200,COLORWHITE;
快马:CROSS(37,GUA) AND GUA<REF(GUA,1);
|