1. 求高手编写一个主力监控指标公式
首先要明白指标里不存在主力监控的公式,只是指标制作人把名字起的好听点罢了,
下面有张截图是一个叫主力监控的公式截图,看截图股票越下跌主力越买进,随后拉升时主力越卖越少。这一点不神奇,你要会看源码就知道作者用的全是动量类型公式,也就是多空单一一方与多空双方总和的比例关系,典型的rsi就是这个原理,这个作者挺聪明他把部分指标显示颠倒了,跟股价反向变动,大家看到的效果就是主力监控了。建议多看看一些技术指标公式大全,基本的技术指标就那一百多个,大部分还是重复的。
截图的指标源码发在追问追答里了
2. 求一个通达信指标公式
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD0:=(DIF-DEA)*2;
X0:=BARSLAST(CROSS(DIF,DEA));
XG:IF(X0=0 AND DIF>REF(DIF,REF(X0,1)+1) AND L<REF(L,REF(X0,1)+1),1,0);
公式里的macd金叉低点对比用macd的dif值做的对比,
3. 请老师给这个指标做个选股公式啊,能选出股价进入强势区域的股票。
N:=120;
TA:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=EMA(TA,181);
VAR81:=REF(CLOSE,N)-REF(ATR,1);
红牛抄:=HHV(VAR81,181);
上:=(1+7/100)*红牛;
黑马:CROSS(C,上);
股票袭公式专家团为你解答,希望能帮到你,祝投资顺利。
4. 这是庄见愁指标改写一个条件预警公式,当庄筹线向上合散筹线金叉时预警,谢谢
N:=10;
M:=10;
散筹估算:=EMA((WINNER((O+C*2+H+L)/5*1.1)-WINNER((O+C*2+H+L)/5*0.9))*80,N);
主筹估算:=EMA(WINNER((O+C*2+H+L)/5)*70,M);
CROSS(主筹估算,散筹估算);
5. 麻烦老师帮忙写一个这个指标黄色量柱出现的选股公式 通达信的
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;
X:=LLV(J,2)=LLV(J,8);
RE:CROSS(J,REF(J+0.01,1)) AND X AND J<19;
6. 求通达信指标公式大全
91,“中阴之后,跳拉阳”c/ref(c,1)>1.05;
92,能在图上提示个股(不含S或ST股)出现过的涨跌停板日期的公式 w1:if((c-ref(c,1))/ref(c,1)>0.1,date-1000000,c);
93,涨幅≤2%(c-ref(c,1)/ref(c,1)*100<2;
94,5日,10日,30日贴近公式,越贴越好 m1:=ma(close,5); m2:=ma(close,10); m3:=ma(close,20); m4:=ma(close,30);
y1:=max(max(max(m1,m2),m3),m4); x1:=min(min(min(m1,m2),m3),m4); 黏合:y1/x1<n;
n越小越黏合(n,1.01-----1.05)
95,(1)换手率均线DMA(c ,v/CAPITAL ); (2)20天以来的任意天期 (n),换手率均线正负波动值<=p%; AA:=DMA(c ,v/CAPITAL );
ab:=(aa-ref(aa,1))/ref(aa,1)*100<p; bb:count(ab,20)>=n;
96, 30天线拐头向上出现提示 ma(c,30)>ref(ma(c,30),1);
97,今天的换手率大于前天的一倍以上 w1:=v*100/capital; w1>ref(w1,2)*2;
98,K线沿着5日均线往上爬的选股公式 w1:ma(c,5); w2:abc(c-w1)/w1<0.01;
xg:count(w1>ref(w1,1),5)=5 and w2;
99,20日均线,上穿62日均线 xg:cross(ma(c,20),ma(c,62));
100,平台整理的公式,整理时间和整理幅度可调 COUNT(CLOSE,0)>N AND
(HHV(CLOSE,N)-LLV(CLOSE,N))/LLV(CLOSE,N)<=(N1/100); N整理时间,N1整理幅度
101,选出当日收盘价突破10日均线5%的个股 cross(c,ma(c,10)*1.05);
102,选出当日最低价在10日均线上下0.05%内,收盘价在均线上方的个股 abs(l-ma(c,10))<0.005 and c>ma(c,10);
103,第一天股票涨停,第二天成交量是第一天成交量的1倍,并超过10%.那第三天 就是买点
w1:=ref(c,2)/ref(c,3)>1.1; w2:=ref(v,1)/ref(v,2)>2; xg:w1 and w2;
104,放量2倍突破300日线的选股指标 cross(c,ma(c,300)) and v>ref(v,1)*2;
105,3日均线上穿10日均线,KDJ有效金叉
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;
w1:=cross(ma(c,3),ma(c,10)); xg:w1 and cross(k,d);
106,30日均线拐头向上ma(c,30)>ref(ma(c,30),1);
107,连续3-5天,每天的收盘价涨跌幅不超过1%.w1:abs(c-o)<0.01; xg:count(w1,5)>=3;
108,K线收十字星abs(c-o)/o<0.01;
109,MACD在8天以内两次金叉DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26)); DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0; MACD:=2*(DIFF-DEA); w1:cross(DIFF,dea); xg:count(w1,8)>=2;
110,昨天升降幅在-n%----n%之间
w1:abs(ref(c,1)-ref(c,2))/ref(c,2)*100<n;
111,于20日均线相差2个百分点的 w1:abs(c-ma(c,20)/ma(c,20)*100<2; N日均线相差M个百分点的公式. w1:abs(c-ma(c,n)/ma(c,n)*100<m; n:N日 m:M个百分点
112,60MA由向下调头向上ma(c,60)>ref(ma(c,60),1);
113, 股价回调到14日均线的选股 abs(c-ma(c,14))/ma(c,14)<0.005;
114,历史第5根K线到第30根K线之间的最高价hhv(ref(c,5),25);
115,MACD的拐点公式DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26)); DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0; MACD:=2*(DIFF-DEA);
拐点:ref(macd,2)>ref(macd,1) and ref(macd,1)<macd;
116,跳空高开收阳线LOW>REF(HIGH,1) and c>o;
117,涨停过300日线的选股公式
c/ref(c,1)>1.09 and cross(c,ma(c,300));
118,成交量是前5天中其他任何一天的10天均量线的3.5倍以上 w1:=llv(ma(v,10),5); xg:v>w1*3.5;
119,股价N天内连续沿着5天线走,且每天收盘价与5天线的距离不超过2%的选股公式 w1:=abs(c-ma(c,5))/ma(c,5)<0.02; xg:count(w1,n)=n;
120,跳空高开后,三天内没有回补缺口 ref(LOW,2)>REF(HIGH,3) and l>ref(LOW,2);
121,日涨幅小于3%C>0 AND C/REF(C,1) >1.03;
122, 股价创30个交易日的新高H>ref(H,30);
123,连续n天收阳线UP:=CLOSE>OPEN; COUNT(UP,N)=N;
124, {5日内第二大量} zdl:=hhv(v,5); v0:=IF(v>=zdl,0,v);
v1:=IF(ref(v,1)>=zdl,0,ref(v,1)); v2:=IF(ref(v,2)>=zdl,0,ref(v,2)); v3:=IF(ref(v,3)>=zdl,0,ref(v,3)); v4:=IF(ref(v,4)>=zdl,0,ref(v,4));
第二大量:MAX(MAX(MAX(MAX(v0,v1),v2),v3),v4);
DRAWTEXTABS( 0,10 ,第一大量 + zdl+ 第二大量+第二大量);同理可求出第三大、第四大和最小量.实行简单的排列.
这个公式好比是一件完整产品中的一个零部件,解决了一个思路问题.
125,{5日均线倾角大于60度}
X:(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)>60;
126,1、股价可以处于阶段性任意位臵,均线需多头排列.
2、10日均线上升角度30—45度,5日均线走平或者上升15度以内,也可以略微下降,但是不能上升角度过大。
3、5日均线和10日均线有相交的大趋势,但是此时K线实体夹在两线之间。 4、次日5天线数值不能降的太多最好是升。
TJ1:=MA(C,5);TJ2:=MA(C,10);TJ3:=MA(C,21);TJ4:=MA(C,34);TJ5:=MA(C,55); AS:=TJ1>TJ2 AND TJ2>TJ3 AND TJ3>TJ4 AND TJ4>TJ5;
AS1:=ATAN((TJ1/REF(TJ1,1)-1)*100)*57.3; AS2:=ATAN((TJ2/REF(TJ2,1)-1)*100)*57.3; AS3:=BETWEEN(AS2,30,45); AS4:=BETWEEN(AS1,0,15);
AS5:=BETWEEN(C,TJ1,TJ2) AND BETWEEN(O,TJ1,TJ2); AS AND AS3 AND AS4 AND AS5;
127, 60日均线角度在0度和15度之内: TJ1:=MA(C,60);
AS1:=ATAN((TJ1/REF(TJ1,1)-1)*100)*57.3; AS4:=BETWEEN(AS1,0,15);
128、(1)光头阳线 并且当天振幅小于3的选股公式 XG:C=H AND C>REF(C,1);
(2)光头光脚并且涨幅小于5的阳线选股公式
O=l and C=H and (c/ref(c,1)-1)*100>0 and (c/ref(c,1)-1)*100<5; (3)收盘带有下影线的光头阳线和阴线 O=H AND L/C<1.02
(4)在主图画个线收盘大于5%涨幅的光头阳线往右画线 AA:=C/REF(C,1)>1.05 AND C=H; DRAWLINE(AA,C,REF(AA,1),REF(C,1),1);
(5)大单连红5天K线出现两个收上影线光脚阳线 a:=last("ddx.ddx">0)=5; b:=last(o=l and c<h and c>o)=2; a and b and VOL>0;
(6)大单连红5天K线出现两个光头光脚阳线的选股指标 a:=last("ddx.ddx">0)=5; b:=last(l=o and c=h and c>o)=2; a and b and v>0; (7)大阴光头指标选股
大阴光头:O=H AND (O-C)>(C-L) AND (REF(O,1)-REF(C,1))/REF(C,1)*100>5;
7. 求大神把此通达信指标改个主力庄家秘密进的选股公式,
XG:2*(EMA((C*2+H+L)/4*10,13)-EMA((C*2+H+L)/4*10,34)-EMA(EMA((C*2+H+L)/4*10,13)-EMA((C*2+H+L)/4*10,34),5))*5.5>=0 AND CROSS(2*(EMA((C*2+H+L)/4*10,13)-EMA((C*2+H+L)/4*10,34)-EMA(EMA((C*2+H+L)/4*10,13)-EMA((C*2+H+L)/4*10,34),5))*5.5,0);
8. 通达信毒眼主力拉高指标公式
N1:=9;
N2:=5;
MTM:=C-REF(C,1);
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW <=VAR4,VAR3,0),3);
VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);
VAR31:=EMA(VAR21,10);
VAR41:=HHV(HIGH,33);
VAR51:=EMA(IF(HIGH >=VAR41,VAR31,0),3);
主力轨迹:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORWHITE;
MAZL:MA(主力轨迹,N2),COLORYELLOW;
主力进场:IF(VAR5 > REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
STICKLINE(VAR5 > REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;
STICKLINE(VAR5 > REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077;
STICKLINE(VAR5 > REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;
STICKLINE(VAR5 > REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB;
STICKLINE(VAR5 > REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;
STICKLINE(VAR5 > REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;
洗盘:IF(VAR5 < REF(VAR5,1),VAR5,0),COLOR000079,NODRAW;
STICKLINE(VAR5 < REF(VAR5,1),0,VAR5,3,0),COLOR000079;
STICKLINE(VAR5 < REF(VAR5,1),0,VAR5,2.6,0),COLOR000093;
STICKLINE(VAR5 < REF(VAR5,1),0,VAR5,2.1,0),COLOR0000C6;
STICKLINE(VAR5 < REF(VAR5,1),0,VAR5,1.5,0),COLOR4A4AFF;
STICKLINE(VAR5 < REF(VAR5,1),0,VAR5,0.9,0),COLOR7D7DFF;
STICKLINE(VAR5 < REF(VAR5,1),0,VAR5,0.3,0),COLORAAAAFF;
主力拉高:IF(VAR51 < REF(VAR51,1),VAR51,0),COLORYELLOW,NODRAW;
STICKLINE(VAR51 < REF(VAR51,1),0,VAR51,3,0),COLOR005555;
STICKLINE(VAR51 < REF(VAR51,1),0,VAR51,2.6,0),COLOR007777;
STICKLINE(VAR51 < REF(VAR51,1),0,VAR51,2.1,0),COLOR009999;
STICKLINE(VAR51 < REF(VAR51,1),0,VAR51,1.5,0),COLOR11BBBB;
STICKLINE(VAR51 < REF(VAR51,1),0,VAR51,0.9,0),COLOR33DDDD;
STICKLINE(VAR51 < REF(VAR51,1),0,VAR51,0.3,0),COLOR55FFFF;
出货:IF(VAR51 > REF(VAR51,1),VAR51,0),COLORCYAN,NODRAW;
STICKLINE(VAR51 > REF(VAR51,1),0,VAR51,3,0 ),COLORCYAN;
STICKLINE(VAR51 > REF(VAR51,1),0,VAR51,3,0),COLOR555555;
STICKLINE(VAR51 > REF(VAR51,1),0,VAR51,2.6,0),COLOR777777;
STICKLINE(VAR51 > REF(VAR51,1),0,VAR51,2.1,0),COLOR999999;
STICKLINE(VAR51 > REF(VAR51,1),0,VAR51,1.5,0),COLORBBBBBB;
STICKLINE(VAR51 > REF(VAR51,1),0,VAR51,0.9,0),COLORDDDDDD;
STICKLINE(VAR51 > REF(VAR51,1),0,VAR51,0.3,0),COLORFFFFFF;
通达信软件是多功能的证券信息平台,与其他行情软件相比,有简洁的界面和行情更新速度较快等优点。通达信允许用户自由划分屏幕,并规定每一块对应哪个内容。至于快捷键,也是通达信的特色之一。通达信还有一个有用的功能,就是“在线人气”,可以了解哪些是当前关注,哪些是持续关注,又有哪些是当前冷门,可以更直接了解各个股票的关注度。
深圳市财富趋势科技有限责任公司是一家资深的证券业高科技企业,致力于证券分析系统和计算机通讯系统的研究开发,自1995年成立以来,经过蓬勃发展,已经成为该行业的典范。其开发的行情源被同行业多企业采用,是市场上非常主流的拥有自主开发证券类软件能力的企业。深圳市财富趋势科技有限责任公司在证券行业的著名品牌是“通达信”。
9. 求高手编个指标公式;源码好像是大智慧的,改成通达信的,满意另加财富值定重谢
EMA13:EMA(C,13),COLORRED,POINTDOT,LINETHICK1;
EMA17:EMA(C,17),COLORGRAY;
EMA34:EMA(C,34),COLOR5E5E5E;
EMA156:EMA(C,156),COLORBLUE,POINTDOT,LINETHICK1;
DRAWTEXT(C-O>=0ANDO/L>1.05ANDL<=LLV(L,30),L,'★<-绝底'),COLORMAGENTA;
一日资金流入:=AMOUNT*LARGEINTRDVOL*10000;
MA1:=MA(一日资金流入,60);
一日资金流出:=-AMOUNT*LARGEOUTTRDVOL*10000;
净额:=一日资金流入+一日资金流出;
流通盘:=CAPITAL;
流入增减:=一日资金流入/MA1;
买入:=流入增减>3AND净额>200;
DRAWTEXT(买入,L*0.9,'买入');
DRAWICON(买入,L*0.95,1);
BDGD:=C=HHV(C,13);
GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),2))+1;
高点:=REF(C,GDSJ),COLORFF00FF,POINTDOT;
突破:=CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,LINETHICK0;
STICKLINE(GDSJ<=6,高点,高点,8,0),COLORFF00FF;
DRAWTEXT(突破,LOW,'↑'),COLOR00FFFF;
BDDD:=C=LLV(C,13);
DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),2))+1;
低点:=REF(C,DDSJ),COLOR00FF00,POINTDOT;
STICKLINE(DDSJ<=6,低点,低点,8,0),COLOR00FF00;
10. 神獒天牛指标怎么转成条件选股公式
{神獒天牛主图--供参考}
DIF:=EMA(CLOSE,3)-EMA(CLOSE,13);
DEA:=EMA(DIF,5);
AA:=EMA(CLOSE,5);
DRAWTEXT(CROSS(DIF,DEA),LOW*0.98, '▲'),COLORYELLOW,LINETHICK3;
DRAWTEXT(CROSS(DIF,DEA),LOW*0.94, 'B'),COLORYELLOW,LINETHICK3;
DRAWTEXT(CROSS(DEA,DIF),HIGH*1.02, '▼'),COLORGREEN,LINETHICK3;
DRAWTEXT(CROSS(DEA,DIF),HIGH*1.06, 'S'),COLORGREEN,LINETHICK3;
B:=IF(CROSS(DIF,DEA),1,0);
S:=IF(CROSS(DEA,DIF),1,0);
VAR2:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
VAR3:=((REF(VAR2,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR4:=((REF(VAR3,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR5:=((REF(VAR4,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR6:=((REF(VAR5,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR7:=((REF(VAR6,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR8:=((REF(VAR7,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR9:=((REF(VAR8,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VARA:=((REF(VAR9,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VARB:=((REF(VARA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VARC:=((REF(VARB,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VARD:=((REF(VARC,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
STICKLINE((((((((((((VAR2 OR VAR3) OR VAR4) OR VAR5) OR VAR6) OR VAR7) OR VAR8) OR VAR9) OR VARA) OR VARB) OR VARC) OR VARD),CLOSE,REF(CLOSE,1),2,1),COLORRED;
VARE:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));
VARF:=((REF(VARE,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR10:=((REF(VARF,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR11:=((REF(VAR10,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR12:=((REF(VAR11,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR13:=((REF(VAR12,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR14:=((REF(VAR13,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR15:=((REF(VAR14,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR16:=((REF(VAR15,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR17:=((REF(VAR16,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR18:=((REF(VAR17,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR19:=((REF(VAR18,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
STICKLINE((((((((((((VARE OR VARF) OR VAR10) OR VAR11) OR VAR12) OR VAR13) OR VAR14) OR VAR15) OR VAR16) OR VAR17) OR VAR18) OR VAR19),CLOSE,REF(CLOSE,1),2,1),COLORFF9900;
买:=(REF((((((((((((VARE OR VARF) OR VAR10) OR VAR11) OR VAR12) OR VAR13) OR VAR14) OR VAR15) OR VAR16) OR VAR17) OR VAR18) OR VAR19),1) AND VAR2);
DRAWTEXT(买,L*0.98,'买'),COLORRED;
STICKLINE(买,REF(CLOSE,1),REF(CLOSE,2),2,0),COLORYELLOW;
卖:=(REF((((((((((((VAR2 OR VAR3) OR VAR4) OR VAR5) OR VAR6) OR VAR7) OR VAR8) OR VAR9) OR VARA) OR VARB) OR VARC) OR VARD),1) AND VARE);
STICKLINE(卖,REF(CLOSE,1),REF(CLOSE,2),2,0),COLORBLUE;
DRAWTEXT(卖,H*1.02,'卖'),COLORBLUE;
必买:=(B AND 买);
=========================
{买选股}
DIF:=EMA(CLOSE,3)-EMA(CLOSE,13);
DEA:=EMA(DIF,5);
AA:=EMA(CLOSE,5);
B:=IF(CROSS(DIF,DEA),1,0);
VAR2:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
VARE:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));
VARF:=((REF(VARE,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR10:=((REF(VARF,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR11:=((REF(VAR10,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR12:=((REF(VAR11,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR13:=((REF(VAR12,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR14:=((REF(VAR13,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR15:=((REF(VAR14,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR16:=((REF(VAR15,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR17:=((REF(VAR16,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR18:=((REF(VAR17,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR19:=((REF(VAR18,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
买:=(REF((((((((((((VARE OR VARF) OR VAR10) OR VAR11) OR VAR12) OR VAR13) OR VAR14) OR VAR15)
OR VAR16) OR VAR17) OR VAR18) OR VAR19),1) AND VAR2);
VV:买 OR (B AND 买);