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 買);