副图公式 源码支持手机/电脑
GUP1:=EMA(HHV(HIGH,500),21);
GUP2:=EMA(HHV(HIGH,250),21);
GUP3:=EMA(HHV(HIGH,90),21);
GUP4:=EMA(LLV(LOW,500),21);
GUP5:=EMA(LLV(LOW,250),21);
GUP6:=EMA(LLV(LOW,90),21);
GUP7:=EMA((GUP4*0.96+GUP5*0.96+GUP6*0.96+GUP1*0.558+GUP2*0.558+GUP3*0.558)/6,21);
GUP8:=EMA((GUP4*1.25+GUP5*1.23+GUP6*1.2+GUP1*0.55+GUP2*0.55+GUP3*0.65)/6,21);
GUP9:=EMA((GUP4*1.3+GUP5*1.3+GUP6*1.3+GUP1*0.68+GUP2*0.68+GUP3*0.68)/6,21);
GUPA:=EMA((GUP7*3+GUP8*2+GUP9)/6*1.738,21);
GUPB:=REF(LOW,1);
GUPC:=SMA(ABS(LOW-GUPB),3,1)/SMA(MAX(LOW-GUPB,0),3,1)*100;
GUPD:=EMA(IF(CLOSE*1.35<=GUPA,GUPC*10,GUPC/10),3);
GUPE:=LLV(LOW,30);
GUPF:=HHV(GUPD,30);
GUP10:=IF(MA(CLOSE,58),1,0);
GUP11:=EMA(IF(LOW<=GUPE,(GUPD+GUPF*2)/2,0),3)/618*GUP10;
先准备REF(GUP11,2)<REF(GUP11,1)AND GUP11>REF(GUP11,1))*GUP11,COLORYELLOW,LINETHICK2;
再买入REF(先准备,1)>0 AND 先准备=0)*20,COLORRED,LINETHICK3;
选股公式源码
{选股公式一:先准备}
GUP1:=EMA(HHV(HIGH,500),21);
GUP2:=EMA(HHV(HIGH,250),21);
GUP3:=EMA(HHV(HIGH,90),21);
GUP4:=EMA(LLV(LOW,500),21);
GUP5:=EMA(LLV(LOW,250),21);
GUP6:=EMA(LLV(LOW,90),21);
GUP7:=EMA((GUP4*0.96+GUP5*0.96+GUP6*0.96+GUP1*0.558+GUP2*0.558+GUP3*0.558)/6,21);
GUP8:=EMA((GUP4*1.25+GUP5*1.23+GUP6*1.2+GUP1*0.55+GUP2*0.55+GUP3*0.65)/6,21);
GUP9:=EMA((GUP4*1.3+GUP5*1.3+GUP6*1.3+GUP1*0.68+GUP2*0.68+GUP3*0.68)/6,21);
GUPA:=EMA((GUP7*3+GUP8*2+GUP9)/6*1.738,21);
GUPB:=REF(LOW,1);
GUPC:=SMA(ABS(LOW-GUPB),3,1)/SMA(MAX(LOW-GUPB,0),3,1)*100;
GUPD:=EMA(IF(CLOSE*1.35<=GUPA,GUPC*10,GUPC/10),3);
GUPE:=LLV(LOW,30);
GUPF:=HHV(GUPD,30);
GUP10:=IF(MA(CLOSE,58),1,0);
GUP11:=EMA(IF(LOW<=GUPE,(GUPD+GUPF*2)/2,0),3)/618*GUP10;
先准备REF(GUP11,2)<REF(GUP11,1)AND GUP11>REF(GUP11,1))*GUP11,COLORYELLOW,LINETHICK2;
{选股公式二:再买入}
GUP1:=EMA(HHV(HIGH,500),21);
GUP2:=EMA(HHV(HIGH,250),21);
GUP3:=EMA(HHV(HIGH,90),21);
GUP4:=EMA(LLV(LOW,500),21);
GUP5:=EMA(LLV(LOW,250),21);
GUP6:=EMA(LLV(LOW,90),21);
GUP7:=EMA((GUP4*0.96+GUP5*0.96+GUP6*0.96+GUP1*0.558+GUP2*0.558+GUP3*0.558)/6,21);
GUP8:=EMA((GUP4*1.25+GUP5*1.23+GUP6*1.2+GUP1*0.55+GUP2*0.55+GUP3*0.65)/6,21);
GUP9:=EMA((GUP4*1.3+GUP5*1.3+GUP6*1.3+GUP1*0.68+GUP2*0.68+GUP3*0.68)/6,21);
GUPA:=EMA((GUP7*3+GUP8*2+GUP9)/6*1.738,21);
GUPB:=REF(LOW,1);
GUPC:=SMA(ABS(LOW-GUPB),3,1)/SMA(MAX(LOW-GUPB,0),3,1)*100;
GUPD:=EMA(IF(CLOSE*1.35<=GUPA,GUPC*10,GUPC/10),3);
GUPE:=LLV(LOW,30);
GUPF:=HHV(GUPD,30);
GUP10:=IF(MA(CLOSE,58),1,0);
GUP11:=EMA(IF(LOW<=GUPE,(GUPD+GUPF*2)/2,0),3)/618*GUP10;
先准备:=(REF(GUP11,2)<REF(GUP11,1)AND GUP11>REF(GUP11,1))*GUP11,COLORYELLOW,LINETHICK2;
再买入REF(先准备,1)>0 AND 先准备=0)*20,COLORRED,LINETHICK3; |