副图公式源码 :支持手机/电脑
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);
抄底线1: EMA(IF(LOW<=GUPE,(GUPD+GUPF*2)/2,0),3)/618*GUP10, COLORRED;
抄底线2:EMA(IF(LOW<=GUPE,(GUPD+GUPF*2)/2,0),3)/-618*GUP10, COLORYELLOW;
GUP1J:=3;
GUP2J:=((3 * SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));
买底:=IF(CROSS(GUP2J,GUP1J),1,0),COLORFFFFFF;
STICKLINE(买底,0,10,2,0),COLORFFFFFF;
选股公式源码
{选股公式:白柱}
GUP1J:=3;
GUP2J:=((3 * SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));
买底:=IF(CROSS(GUP2J,GUP1J),1,0),COLORFFFFFF;
STICKLINE(买底,0,10,2,0),COLORFFFFFF; |