副图公式源码支持 手机/电脑
GUP0:=(3*C+H+L+O)/6;
GUP1:=(8*GUP0+7*REF(GUP0,1)+6*REF(GUP0,2)+5*REF(GUP0,3)+4*REF(GUP0,4)+3*REF(GUP0,5)+2*REF(GUP0,6)+REF(GUP0,8))/36,COLORFF7700;
GUP2:=(HHV(GUP1,5)+HHV(GUP1,10)+HHV(GUP1,20))/3;
GUP3:=(LLV(GUP1,5)+LLV(GUP1,10)+LLV(GUP1,20))/3;
GUP4:=(HHV(GUP2,5)+HHV(GUP2,10)+HHV(GUP2,20))/3;
GUP5:=(LLV(GUP3,5)+LLV(GUP3,10)+LLV(GUP3,20))/3;
GUP6:=(LLV(GUP1,2)+LLV(GUP1,4)+LLV(GUP1,6))/3;
长趋势MA(C,188)),COLORGREEN,LINETHICK2;
LC:=REF(CLOSE,1);
RS1:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
启动:IF((RS1>58),长趋势,DRAWNULL),,COLORRED,LINETHICK2;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0),COLOR0000FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;
DRAWBAND(GUP1,RGB(155,50,50),GUP6,RGB(250,250,0));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
短趋势:GUP1,COLORWHITE;
中趋势:GUP6,COLORYELLOW,LINETHICK3;
下跌阶段:IF(GUP1=GUP6,GUP6,DRAWNULL),COLORFF2200,LINETHICK4;
BIAS13:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*100,COLORBLUE,LINETHICK4;
买:=DRAWICON(CROSS(BIAS13,REF(BIAS13,1)),BIAS13,1);
DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买点'),COLORYELLOW;
STICKLINE(买,O,C,2,0),COLOR00FFFF;
选股公式源码
{选股公式:买点}
GUP0:=(3*C+H+L+O)/6;
GUP1:=(8*GUP0+7*REF(GUP0,1)+6*REF(GUP0,2)+5*REF(GUP0,3)+4*REF(GUP0,4)+3*REF(GUP0,5)+2*REF(GUP0,6)+REF(GUP0,8))/36,COLORFF7700;
BIAS13:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*100,COLORBLUE,LINETHICK4;
买:=DRAWICON(CROSS(BIAS13,REF(BIAS13,1)),BIAS13,1);
买点:FILTER(买=1,5); |