MA5:EMA(C,5),COLORWHITE;
工作线:EMA(C,14),COLORF00FF0,LINETHICK1;
二号线:EMA(C,25),COLOR00FF00,LINETHICK1;
九号线:EMA(CLOSE,99),LINETHICK1;
MA120:EMA(CLOSE,120),LINETHICK1;
生命线:EMA(CLOSE,453),LINETHICK1,COLORRED;
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:= EMA(VAR1,13)-EMA(VAR1,73);
SD:= EMA(SK,2);
DRAWTEXT((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) ,L*0.99,'短线'),COLORRED;
STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),H,L,0.5,0),COLORRED;
STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),O,C,10,1),LINETHICK3,COLORRED;
有个通达信主图,请高手根据这个搞一个选股公式。出现“短线”选股,要副图,提示等于1的那种。
答案:5 悬赏:30 手机版
解决时间 2021-02-14 16:27
- 提问者网友:欲望失宠
- 2021-02-14 06:27
最佳答案
- 五星知识达人网友:污到你湿
- 2021-02-14 07:01
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:=EMA(VAR1,13)-EMA(VAR1,73);
SD:=EMA(SK,2);
(CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035));
{已测试,复制可直接引用,如果回答满意,请记得给采纳}
SK:=EMA(VAR1,13)-EMA(VAR1,73);
SD:=EMA(SK,2);
(CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035));
{已测试,复制可直接引用,如果回答满意,请记得给采纳}
全部回答
- 1楼网友:你哪知我潦倒为你
- 2021-02-14 10:17
这个好像是从“庄家克星”指标变化来的,找相关文章看看。
你的这组公式,当SK在零下上穿SD金叉时是买入信号,其他如上涨3%或放倍量等条件可根据情况判断。我导入你的公式看了看全部是抢反弹信号,个人觉得不妥。观察了一下当SD不创新低二次金叉时信号才比较可靠。我做了个简单的副图指标,你看看。有问题追问,能答则答,答不了我们共同学习。
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:EMA(VAR1,13)-EMA(VAR1,73);
SD:EMA(SK,2);
- 2楼网友:过活
- 2021-02-14 09:09
MA5:EMA(C,5),COLORWHITE;
工作线:EMA(C,14),COLORF00FF0,LINETHICK1;
二号线:EMA(C,25),COLOR00FF00,LINETHICK1;
九号线:EMA(CLOSE,99),LINETHICK1;
MA120:EMA(CLOSE,120),LINETHICK1;
生命线:EMA(CLOSE,453),LINETHICK1,COLORRED;
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:= EMA(VAR1,13)-EMA(VAR1,73);
SD:= EMA(SK,2);
DRAWTEXT((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) ,L*0.99,'短线'),COLORRED;
STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),H,L,0.5,0),COLORRED;
STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),O,C,10,1),LINETHICK3,COLORRED;
短线:IF((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),C,DRAWNULL),COLORRED;
{如果根据你的要求出现短线=1,这样会将图形压偏,我帮你改成了出现"短线"时短线显示收盘价,不出现时不显示数据,这样不影响整体效果,测试通过了,如果满意请给予采纳如有其它要求请追问.}
- 3楼网友:零点过十分
- 2021-02-14 08:35
(1)短牛
N1:=5;N2:=10;
LC:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*10;
RSI10:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*10;
VAR1:=C-REF(C,1);
VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5)) 1),LLV(L,BARSLAST(CROSS
(MA13,MA5)) 1),H=HHV(H,BARSLAST(CROSS(MA5,MA13)) 1),HHV(H,BARSLAST(CROSS
(MA5,MA13)) 1),0) ;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13)) 1),HHV(H,BARSLAST(CROSS
(MA5,MA13)) 1),L=LLV(L,BARSLAST(CROSS(MA13,MA5)) 1),LLV(L,BARSLAST(CROSS
(MA13,MA5)) 1),0) ;
短牛:(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2
- 4楼网友:千杯敬自由
- 2021-02-14 07:18
aa10:=ma(c,9);
bb10:=atan((aa10-ref(aa10,1)))*180/3.1416;
va1:=llv(low,34);
va2:=hhv(high,30);
va3:=ref(close,1);
va4:=ema((close-va1)/(va2-va1),3)*100;
主力:=sma(max(close-va3,0),7,1)/sma(abs(close-va3),7,1)*100,colorred;
散户:=va4;
var5:=(va4-llv(va4,21))/(hhv(va4,21)-llv(va4,21))*100;
vy:=sma((close-llv(low,18))/(hhv(high,18)-llv(low,18))*100,5,1);
l2:=sma(0.618*ref(vy,1)+0.382*vy,3,1), colorff9900;
l3:=ma(l2,5);
超买超卖:=ma(l2,5),linethick3;
(l2>l3 and bb10>=1 and aa10>=ref(aa10,1))and (cross(l2,l3) or cross(aa10,ref(aa10,1)));
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯