DIF:(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
DRAWICON(CROSS(DIF,DEA),DEA,1);
DRAWICON(CROSS(DEA,DIF),DEA,2);
IF(DIF<DEA,DIF,DRAWNULL),COLORGREEN;
DD:=C=HHV(C,180);
EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1;
CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1;
顶背离:=(DD AND EE AND DEA< HHV(DEA,180))*DEA;
A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
{顶背:=REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF AND CROSS(DEA,DIF);}
DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORRED,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,9,3),COLORYELLOW;
D:SMA(K,9,3),COLORWHITE;
J:3*K-2*D,COLORMAGENTA;
IF(J<D,J,DRAWNULL),COLORFFEE44;
A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIF,A1+1)<DIF AND CROSS(DIF,DEA);
A22:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
B2:=REF(C,A22+1)>C AND REF("KDJ.K"(9,3,3),A22+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
DRAWTEXT(B1,DEA-0.20,'▲MACD底背'),COLORWHITE;
DRAWTEXT(B2,D-0.20,'●KDJ底背'),COLORFF00FF;
{DJ:=CROSS(J,D) AND D<20;
DRAWTEXT(DJ,J-0.3,'低金叉'),COLORCYAN;
MDJ:=CROSS(DIF,DEA) AND DEA<0;
DRAWTEXT(MDJ,DEA-0.3,'低金叉'),COLORGREEN;
DRAWTEXT(CROSS(DEA,DIF),DIF+0.3,'死叉'),COLORYELLOW;
DRAWTEXT(CROSS(D,J),J+0.3,'死叉'),COLORRED;}
A:=CROSS(DIF,DEA) AND CROSS(K,D) AND CROSS(J,D);
DRAWICON(A,LOW*0.98,1);
B4:CROSS(DIF,DEA) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
DRAWTEXT(B4,L-0.20,'★金叉共振'),COLOR0099FF;
DRAWICON(CROSS(K,D),D,1);
DRAWICON(CROSS(D,K),D,2);
BA:=DEA>REF(DEA,1);
BB:=SUM(BA,5)>=4;
BC:=C<O;
BD:=SUM(BC,5)>=2;
BXG:FILTER(BB AND BD AND J>REF(J,1) AND REF(J,1)<REF(J,2),3);
STICKLINE(BXG,HHV(J,60),HHV(J,60)-20,1,0),COLORRED;
SS:=EMA(C,11);
LL:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,5))/4;
{短:EMA(LL,2),COLORGREEN,LINETHICK2;}
{长:EMA(SS,2),COLORMAGENTA,LINETHICK2;}
AA:=(C-LLV(C,10))/(HHV(C,10)-LLV(C,10));
(CROSS(AA,0.05)-1);
高手帮忙把这个指标公式改成通达信选股公式
这个公式很准,但有未来函数。选股公式如下:VAR1:=(C+H+O+L)\/4;卖出:=XMA(VAR1,N)*(1+P1\/1000),COLORGREEN,LINETHICK2;买入:=XMA(VAR1,M)*(1-P2\/1000),COLORMAGENTA,LINETHICK2;CROSS(LOW,买入);其中XMA是标准的未来函数,也就是信号会发生漂移。因此这个公式只能用来做参考,且莫用做股...
请老师帮把这个公式改成通达信选股公式
NEWVOL:=(RSI5 - WR10);最佳买入:=(AV + NEWVOL);AA:=CROSS(最佳买入,0);RSV:=(((CLOSE - LLV(LOW,9)) \/ (HHV(HIGH,9) - LLV(LOW,9))) * 50);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);BB:=CROSS(J,3);CC:=(AV + NEWVOL)<...
请大侠修改通达信买入指标公式为选股公式
银子:=AAA1-REF(AAA1,1),COLORRED;CROSS(银子,买入线);说实在的,这样就可以了,如果想把AAA上赋值为正也能选出股票,那么就会选出很多个股,这个公式其实是MACD的变形,你看一下,当MACD红柱时,就能选出来,那太多个股了,如果你不信,可以把最后一句换成 CROSS(银子,买入线) OR AAA上>...
求大神将以下指标公式改为选股公式,通达信的,谢谢
RSV:=(CLOSE-LLV(LOW,9))\/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);多方:=IF((3*K-2*D)>0,(3*K-2*D),0)LINESTICK;黄金坑:STICKLINE((3*K-2*D)<0,0,-2,3,0) COLORYELLOW;DRAWTEXT((3*K-2*D)<0,-1,'黄金坑');LC:=REF(CLOSE,1);RS...
麻烦朋友将下面公式中出现“目标出现”改写成通达信的选股公式
股海:=(((DD-LLV(DD,21))\/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);目标出现B:IF(CROSS(股海,90) AND (股神<40),70,0);跟踪:10;目标出现A:IF((COUNT((股神>REF(股神,1)),1)=1) AND (REF(股神,1)<REF(REF(股神,1),1)) AND (股神<跟踪),50,0);{希望帮到你} ...
请高手按条件编通达信选股公式
楼主,做成两个选股公式,下面第一个是黄金令:源码:VAR11:=(2*C+O+H+L)\/5;VAR12:=VOL;M8:=SUM(VAR11*VAR12,8)\/SUM(VAR12,8);M13:=SUM(VAR11*VAR12,13)\/SUM(VAR12,13);M21:=SUM(VAR11*VAR12,21)\/SUM(VAR12,21);R1:=C;R2:=LLV(LOW,45);R3:=HHV(HIGH,45);Y1:=C;...
请高手帮忙把下面条件改成通达信选股公式
选股 MA30:=MA(C,30);MA60:=MA(C,60);MA90:=MA(C,90);MA120:=MA(C,120);MA250:=MA(C,250);GD:=MAX(MAX(MAX(MA60,MA90),120),250);DD:=MIN(MIN(MIN(MA60,MA90),MA120),MA250)SXNH:LLV((GD-DD),0)\/DD<(1+N\/100);SXNH1:=COUNT(SXNH,M);JC:=CROSS(MA30,SXN...
请高手把下面的公式改成通达信的选股公式,,,要求当天出现B点
快线:=(CLOSE-LLV(LOW,9))\/(HHV(HIGH,9)-LLV(LOW,9))*100;慢线:=SMA(快线,3,1);选股:BARSLAST(CROSS(慢线,快线))>=3 AND CROSS(快线,慢线) AND 慢线<30;
请高手把这个改成通达信选股公式
爆发点:=(DCLOSE-REF(C,1))\/REF(C,1)*100;XG:CROSS(爆发点,20) OR CROSS(爆发点,18);是要选图中这里吗.注意公式是为了函数做的.
谁可以把这个修改成为通达信选个公式?
MA2:=MA(C,5);AA:=CROSS(MA1,MA2);DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);DEA:=EMA(DIFF,9);BB:=DIFF<0 AND DEA<0 AND CROSS(DIFF,DEA);CC:=CROSS(MA(V,5),MA(V,10));DD:=C>MA(C,10);XG:AA AND BB AND CC AND DD;(公式本身为选股公式。只是改得不太规范。现已改)...