收集:中国股票市场经济分析网

提供以下常用语句,以方便朋友们编写公式时参考使用:

1)今收盘对于N日内最低收盘价的涨幅(%)(c-llv(c,n))/llv(c,n)*100;

2)今收盘价对于N日最高收盘价的跌幅(%)(HHV(C,N)-C)/HHV(C,N)*100;

3)股价在过去N日内运行空间的相对位置 (C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100;

4)股价上方N1%至N2%处的筹码(%)
aa:=winner(c+c*n2/100)*100;
bb:=winner(c+c*n1/100)*100;
aa-bb

5)股价下方N1%至N2%处的筹码(%)
(winner(c-c*n1/100)-winner(c-c*n2/100))*100;

6)收盘价N%处的套牢盘 100-(winner(c*N/100))*100;

7)收盘价N%处的获利盘 winner(c*N/100)*100;

8)下影线 (MIN(O,C)-L)/L*100;

9)上影线 (h-**x(o,c))/**x(o,c)*100;

10)本周期的涨跌幅 (c-ref(c,1))/ref(c,1)*100;

11)振幅 (h-l)/l*100;

12)均线金叉(M.N为均线周期) cross(**(c,m),**(c,n))

13)均线多头排列
a1:=**(c,n1);
a2:=**(c,n2);
a3:=**(c,n3);
a4:=**(c,n4);
count(a1>a2 and a2>a3 and a3>a4,3);

14) 均线空头排列
a1:=**(c,n1);
a2:=**(c,n2);
a3:=**(c,n3);
a4:=**(c,n4);
count(a1<a2 and a2<a3 and a3<a4,3);

15)N日均线向下
aa:=**(c,n);
bb:=ref(aa,2);
aa<bb

16)向前N日至M日出现过均线死叉(P1<P2)
aa:=**(c,p1);
bb:=**(c,p2);
cc:=ref(cross(bb,aa),n);
count(cc,m);

17)今日成交量大于N日以来的均量 VOL>MA(VOL,N);

18)低位密集
A1:=COST(85);
A2:=COST(15);
A3:=A1-A2;
A4:=(A1+A2)/2;
A5:=A3/A4*100<10;
B1:=HHV(H,120);
B2:=LLV(L,120);
B3:=B1-B2;
B4:=(A4-B2)<B3/2;
A5 AND B4;

19)换手率 VOL/CAPITAL*100;

20)N日盈亏
V1:=VOL/SUM(VOL,N);
V2:=DMA(CLOSE,V1);
V3: (CLOSE-V2)/V2*100;

21)强势整理
{参数M、N分别代表周期和幅度 m:1 20 2 n:1 20 5}
a1:=abs(close-open)/open<0.015;
a2:=count(a1,m)=m;
a3:=ref(o,m)<ref(close,m) and
ref(close,m)/ref(close,m+1)>1+n/100;
a2 and a3

22)高开大阴
{参数m,n分别代表幅度 m:1 10 4 n:1 20 5}
OPEN>CLOSE AND OPEN/REF(C,1) >= 1+M/100 AND CLOSE/OPEN<=1-N/100

23)低开大阳线
{参数m,n分别代表幅度 m:1 10 4 n:1 20 7}
OPEN<CLOSE AND OPEN/REF(C,1) <= 1-M/100 AND CLOSE/OPEN>=1+N/100



发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口


相关内容


  • 上一篇教程:
  • 下一篇教程: