F:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<REF(O,1) AND F<0,1,0);
S1:=今小昨;
今小前:=IF(C<REF(O,2) AND F<0,1,0),LINETHICK0;
S2:=今小前;
A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1));
A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1));
A3:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1));
STICKLINE(A1 AND A2 ,0,3,3,0)COLORGREEN;
STICKLINE(A1 AND A2 ,0,1,3,0)COLORBLUE;
STICKLINE(A1 AND A2 AND A3,0,5,3,0)COLORYELLOW;
STICKLINE(A1 AND A2 AND A3,0,3,3,0)COLORFF00FF;
STICKLINE(A1 AND A2 AND A3,0,1,3,0)COLORBLUE;
DRAWTEXT(A3=1,3.8,'☆全仓杀入'),COLORYELLOW;
智勇出击: ZIG(3,6)>REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)<REF(ZIG
(3,6),2),COLORWHITE,LINETHICK2;
DRAWTEXT(智勇出击=1,0.8,'突袭!'),COLORWHITE;
小获且退: ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG
(3,10),2),COLORYELLOW,LINETHICK2;
DRAWTEXT(小获且退=1,1.3,'撤退!'),COLORYELLOW;
VAR3:=PEAKBARS(3,15,1)<10;
VAR5:=IF(VAR3=1,2,0);
顶:= IF(VAR5=2,2,0);
大胜且归:IF(顶>REF(顶,1),2,0),COLORRED,LINETHICK2;
DRAWTEXT(大胜且归=2,2,'将大跌逢高清跌完再买!'),COLORGREEN;
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
A4:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;
DRAWTEXT(A4,0.2.1,'关注'),COLORYELLOW;
选底:TROUGHBARS(3,15,1)<4,NODRAW;
DRAWTEXT(FILTER(选底=1,3),0.2,'准备抄底'),COLOR00FF00;
出★逢低买:CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ;
DRAWTEXT(出★逢低买>0,2,'☆逢低买');
未来函数?请赐教一二,不胜感激!
追答请看ZIG函数的原理:
之字转向.
用法:
ZIG(K,N),当价格变化量超过N%时转向,K表示0:开盘价,1:最高价,2:最低价,3:收盘价,其余:数组信息
例如:ZIG(3,5)表示收盘价的5%的ZIG转向
未来函数不太理解,请赐教?多谢
1急求高手帮忙编写通达信选股公式及预警公式条件,条件如下:
S1:=IF(NAMELIKE('S'),0,1);S2:=IF(NAMELIKE('*'),0,1);突袭:ZIG(3,6)>REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)<REF(ZIG(3,6),2) AND S1 AND S2 AND V>1;
求高手在“通达信”里帮忙编写个选股条件的公式。
RSV:=(CLOSE-LLV(LOW,9))\/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=(3*K-2*D)<=0; {J值为负} CONDTION_A:=BARSLAST(J)>=1 AND BARSLAST(J)<=10; {J值在10日内出现负值} DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);CONDTI...
高分求通达信行情一条件预警公式
OPEN>REF(CLOSE,1),1,0),LOW*0.98,'买进') ,COLORYELLOW;D:=MA(CLOSE,80)-MA(CLOSE,10)\/3;DRAWTEXT(IF(CLOSE<D AND VOL\/240>MA(VOL,5)\/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.98,'抄底'),COLORYELLOW;4、公式是很多的,给你个经验证...
求高手帮忙编写一个通达信的选股公式,建仓选股!
VAR2:=1\/WINNER(CLOSE);VAR3:=100-ABS((CLOSE-MA(CLOSE,13))\/MA(CLOSE,13)*100);VAR4:=(CLOSE-LLV(LOW,27))\/(HHV(HIGH,27)-LLV(LOW,27))*100;VAR5:=SMA(VAR4,5,1);VAR6:=SMA(VAR5,9,1);兰柱:VAR2>5 AND VAR3<100 AND VOL AND VAR6<18;=== VAR2:=1\/WINNER(C)...
求大神高手帮忙设置下这条通达信公式变成选股公式
C1:=(20*MIB+19*REF(MIB,1)+18*REF(MIB,2)+17*REF(MIB,3)+16*REF(MIB,4)+15*REF(MIB,5)+14*REF(MIB,6)+13*REF(MIB,7)+12*REF(MIB,8)+11*REF(MIB,9)+10*REF(MIB,10)+9*REF(MIB,11)+8*REF(MIB,12)+7*REF(MIB,13)+6*REF(MIB,14)+5*REF(MIB,15)+4*REF(MIB...
请高手把这个通达信主图公式改成选股指标
你说的收盘价由灰色变为**我没看见,短线是由绿色变为**,中线是由灰色变为**,上面公式第一个是收盘价大于中线,第二个是短线由绿线变为** 麻烦朋友给我编辑一个通达信的选股指标 可以编写当日涨幅大于99%,30日跌幅-10%以上,去除一字板,但是这个条件的第一个条件获利筹码比例计算结果与系统显示结果会有误差,这...
急急请高手帮忙 通达信的选股公式和预警公式 (资金动能)
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;X3:=IF(X2>0,X2,0);{红柱选股} 红柱:REF(X2,1)<0 AND X2>0;--- DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);DEA:=EMA(DIFF,5);MACD:=2*(DIFF-DEA);X1:=EMA(DIFF,5)*5;X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;X3:=IF(X2>0...
求大神把这个通达信指标 编写成选股公式,分别在买入和加仓提示的...
速度5:=SMA(EMA((AA05-REF(AA05,1))\/REF(AA05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3);AA10:=MA(C,10);AA30:=MA(C,30);三拾日乖离率:=(C-AA30)\/AA30*100;加仓:FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖离率>REF...
求高手帮忙改写这个通达信的指标,改成底位出现笑脸预警选股指标,谢谢...
多头多定位:=CROSS(20000,短线低盘) AND 多头定位=1;多头平定位:=CROSS(短线高盘,80000) AND 多头定位=1 AND 震荡定位=0;震荡多定位:=CROSS(20000,短线低盘) AND 震荡定位=1;空头平定位:=CROSS(20000,短线低盘) AND 空头定位=1 AND 震荡定位=0;XG:多头多定位=1 OR 震荡多定位=1 OR ...
通达信 均价预警公式
通达信---功能---专家系统---公式管理器---全部---(二)条件选股公式---新建--- (复制粘贴公式内容)MA5:=MA(C,5); 到价预警:MA5=N; {N的设定 1.00 300.00. 15.50 ,N就是价位自己定,这里设定为15.50} {再细分:若你希望均价线上涨到某一价位报警,一般可设定 预...