{假设阴线幅度 > 7%, 根据需要修改}
DYX := (C - O) / REF(C, 1) * 100 < -7;
DAYS := BARSLAST(DYX);
MID := (REF(C, DAYS) + REF(O, DAYS)) / 2;
欲反包 : DAYS > 1 AND DAYS < 5 AND C > MID AND COUNT(C > MID, DAYS) = 1;
CR:=(C*3+H+L+O)/6; BB1:=(EMA(CR,3)+EMA(CR,6)+EMA(CR,12)*3+EMA(CR,24))/6; BB2:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
忽略以上公式。还没修改编写。 根据思路编写公式,修改公式。盘中预警,条件选股。公式解密,去除时间限制。鼠标点击下方 我 的 名 字 或(图 标)上,进入 可 看到 Q,订 制 公式。
{TJXG-}
VAR1:=(C>REF(C,1) AND C>REF(C,2));
VAR2:=(REF(VAR1,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR3:=(REF(VAR2,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR4:=(REF(VAR3,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR5:=(REF(VAR4,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR6:=(REF(VAR5,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR7:=(REF(VAR6,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR8:=(REF(VAR7,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR9:=(REF(VAR8,1) AND C>=REF(C,1) AND C<=REF(C,2));
VARA:=(REF(VAR9,1) AND C<=REF(C,1) AND C>=REF(C,2));
VARB:=(REF(VARA,1) AND C>=REF(C,1) AND C<=REF(C,2));
VARC:=(REF(VARB,1) AND C<=REF(C,1) AND C>=REF(C,2));
VARD:=(C<REF(C,1) AND C<REF(C,2));
VARE:=(REF(VARD,1) AND C>=REF(C,1) AND C<=REF(C,2));
VARF:=(REF(VARE,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR10:=(REF(VARF,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR11:=(REF(VAR10,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR12:=(REF(VAR11,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR13:=(REF(VAR12,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR14:=(REF(VAR13,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR15:=(REF(VAR14,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR16:=(REF(VAR15,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR17:=(REF(VAR16,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR18:=(REF(VAR17,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR19:((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14
OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1);
条件选股,大致如此。{个人看法,仅供参考。}
cx:(c-ref(c,1))/ref(c,1)*100>3;
加分
回答还有疑问请到本博留言,必复!
WINNER(C)*100>50;把50换成N,设置成参数就可以自由调整
A:=LLV(V/CAPITAL,3)=LLV(V/CAPITAL,10);
A1:=CROSS(MA(C,5),MA(C,10));
XG:A AND A1;
股票公式专家团为你解答,希望能帮到你,祝投资顺利。
N:=5;
QJ0:=(HIGH+LOW+CLOSE)/3;
QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0);
QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));
QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
QJ6:="MACD.DIF">"MACD.DEA" AND "MACD.DEA"<0;
QJ7:="KDJ.K">"KDJ.D" AND "KDJ.D"<30;
QJ8:="MACD.DIF"<"MACD.DEA";
QJ9:="KDJ.K"<"KDJ.D" AND "KDJ.K">80;
特大:=QJ4*QJ5;
大单:=QJ3*QJ5;
中单:=QJ1*QJ5;
小单:=QJ2*QJ5;
W1:=SUM(大单,N)+SUM(特大,N);
W2:=SUM(小单,N)+SUM(中单,N);
量振1:=特大>大单 AND 大单>小单;
量振2:=特大<小单 AND 大单<小单;
标振1:=QJ6 AND QJ7;
标振2:=QJ8 AND QJ9;
A:=W1-W2;
A0:=IF(A>0,A,0);
B0:=IF(A<0,A,0);
XG1:REF(A0,1)=0 AND A0>0;
------------------------------------------------------
N:=5;
QJ0:=(HIGH+LOW+CLOSE)/3;
QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0);
QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));
QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
QJ6:="MACD.DIF">"MACD.DEA" AND "MACD.DEA"<0;
QJ7:="KDJ.K">"KDJ.D" AND "KDJ.D"<30;
QJ8:="MACD.DIF"<"MACD.DEA";
QJ9:="KDJ.K"<"KDJ.D" AND "KDJ.K">80;
特大:=QJ4*QJ5;
大单:=QJ3*QJ5;
中单:=QJ1*QJ5;
小单:=QJ2*QJ5;
W1:=SUM(大单,N)+SUM(特大,N);
W2:=SUM(小单,N)+SUM(中单,N);
量振1:=特大>大单 AND 大单>小单;
量振2:=特大<小单 AND 大单<小单;
标振1:=QJ6 AND QJ7;
标振2:=QJ8 AND QJ9;
A:=W1-W2;
A0:=IF(A>0,A,0);
B0:=IF(A<0,A,0);
XG2:REF(A0,1)>0 AND A0>REF(A0,1);
朋友,你要的公式代码如下:
MA8:=MA(C,8);
MA26:=MA(C,26);
MA55:=MA(C,55);
aa:=cross(ma26,ma8);
bb:=cross(ma55,ma8);
xg:count(aa,3)=1 and count(bb,3)=1;
C>=REF(C,1)*1.095 AND C>=H AND C<=MA(C,60);
上面是涨停的,下面是6个点以上的:
C>=REF(C,1)*1.06 AND C<=MA(C,60);
最近期的最低成交量和最低价
----------------------------
最近期:=N;{N填多少自己定}
最低成交量:REF(V,1)=LLV(V,N);
最近期:=N;{N填多少自己定}
最低价:L=LLV(L,N);
哪位高手帮忙写个通达信选股预警公式 反包!
哪位高手帮忙写个通达信选股预警公式 反包! {假设阴线幅度 > 7%, 根据需要修改} DYX := (C - O) \/ REF(C, 1) * 100 < -7; DAYS := BARSLAST(DYX); MID := (REF(C, DAYS) + REF(O, DAYS)) \/ 2; 欲反包 : DAYS > 1 AND DAYS < 5 AND C > MID AND COUNT(C ...
---请高手帮忙编写一个通达信预警公式!!!
DIF:=EMA(CLOSE,6)-EMA(CLOSE,13);DEA:=EMA(DIF,5);MACD:=(DIF-DEA)*2;DIF<DEA AND REF(MACD,2)>REF(MACD,1) AND MACD>REF(MACD,1);{第二图} DIF:=EMA(CLOSE,6)-EMA(CLOSE,13);DEA:=EMA(DIF,5);MACD:=(DIF-DEA)*2;DIF>DEA AND REF(MACD,2)>REF(MACD,1) AND MACD>...
1急求高手帮忙编写通达信选股公式及预警公式条件,条件如下:
第一个: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);S2:=今小前;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));S1:...
哪位高手帮忙写个通达信选股预警公式 反包!!!
MID := (REF(C, DAYS) + REF(O, DAYS)) \/ 2;欲反包 : DAYS > 1 AND DAYS < 5 AND C > MID AND COUNT(C > MID, DAYS) = 1;
急急请高手帮忙 通达信的选股公式和预警公式 (资金动能)
{红柱选股} 红柱: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,X2,0);XG2:X2>0 AND X2>REF(X2,1);--- DIFF:=EMA(CLOSE,3...
请高手帮忙用这个通达信指标公式改编成预警选股公式,先谢谢!
朋友,以下是你要的预警选股公式:AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);BB1:=0;B1万元:=DVOL*DCLOSE\/100;B1差:=B1万元-REF(B1万元,1);B2万元:=DVOL*DCLOSE\/...
请高手编写通达信预警公式
{1.均线预警} CROSS(CLOSE,MA(CLOSE,N)) OR CROSS(MA(CLOSE,N),CLOSE);{这个是股价上穿或下穿N日均线时的语句,新建一个条件选股公式,建公式的时候,把N作为参数填进参数表,最小,最大,缺省分别填上1,250,5,然后给公式取个名字保存起来。之后点开“条件预警”的设置项,将你建的公式选...
通达信 均价预警公式
通达信---功能---专家系统---公式管理器---全部---(二)条件选股公式---新建--- (复制粘贴公式内容)MA5:=MA(C,5); 到价预警:MA5=N; {N的设定 1.00 300.00. 15.50 ,N就是价位自己定,这里设定为15.50} {再细分:若你希望均价线上涨到某一价位报警,一般可设定 预...
请高手帮忙写一个通达信上线上穿下线的预警公式
上线:=((3*SMA((CLOSE-LLV(LOW,27))\/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))\/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50);下线:=(HHV(HIGH,25)-LLV(LOW,25))\/EMA((CLOSE-LLV(LOW,25)),5);预警:CROSS(上线,下线);
烦请高手帮忙修改通达信公式为预警公式。
MA2:=MA(CLOSE,M2);MA3:=MA(CLOSE,M3);MA4:=MA(CLOSE,M4);DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIF,9);AAA:=(DIF-DEA)*2*60;起爆:CROSS(AAA-REF(AAA,1),15);将它放进一选股公式里,然后在预警系统-条件预警设置里面选择添加公式,把此公式添加好,勾选,打开条件预警,...