请高手把下面的通达信指标改写成短底和大底 买入准备的选股公式

2024-11-08 00:08:59
推荐回答(5个)
回答1:

通信达买入准备公式如下,请参考:

1、公式源码如下:

V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
BB:(趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10);

可以将上面三个公式合并成一个

VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
准备选:=FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18);
大底:=VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5);
短底:=FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18);
选:准备选+大底+短底>0;{只要有一个条件出现,就选出来}

2、公式效果如图:

回答2:

VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
准备选:FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18);
-------------------------------------------------------

VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
大底:VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5);

--------------------------------------------------
VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
短底:FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18);

==========================================================
可以将上面三个公式合并成一个

VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
准备选:=FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18);
大底:=VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5);
短底:=FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18);
选:准备选+大底+短底>0;{只要有一个条件出现,就选出来}

---------------------------------------------------
哦,原来短底和买入准备是一个条件
那就改成如下的

VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
大底:=VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5);
短底:=FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18);
选:大底+短底>0;{只要有一个条件出现,就选出来}

回答3:

才5分。。汗~~多给点分哈,呵呵!

VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
短底:STICKLINE(VAR1<-9 AND VAR1> REF(VAR1,1),VAR1-2,0,3,0),COLORRED;
大底:STICKLINE(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),VAR1-5,0,7,0),COLORYELLOW;
买入准备:VAR1<-9 AND VAR1>REF(VAR1,1),COLORWHITE;
DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),VAR1-2,'短底'),,COLOR0000FF;
DRAWTEXT(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),VAR1-5,'大底'),;
DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),1,'买入准备');

回答4:

公式呢.....???

回答5:

不懂 期待高手解答!