副图公式源码支持 手机/电脑
GUP1:=EMA((C-REF(C,1))/REF(C,3),10)*100;
GUP2:=EMA(EMA(EMA(EMA(GUP1,2),2),2),3);
GUP3:=(C-MA(C,26))/MA(C,26)*100;
GUP4:=1;
黄金大坑:IF(MA((C-MA(C,28))/MA(C,28),3)*100<-15,MA((C-MA(C,28))/MA(C,28),3)*100,0)*GUP4,LINETHICK1,COLORYELLOW;
GUP5:=IF(MA((C-MA(C,28))/MA(C,28),3)*100>0 AND MA(C,5)>MA(C,10) AND GUP3>EMA(MA((C-MA(C,28))/MA(C,28),3)*100,5) AND GUP2>REF(GUP2,1),MA((C-MA(C,28))/MA(C,28),3)*100,0)*GUP4;
持股阶段MA((C-MA(C,28))/MA(C,28),3)*100>0 AND MA(C,5)>MA(C,10) AND GUP3>EMA(MA((C-MA(C,28))/MA(C,28),3)*100,5) AND DYNAINFO(17)>0)*GUP5*GUP4,LINETHICK1,COLORRED;
VARD1:=MA((C-MA(C,28))/MA(C,28),3)*100;
GUP6:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
GUP7:=GUP6+3*STD(GUP6,10);
GUP8:=MA(C,26)+2*STD(C,26);
DRAWTEXT(V>0 AND C>=O AND BARSLASTCOUNT(GUP5>0)=1 AND GUP2>REF(GUP2,1),-1,'买'),COLORYELLOW;
GUP9:=(V>0 AND GUP5>0 AND GUP2>REF(GUP2,1))*EMA(GUP5,5),COLOR005999;
STICKLINE(GUP9,GUP9,0,2,0),COLORRED;
卖出V>0 AND CROSS(0.5,持股阶段))*REVERSE(MA((C-MA(C,28))/MA(C,28),3)*100)*GUP4,COLORGREEN;
STICKLINE(卖出,卖出,0,2,0),COLOR00FF00;
0,LINETHICK1;
选股公式源码
{选股公式:买}
GUP1:=EMA((C-REF(C,1))/REF(C,3),10)*100;
GUP2:=EMA(EMA(EMA(EMA(GUP1,2),2),2),3);
GUP3:=(C-MA(C,26))/MA(C,26)*100;
GUP4:=1;
GUP5:=IF(MA((C-MA(C,28))/MA(C,28),3)*100>0 AND MA(C,5)>MA(C,10) AND GUP3>EMA(MA((C-MA(C,28))/MA(C,28),3)*100,5) AND GUP2>REF(GUP2,1),MA((C-MA(C,28))/MA(C,28),3)*100,0)*GUP4;
买:V>0 AND C>=O AND BARSLASTCOUNT(GUP5>0)=1 AND GUP2>REF(GUP2,1);
{卖出公式:卖出}
GUP1:=EMA((C-REF(C,1))/REF(C,3),10)*100;
GUP2:=EMA(EMA(EMA(EMA(GUP1,2),2),2),3);
GUP3:=(C-MA(C,26))/MA(C,26)*100;
GUP4:=1;
GUP5:=IF(MA((C-MA(C,28))/MA(C,28),3)*100>0 AND MA(C,5)>MA(C,10) AND GUP3>EMA(MA((C-MA(C,28))/MA(C,28),3)*100,5) AND GUP2>REF(GUP2,1),MA((C-MA(C,28))/MA(C,28),3)*100,0)*GUP4;
持股阶段:=(MA((C-MA(C,28))/MA(C,28),3)*100>0 AND MA(C,5)>MA(C,10) AND GUP3>EMA(MA((C-MA(C,28))/MA(C,28),3)*100,5) AND DYNAINFO(17)>0)*GUP5*GUP4,LINETHICK1,COLORRED;
卖出V>0 AND CROSS(0.5,持股阶段))*REVERSE(MA((C-MA(C,28))/MA(C,28),3)*100)*GUP4,COLORGREEN; |