副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=MA(HHV(G4,485),17);
GUP2:=MA(HHV(G4,222),17);
GUP3:=MA(HHV(G4,96),17);
GUP4:=MA(LLV(G2,485),17);
GUP5:=MA(LLV(G2,222),17);
GUP6:=MA(LLV(G2,96),17);
GUP7:=MA((GUP4*0.96+GUP5*0.96+GUP6*0.96+GUP1*0.558+GUP2*0.558+GUP3*0.558)/6,17);
GUP8:=MA((GUP4*1.25+GUP5*1.23+GUP6*1.2+GUP1*0.55+GUP2*0.55+GUP3*0.65)/6,17);
GUP9:=MA((GUP4*1.3+GUP5*1.3+GUP6*1.3+GUP1*0.68+GUP2*0.68+GUP3*0.68)/6,17);
GUP10:=MA((GUP7*3+GUP8*2+GUP9)/6*1.738,17);
GUP11:=GUP10;
GUP12:=G2;
GUP13:=REF(G2,1);
GUP14:=SMA(ABS(GUP12-GUP13),3,1)/SMA(MAX(GUP12-GUP13,0),3,1)*100;
GUP15:=MA(IF(G1*1.35<=GUP11,GUP14*10,GUP14/10),3);
GUP16:=LLV(G2,30);
GUP17:=HHV(GUP15,30);
GUP18:=1990831;
GUP19:=MA(IF(G2<=GUP16,(GUP15+GUP17*2)/2,0),3);
GUP20:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*100;
GUP21:=SMA(GUP20,3,1);
GUP22:=SMA(GUP21,3,1);
GUP23:=3*GUP21-2*GUP22;
GUP24:=IF(GUP23>=100,100,IF(GUP23<=0,0,GUP23));
GUP25:=GUP19>10000;
GUP26:=(HHV(G4,17))-(LLV(G2,17));
GUP27:=STD(G1,10);
GUP28:=HHV(G4,50);
GUP29:=LLV(G2,27);
GUP30:=HHV(G4,17);
GUP31:=LLV(G2,17);
GUP32:=(GUP24=0);
GUP33:=GUP19>30000;
GUP34:=GUP19>20000;
GUP35:=(G1-GUP29);
GUP36:=100-((100*((GUP30)-G1))/((HHV(G4,17))-(GUP31)));
GUP37:=100-(MA(((100*((HHV(G4,17))-G1))/(GUP26)),4));
GUP40:=MA(GUP37,1);
GUP41:=3*SMA(GUP35/(HHV(G4,27)-LLV(G2,27))*100,5,1)-2*SMA(SMA((G1-LLV(G2,27))/(HHV(G4,27)-LLV(G2,27))*100,5,1),3,1);
GUA1:=IF(GUP25 AND GUP34,2,0)*9;
GUA2:=IF(GUP33,3,0)*5;
逃顶:IF(GUP32,95,101),COLORGREEN;
GUA3:=IF(GUP41<5,25,0);
短线:IF((GUP36<GUP40),GUP40,GUP36),COLORRED,LINETHICK2;
趋势线
GUP40),COLORCYAN,LINETHICK2;
DRAWICON(GUA3 AND GUA1 AND GUA2 AND 短线>趋势线 AND NOT(REF(短线>趋势线,1)),10,25);
选股公式源码
{选股公式}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=MA(HHV(G4,485),17);
GUP2:=MA(HHV(G4,222),17);
GUP3:=MA(HHV(G4,96),17);
GUP4:=MA(LLV(G2,485),17);
GUP5:=MA(LLV(G2,222),17);
GUP6:=MA(LLV(G2,96),17);
GUP7:=MA((GUP4*0.96+GUP5*0.96+GUP6*0.96+GUP1*0.558+GUP2*0.558+GUP3*0.558)/6,17);
GUP8:=MA((GUP4*1.25+GUP5*1.23+GUP6*1.2+GUP1*0.55+GUP2*0.55+GUP3*0.65)/6,17);
GUP9:=MA((GUP4*1.3+GUP5*1.3+GUP6*1.3+GUP1*0.68+GUP2*0.68+GUP3*0.68)/6,17);
GUP10:=MA((GUP7*3+GUP8*2+GUP9)/6*1.738,17);
GUP11:=GUP10;
GUP12:=G2;
GUP13:=REF(G2,1);
GUP14:=SMA(ABS(GUP12-GUP13),3,1)/SMA(MAX(GUP12-GUP13,0),3,1)*100;
GUP15:=MA(IF(G1*1.35<=GUP11,GUP14*10,GUP14/10),3);
GUP16:=LLV(G2,30);
GUP17:=HHV(GUP15,30);
GUP18:=1990831;
GUP19:=MA(IF(G2<=GUP16,(GUP15+GUP17*2)/2,0),3);
GUP20:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*100;
GUP21:=SMA(GUP20,3,1);
GUP22:=SMA(GUP21,3,1);
GUP23:=3*GUP21-2*GUP22;
GUP24:=IF(GUP23>=100,100,IF(GUP23<=0,0,GUP23));
GUP25:=GUP19>10000;
GUP26:=(HHV(G4,17))-(LLV(G2,17));
GUP27:=STD(G1,10);
GUP28:=HHV(G4,50);
GUP29:=LLV(G2,27);
GUP30:=HHV(G4,17);
GUP31:=LLV(G2,17);
GUP32:=(GUP24=0);
GUP33:=GUP19>30000;
GUP34:=GUP19>20000;
GUP35:=(G1-GUP29);
GUP36:=100-((100*((GUP30)-G1))/((HHV(G4,17))-(GUP31)));
GUP37:=100-(MA(((100*((HHV(G4,17))-G1))/(GUP26)),4));
GUP40:=MA(GUP37,1);
GUP41:=3*SMA(GUP35/(HHV(G4,27)-LLV(G2,27))*100,5,1)-2*SMA(SMA((G1-LLV(G2,27))/(HHV(G4,27)-LLV(G2,27))*100,5,1),3,1);
GUA1:=IF(GUP25 AND GUP34,2,0)*9;
GUA2:=IF(GUP33,3,0)*5;
GUA3:=IF(GUP41<5,25,0);
短线:=IF((GUP36<GUP40),GUP40,GUP36),COLORRED,LINETHICK2;
趋势线:=(GUP40),COLORCYAN,LINETHICK2;
XG:GUA3 AND GUA1 AND GUA2 AND 短线>趋势线 AND NOT(REF(短线>趋势线,1)); |