头部公式
-
相关简介:C/C++ Code 复制内容到剪贴板 {N11009 M11003} VAR1:=(HHV(HIGH,5)-LLV(LOW,5)); VAR2:=(HHV(HIGH,5)-CLOSE); VAR3:=(CLOSE-LLV(LOW,5)); VAR4:=VAR2/VAR1*100-70;  
-
文章来源:择股网作者:股海网发布时间:2009-11-14浏览次数:
C/C++ Code复制内容到剪贴板
- {N 1 100 9
- M 1 100 3}
- VAR1:=(HHV(HIGH,5)-LLV(LOW,5));
- VAR2:=(HHV(HIGH,5)-CLOSE);
- VAR3:=(CLOSE-LLV(LOW,5));
- VAR4:=VAR2/VAR1*100-70 ;
- VAR5:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
- VAR6:=(2*C+H+L)/4;
- VAR7:=SMA((VAR3/VAR1*100),3,1);
- VAR8:=LLV(LOW,10);
- VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
- VAR10:= IF(VAR9>100,VAR9-100,0);
- VARA:=HHV(HIGH,10);
- B:=EMA((VAR6-VAR8)/(VARA-VAR8)*100,8),COLORFFCC66;
- B1:=EMA(B,5);
- STICKLINE(B>0 AND B-B1>=0,79,80,8,0),COLORRED,LINETHICK2;
- STICKLINE(B<0 AND B-B1<0,79,80,8,0),COLOR00FF00,LINETHICK2;
- S:50;
- STICKLINE(B>0 AND B-B1>=0,19,20,8,0),COLORRED,LINETHICK2;
- STICKLINE(B<0 AND B-B1<0,19,20,8,0),COLOR00FF00,LINETHICK2;
- STICKLINE(B-B1>0,B,B1,8,1),COLORRED;
- STICKLINE(B-B1<0,B,B1,8,1),COLOR00FF00;
- LOWV:=LLV(LOW,N);
- HIGHV:=HHV(HIGH,N);
- RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
- K:EMA(RSV,M);
- D:MA(K,M);
- XX:IF(K<=D,K,D);
- D1:MA(K,M);
- 大头部:IF((D>(85)),20,0);
- 卖出:IF(K>80,80,95);
- 买入:IF(CROSS(K,20),6,0);
- 头部:IF((K>(80)),6,0);
上一篇:自编的振幅公式
下一篇:简单的KDJ能抓到小黑马