大智慧“分笔成交再现”高级应用:判断多头主动性买入成交或空头主动性卖出成交(图解)

拾荒网 Level2 3.9K+
1.请帮忙设计一个股票公式我想知道11点半以前围绕均线窄幅震荡的个股进入我的股票池并提醒我?

答:TODAYBARS:=barscount(close);

分时均线:=if(sum(amount,todaybars)/sum(vol,todaybars)>0,sum(amount,todaybars)/sum(vol,todaybars)/100;

last(abs(close-分时均线)/分时均线)>120;{十一点半运行,分时周期}

2.在分时当中,(1)无论上证走势如何个股呈横盘振荡,白色线在黄色线上方运行,持续时间>30分钟而振幅<1%;(2)这个公式加入 30分钟净流入量>200万;请老师赐教。

答:var1:=barscount(close);

fsjx:=sum(amount,var1)/sum(vol,var1)/100;

hhv(high,30)/llv(low,30)<1.01 and last(close>=fsjx)>=30 and var1>30

and (sum(if(close>ref(close,1),vol,0),30)-sum(if(close20000;{用于分时选股}

3.请编写如下条件的选股程序:总资产、固定资产、主营业务收入、主营利润净利润等增长率大于n选股程序。

答:

input:N(1,1,300,1);

PFFIN(1607,0)>N/100;

PFFIN(1608,0)>N/100;

PFFIN(1601,0)>N/100;

PFFIN(1602,0)>N/100;

PFFIN(1604,0)>N/100;

4.销售收入,净利润,毛利率,现金流量净额 最近连续3年保持连续增长的选股公式

答:

setpffin(00001);

pffin(1251,0)>pffin(1251,1) and pffin(1251,1)>pffin(1251,2) and pffin(1251,2)>pffin(1251,3);{销售收入}

pffin(1273,0)>pffin(1273,1) and pffin(1273,1)>pffin(1273,2) and pffin(1273,2)>pffin(1273,3);{净利润}

pffin(1659,0)>pffin(1659,1) and pffin(1659,1)>pffin(1659,2) and pffin(1659,2)>pffin(1659,3);{毛利率}

pffin(1756,0)>pffin(1756,1) and pffin(1756,1)>pffin(1756,2) and pffin(1756,2)>pffin(1756,3);{现金净流量}

5.在分时当中,(1)无论上证走势如何个股呈横盘振荡,白色线在黄色线上方运行,持续时间>15分钟或>120分钟而振幅<1%,DDX>0

答:var1:=barscount(close);

fsjx:=sum(amount,var1)/sum(vol,var1)/100;

hhv(high,120)/llv(low,120)<1.01 and last(close>=fsjx)>=120 and var1>120;

{用于分时选股};

6。分时图中,分时走势在均线正负1%之间,均线慢慢上升,斜度在45度以内的个股

答:TODAYBARS:=barscount(close);

分时均线:=if(sum(amount,todaybars)/sum(vol,todaybars)>0,sum(amount,todaybars)/sum(vol,todaybars)/100,dynainfo(4));

last(abs(close-分时均线)/分时均线<0.01)=TODAYBARS and betwent(slope(分时均线,TODAYBARS),0,1);

7.倒K线主图公式

input:a(5,1,120),b(10,1,180),cc(20,1,360),d(40,1,720);

MA1:MA(-CLOSE,a);

MA2:MA(-CLOSE,b);

MA3:MA(-CLOSE,cc);

MA4:MA(-CLOSE,d);

STICKLINE(-CLOSE>-OPEN,-OPEN,-CLOSE,3,0), COLORRED;

STICKLINE(-CLOSE<-OPEN,-OPEN,-CLOSE,3,0), COLORCYAN;

STICKLINE(-CLOSE=-OPEN,-OPEN,-CLOSE,3,0), COLORWHITE;

STICKLINE(-C>-O ,-C ,-H ,0 ,0 ),COLORRED;

STICKLINE(-C>-O ,-O ,-L ,0 ,0 ),COLORRED;

STICKLINE(-C<-O ,-O ,-H ,0 ,0 ),COLORCYAN;

STICKLINE(-C<-O ,-C ,-L ,0 ,0 ),COLORCYAN;

STICKLINE(-C=-O ,-C ,-L ,0 ,0),COLORWHITE;

STICKLINE(-C=-O ,-O ,-H ,0 ,0 ),COLORWHITE;

标签: 分笔成交