副图公式源码支持 手机/电脑
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);
准备:MA(IF(L<=LLV(L,42),(GUPH+GUP11*2)/3,0),3)/200;
DRAWBAND(准备,RGB(255,255,50),0.00001,RGB(0,100,50));
STICKLINE(CROSS(3.8,准备) AND 准备<REF(准备,1),0,3.8,1,0),COLORFF00FF;
STICKLINE(CROSS(10,准备) AND 准备<REF(准备,1),0,10,2,0),COLORRED;
STICKLINE(CROSS(62,准备) AND 准备<REF(准备,1),0,18,4,0),COLORRED;
DRAWTEXT(CROSS(38,准备) AND 准备<REF(准备,1),18,'--买进'),COLORRED;
JS:=LAST(准备>0.618,3,1) AND (COUNT(CROSS(0.618,准备) OR CROSS(62,准备),21)>=2);
STICKLINE(FILTER(JS,13),15,0,4,0),COLORRED;
DRAWTEXT(FILTER(JS,13),15,'--买入'),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);
准备:=MA(IF(L<=LLV(L,42),(GUPH+GUP11*2)/3,0),3)/200;
JS:=LAST(准备>0.618,3,1) AND (COUNT(CROSS(0.618,准备) OR CROSS(62,准备),21)>=2);
买入:FILTER(JS,13);
{选股公式二:买进}
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);
准备:=MA(IF(L<=LLV(L,42),(GUPH+GUP11*2)/3,0),3)/200;
买进:CROSS(38,准备) AND 准备<REF(准备,1); |