更新时间2018-12-01 14:58:54
HH0:=CONST(HHV(H,120))*1;
LL0:=CONST(Llv(L,120))*1;
MM0:=CONST((HH0+LL0)/2);
HH1:=IF(CONST(C)<MM0,LL0-(HH0-LL0)*0.4,LL0-(HH0-LL0)*0.4),COLORRED;
LL1:=LL0;HLMAX:=MAX(HH1,LL1);
HLMIN:=MIN(HH1,LL1);
HLMN1:=(HLMAX+HLMIN)/2;
HLMN2:=(HLMAX-HLMIN);
HLMN3:=HHV(V,250)/2;
HLMN4:=HHV(V,250);
VZ:=(V-HLMN3)*HLMN2/HLMN4+HLMN1;
T:=V=Llv(V,20);
{Á¿ÄÜÏÔʾÕǵøÍ£}
STICKLINE(C/REF(C,1)>1.099,8000*VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,2,0),COLORRED;
STICKLINE(C/REF(C,1)<0.901,8000*VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,2,0),COLORGREEN;
{×ʽðÒì³£¶¯ÄÜÏÔʾ}
VY:=(0-HLMN3)*HLMN2/HLMN4+HLMN1;
VPT:SUM(VOL*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1),0);
STICKLINE(V>=2*REF(V,1) AND VPT>REF(VPT,1),VZ,5000*VY,0.9,0),COLORGREEN;
STICKLINE(V>=3*REF(V,1) AND VPT>REF(VPT,1),VZ,5000*VY,0.5,0),COLOR3300CC;
要求选出红柱绿柱红绿柱都选出!求老师帮忙谢谢了!
HH0:=CONST(HHV(HIGH,120))*1;
LL0:=CONST(LLV(LOW,120))*1;
MM0:=CONST((HH0+LL0)/2);
HH1:=IF(CONST(CLOSE)<MM0,LL0-(HH0-LL0)*0.4,LL0-(HH0-LL0)*0.4);
LL1:=LL0;
HLMAX:=MAX(HH1,LL1);
HLMIN:=MIN(HH1,LL1);
HLMN1:=(HLMAX+HLMIN)/2;
HLMN2:=(HLMAX-HLMIN);
HLMN3:=HHV(VOL,250)/2;
HLMN4:=HHV(VOL,250);
VZ:=(VOL-HLMN3)*HLMN2/HLMN4+HLMN1;
T:=VOL=LLV(VOL,20);
{显示涨跌停柱}
STICKLINE(CLOSE/REF(CLOSE,1)>1.099,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,2,0),COLORRED;
STICKLINE(CLOSE/REF(CLOSE,1)<0.901,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,2,0),COLORGREEN;
{显示异常量能柱}
VY:=(0-HLMN3)*HLMN2/HLMN4+HLMN1;
VPT:SUM(VOL*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1),0),COLORWHITE,NODRAW;
STICKLINE(VOL>=2*REF(VOL,1),VZ,VY,0.9,0),COLORGREEN;
STICKLINE(VOL>=3*REF(VOL,1),VZ,VY,0.6,0),COLORRED;
==========================================
{Á¿ÄÜÏÔʾÕǵøÍ£} 乱码是 {显示涨跌停柱}
{×ʽðÒì³£¶¯ÄÜÏÔʾ} 乱码是 {显示异常量能柱}
==========================================
要求选出红柱 绿柱 红绿柱 都选出!
公式只有4个显示柱:
涨停红柱,跌停绿柱;跟昨天对比放量3倍红柱,放量2倍绿柱。
涨停红柱:CLOSE/REF(CLOSE,1)>1.099;
跌停绿柱:CLOSE/REF(CLOSE,1)<0.901;
动能绿柱:VOL>=2*REF(VOL,1);
动能红柱:VOL>=3*REF(VOL,1);
你这公式有乱码,显示不了的,你先改好乱码再发出来
即使是有选股公式的话,一般也是根据概率来进行选择的。满意请采纳。