A. 通达信指标
李双江:
MA1:=MA(C,5);MA2:=MA(C,10);MA3:=MA(C,20);
MA5:=MA(C,60);MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);MA90:=MA(CLOSE,90);
MA120:=MA(CLOSE,120);MA250:=MA(CLOSE,250);
N1:=9;M11:=3;M22:=3;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:=SMA(RSV,M11,1);D:=SMA(K,M22,1);J:=3*K-2*D;N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
A1:=3*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1)-2*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1);
放牛郎公式:=EMA(A1,5);
A2:=(放牛郎公式-REF(放牛郎公式,1))/REF(放牛郎公式,1)*100+10;
A3:=EMA(C,5);A4:=((C-LLV(L,20))/(HHV(H,20)-LLV(L,20)))*100;
K20:=SMA(A4,6,1);
恨爹不成刚:=MA(2*SMA(A4,6,1)-SMA(SMA(A4,6,1),6,1),3);
怨爸不双江:=IF(恨爹不成刚<REF(恨爹不成刚,1),恨爹不成刚,DRAWNULL);
放牛郎博客:=MA30>MA60 AND MA30>MA90 AND MA30>MA120 AND (C>MA60 OR C>MA90 OR C>MA120);
金牛:=LAST(MA30<MA60 AND MA30<MA90 AND MA30<MA120 AND OPEN<MA30,10,1);
SLY:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3) AND REF(C,3)<REF(C,4)
AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;
SSLY:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3)
AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;
李双江:=IF((A2<-3 OR LLV(K20,5)<10) AND (C=LLV(C,30) OR L=LLV(L,30))
AND C>REF(C,1)*0.905 AND LLV(K20,5)<10 AND (SSLY OR REF(SSLY,1))
AND C<MA(C,30)*0.87 AND C<MA(C,10)*0.93 AND C<MA(C,5)*0.98
AND (J<10 OR REF(J<5,1)) AND 恨爹不成刚<3,0.5,0);
AA:=恨爹不成刚<0 AND C<MA(C,30)*0.85;BB:=恨爹不成刚<2 AND C<MA(C,30)*0.82;
XG:IF(李双江>0,1,0);
李刚:
MA1:=MA(C,5);MA2:=MA(C,10);MA3:=MA(C,20);
MA5:=MA(C,60);MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);MA90:=MA(CLOSE,90);
MA120:=MA(CLOSE,120);MA250:=MA(CLOSE,250);
N1:=9;M11:=3;M22:=3;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:=SMA(RSV,M11,1);D:=SMA(K,M22,1);J:=3*K-2*D;N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
A1:=3*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1)-2*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1);
放牛郎公式:=EMA(A1,5);
A2:=(放牛郎公式-REF(放牛郎公式,1))/REF(放牛郎公式,1)*100+10;
A3:=EMA(C,5);A4:=((C-LLV(L,20))/(HHV(H,20)-LLV(L,20)))*100;
K20:=SMA(A4,6,1);
恨爹不成刚:=MA(2*SMA(A4,6,1)-SMA(SMA(A4,6,1),6,1),3);
怨爸不双江:=IF(恨爹不成刚<REF(恨爹不成刚,1),恨爹不成刚,DRAWNULL);
放牛郎博客:=MA30>MA60 AND MA30>MA90 AND MA30>MA120 AND (C>MA60 OR C>MA90 OR C>MA120);
金牛:=LAST(MA30<MA60 AND MA30<MA90 AND MA30<MA120 AND OPEN<MA30,10,1);
SLY:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3) AND REF(C,3)<REF(C,4)
AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;
SSLY:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3)
AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;
AA:=恨爹不成刚<0 AND C<MA(C,30)*0.85;BB:=恨爹不成刚<2 AND C<MA(C,30)*0.82;
李刚:=IF((AA OR BB) AND C<MA(C,10)*0.93 AND C<MA(C,5)*0.98 AND (J<10 OR REF(J<5,1)),0.5,0);
XG:IF(李刚>0,1,0);
B. 主图指标 金牛判势,指标公式谁能告诉
1、这个指标源码网上有,但指标名称被人改过了;
2、该指标里面计算时有一个关键位置使用了未来函数“XMA”;
3、在未证实使用未来函数之前,我花了两个月去测试这个指标,结果失败了;
4、XMA如下图:
C. 通达信指标公式改写成选股公式,请高手帮忙!
{探针抄买选股}
探针1:=0.01*MA(AMOUNT,13)/MA(VOL,13);
探针2:=(CLOSE-探针1)/探针1*100;
买:"ZXNH.ZXNH"=1 AND 探针2<=-2;
----------------------------------
{探针卖选股}
探针1:=0.01*MA(AMOUNT,13)/MA(VOL,13);
探针2:=(CLOSE-探针1)/探针1*100;
卖:"ZXNH.ZXNH"=1 AND 探针2>2;
-----------------------------------
ZXNH指标在赋值以后就与通达信中特有的DRAWLINE、DCLOSE、XMA等函数类似了,此时信号将发生偏移。这种特性完全就是未来函数!
D. 把下面通达信指标公式改成条件选股公式
可以编写选股公式,但首先要说明选股条件啊,是选买入提示啊,还是选那个金钻起涨,还是选什么其他的条件。还是某几个条件,或者几个条件同时发生。这需要你说明选股条件才好编写啊
E. 用通达信金牛判势指标设置选股为金牛大于金钻趋势,金钻趋势大于金牛2,股价偏离金牛2选股公式选出如图
为什么不把公式源码复制粘贴上来呢?只发截图是没有人会浪费时间给你改编的!
你的这个公式使用了XMA(偏移移动平均)函数,它是未来函数,不可以做选股公式使用。
只可以做盘后分析使用.。
F. 金牛判势
DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);
DRAWTEXT_FIX(1,0.88,5,0,'~☆~美瓷佳品专用~☆~'),COLORBLUE;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
金牛:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;
金钻趋势:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
金牛2:EMA(金钻趋势,25)COLORCYAN,LINETHICK2;
DRAWBAND(金钻趋势,RGB(55,0,0),金牛2,RGB(0,91,0));
DRAWKLINE(H,O,L,C);
STICKLINE(金钻趋势>LOW AND 金钻趋势<HIGH,金钻趋势,MIN(MIN(OPEN,CLOSE),金钻趋势),2,0),COLORYELLOW;
STICKLINE(金钻趋势>MIN(C,O) AND 金钻趋势<MAX(C,O),金钻趋势,MIN(OPEN,CLOSE),2,0),COLORYELLOW;
STICKLINE(金钻趋势>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(金钻趋势>HIGH,HIGH,LOW,0,0),COLORYELLOW;
VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=金钻趋势>HIGH AND 回调买 AND L<=金钻趋势;
DRAWTEXT(XG,L,'▲买入'),COLORRED;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
DY:=CURRBARSCOUNT=1 AND C<REF(C,1);
DY2:=REF(V2,1)-DY;
XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<金牛;
{DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}
DRAWTEXT(XG2 AND L<金钻趋势,L,'↖金钻起涨'),COLORMAGENTA;
G. 通达信金牛判势指标源码和机构震仓指标怎么写,如下图效果
金牛判势主图公式:
DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);
DRAWTEXT_FIX(1,0.88,5,0,'~☆~皓天~☆~'),COLORBLUE;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
金牛:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;
金钻趋势:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
金牛2:EMA(金钻趋势,25)COLORCYAN,LINETHICK2;
DRAWBAND(金钻趋势,RGB(55,0,0),金牛2,RGB(0,91,0));
DRAWKLINE(H,O,L,C);
STICKLINE(金钻趋势>LOW AND 金钻趋势<HIGH,金钻趋势,MIN(MIN(OPEN,CLOSE),金钻趋势),2,0),COLORYELLOW;
STICKLINE(金钻趋势>MIN(C,O) AND 金钻趋势<MAX(C,O),金钻趋势,MIN(OPEN,CLOSE),2,0),COLORYELLOW;
STICKLINE(金钻趋势>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(金钻趋势>HIGH,HIGH,LOW,0,0),COLORYELLOW;
VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=金钻趋势>HIGH AND 回调买 AND L<=金钻趋势;
DRAWTEXT(XG,L,'▲买入'),COLORRED;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
DY:=CURRBARSCOUNT=1 AND C<REF(C,1);
DY2:=REF(V2,1)-DY;
XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<金牛;
{DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}
DRAWTEXT(XG2 AND L<金钻趋势,L,'↖金钻起涨'),COLORMAGENTA;
2机构震仓副图公式:
VAR1:=(CLOSE+HIGH+LOW)/3;
VAR2:=EMA(VAR1,10);
VAR3:=REF(VAR2,1);
绿探底震仓:IF(VAR2,10,DRAWNULL),COLORGREEN,LINETHICK9;
红买: IF(VAR2>VAR3,10,DRAWNULL), COLORRED,LINETHICK9;
蓝卖: IF(VAR2<VAR3,10,DRAWNULL),COLORFFFF00,LINETHICK9;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
上穿买:SMA(RSV,3,1),COLORRED;
下穿卖:SMA(上穿买,3,1),COLORFFFF00;
希望我的回答能使你满意。
H. 请高人用通达信金牛判势软件选股金牛大于金钻趋势,金钻趋势大于金牛2,股价偏离金牛2,求高人回复
有未来函数,没法用于选股。
I. 请高人用金牛判势指标源码公式设置选股如图
你想让别人帮你,为什么不把公式源码发上来?
再一个,该公式中使用了XMA函数,该函数是一个只供内部测试使用的函数,而且是一个未来函数!这样的公式做选股公式你敢使用吗?
J. 请高人用通达信金牛判势软件选股金牛大于金钻趋势,金钻趋势大于金牛2,股价偏离金牛2
选出来的是有黄柱,但是价不是横盘至金牛2下方的,而是这个至金牛2下方,