做下公式中ST上穿UP的选股及预警
-
相关简介:编写要求: www.guhai.com.cn 股海网解答: 网友求助: N:=18; 均价:=(2*C+(H-L)/2+L+o)/4; 价差:=SUM(均价-REF(均价,1),3)/3; 实价:=(均价+价差); bov:=SUM(IF(实价均价,VOL,IF(实价均价,-VOL,0)),0); ST:bov/ma(ma(MA(bov,8),8),8)*100,COLORWHITE; M5:ema(ST,4),COLORAAAA00; MM:=EMA(ST,64),COLORCYAN; I0
-
文章来源:股海网作者:股海网发布时间:2019-03-18浏览次数:
编写要求:
www.guhai.com.cn股海网解答:
网友求助:
N:=18;
均价:=(2*C+(H-L)/2+L+o)/4;
价差:=SUM(均价-REF(均价,1),3)/3;
实价:=(均价+价差);
bov:=SUM(IF(实价>均价,VOL,IF(实价<均价,-VOL,0)),0);
ST:bov/ma(ma(MA(bov,8),8),8)*100,COLORWHITE;
M5:ema(ST,4),COLORAAAA00;
MM:=EMA(ST,64),COLORCYAN;
I0:=(Ema(MM,3)+Ema(MM,6)+EMA(MM,12)+EMA(MM,24))/4;
i1:=REF(i0,1);
生命线:(I0+I1)/2,COLORRED,LINETHICK;
STICKLINE(i0<i1,i1,i0,10,0),COLOR00bb00;
STICKLINE(I0>=I1,I1,I0,10,0),COLORRED;
均价:=(2*C+(H-L)/2+L+o)/4;
价差:=SUM(均价-REF(均价,1),3)/3;
实价:=(均价+价差);
bov:=SUM(IF(实价>均价,VOL,IF(实价<均价,-VOL,0)),0);
ST:bov/ma(ma(MA(bov,8),8),8)*100,COLORWHITE;
M5:ema(ST,4),COLORAAAA00;
MM:=EMA(ST,64),COLORCYAN;
I0:=(Ema(MM,3)+Ema(MM,6)+EMA(MM,12)+EMA(MM,24))/4;
i1:=REF(i0,1);
生命线:(I0+I1)/2,COLORRED,LINETHICK;
STICKLINE(i0<i1,i1,i0,10,0),COLOR00bb00;
STICKLINE(I0>=I1,I1,I0,10,0),COLORRED;
MID:MA(ST,n),COLORYELLOW;
UP:MID+2*STD(ST,n),COLORRED;
DN:MID-2*STD(ST,n),COLORRED;
STICKLINE(C>0,100,100,5,0),COLORGRAY;
解答如下:
N:=18;
均价:=(2*C+(H-L)/2+L+O)/4;
价差:=SUM(均价-REF(均价,1),3)/3;
实价:=(均价+价差);
BOV:=SUM(IF(实价>均价,VOL,IF(实价<均价,-VOL,0)),0);
ST:=BOV/MA(MA(MA(BOV,8),8),8)*100;
MID:=MA(ST,N);
UP:=MID+2*STD(ST,N);
CROSS(ST,UP);
均价:=(2*C+(H-L)/2+L+O)/4;
价差:=SUM(均价-REF(均价,1),3)/3;
实价:=(均价+价差);
BOV:=SUM(IF(实价>均价,VOL,IF(实价<均价,-VOL,0)),0);
ST:=BOV/MA(MA(MA(BOV,8),8),8)*100;
MID:=MA(ST,N);
UP:=MID+2*STD(ST,N);
CROSS(ST,UP);
上一篇:把黑马公式中的“黑马”做个选股公式
下一篇:成交量的公式