副图公式源码 :支持手机/电脑
GUV1:=BARSCOUNT(CLOSE)*3.142/180;
GUA2:SIN(GUV1*8)*100;
GUA3:COS(GUV1*8)*100;
X1:0;
GUP1:=MA(CLOSE,5);
GUP2:=MA(CLOSE,10);
GUP3:=MA(CLOSE,20);
GUP4:=MA(CLOSE,30);
GUP5:=(GUP1+GUP2+GUP3+GUP4)/4;
GUP6:=(GUP5-REF(GUP5,5))/REF(GUP5,5)*1500;
GUP7:=(GUP5-REF(GUP5,5))/REF(GUP5,5)*1500;
GUP8:=EMA(GUP6,8);
底部:STICKLINE(GUP6>REF(GUP6,1) AND GUP6<0 AND GUP6<GUP8,GUP6,0,1,0),COLORFF00FF;
转强:STICKLINE(GUP8>REF(GUP8,1) AND GUP6<0 AND GUP6>GUP8,GUP8,0,1,0),coloryellow;
买点:STICKLINE(GUP6>REF(GUP6,1) AND GUP6>0 AND GUP8<0,GUP6,GUP8,4,0),COLOR0099FF;
DRAWICON(FILTER(GUP6>REF(GUP6,1) AND GUP6>0 AND GUP8<0,30),-140,4);
DRAWTEXT(FILTER(GUP6>REF(GUP6,1) AND GUP6>0 AND GUP8<0,30),-40,'->开心买入'),colorred;
持股:STICKLINE(GUP8>REF(GUP8,1) AND GUP8>0,GUP6,0,1,0),colorred;
观望:STICKLINE(GUP6<REF(GUP6,1) AND GUP8>REF(GUP8,1) AND GUP6>0,GUP6,GUP8,1,0),COLOR00FF00;
持币:STICKLINE(GUP6<REF(GUP6,1) AND GUP6<GUP8,GUP6,GUP8,1,1),COLORFFCC66;
选股公式源码
{选股公式:开心买入}
GUP1:=MA(CLOSE,5);
GUP2:=MA(CLOSE,10);
GUP3:=MA(CLOSE,20);
GUP4:=MA(CLOSE,30);
GUP5:=(GUP1+GUP2+GUP3+GUP4)/4;
GUP6:=(GUP5-REF(GUP5,5))/REF(GUP5,5)*1500;
GUP7:=(GUP5-REF(GUP5,5))/REF(GUP5,5)*1500;
GUP8:=EMA(GUP6,8);
开心买入:FILTER(GUP6>REF(GUP6,1) AND GUP6>0 AND GUP8<0,30);
|