副图公式源码支持 手机/电脑
GUP1:=AMOUNT/V/100;
GUP2:=EMA((((GUP1-EMA(GUP1,13))/EMA(GUP1,13))*(0-100)),5);
GUP3:=EMA(((GUP2/10)+EMA(GUP1,13)),0);
GUP4:=MA(GUP1,1);
GUP5:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
操盘:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK4;
持股:IF(GUP5>=操盘,操盘,DRAWNULL),COLORRED,LINETHICK2;
持币:IF(GUP5<操盘,操盘,DRAWNULL),COLORCYAN,LINETHICK2;
量价:EMA(CLOSE,5),LINETHICK2,COLORYELLOW;
多头:IF(量价>REF(量价,1),量价,DRAWNULL),COLORRED,LINETHICK2;
空头:IF(量价<REF(量价,1),量价,DRAWNULL),COLORGREEN,LINETHICK2;
GUP6:=(EMA(H,1)+EMA(L,1)+EMA(H,1)+EMA(H,1))/4;
GUP7:=EMA(REF(HHV(H,25),1),2),COLORGREEN,LINETHICK1;
DRAWTEXT(CROSS(GUP6,操盘),操盘-0.5,'★买'),COLORRED;
GUP8:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);
STICKLINE(GUP8,O,C,3,0),COLORYELLOW;
GUP9:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(GUP9<-9.9,O,C,3,0),COLORGREEN;
GUP10:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
GUP11:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
DRAWTEXT(CROSS(GUP10-GUP11,0),L*0.98,'进'),COLORYELLOW;
GUP12:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
DRAWTEXT(CROSS(84,GUP12),H*1.02,'卖'),COLORGREEN;
选股公式源码
{选股公式一:买}
GUP1:=AMOUNT/V/100;
GUP2:=EMA((((GUP1-EMA(GUP1,13))/EMA(GUP1,13))*(0-100)),5);
GUP3:=EMA(((GUP2/10)+EMA(GUP1,13)),0);
GUP4:=MA(GUP1,1);
GUP5:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
操盘:=EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK4;
GUP6:=(EMA(H,1)+EMA(L,1)+EMA(H,1)+EMA(H,1))/4;
买:CROSS(GUP6,操盘);
{选股公式二:进}
GUP1:=AMOUNT/V/100;
GUP2:=EMA((((GUP1-EMA(GUP1,13))/EMA(GUP1,13))*(0-100)),5);
GUP3:=EMA(((GUP2/10)+EMA(GUP1,13)),0);
GUP4:=MA(GUP1,1);
GUP5:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
GUP10:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
GUP11:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
进:CROSS(GUP10-GUP11,0); |