最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 将量能公式为选股公式

将量能公式为选股公式

来源:网络 点击: 时间:2023-01-04 12:08:06

编写要求:

N:=10; 量:=(CLOSE - LLV(LOW,32)) / (HHV(HIGH,32) - LLV(LOW,32)) * 1.2 * CLOSE; 量1:=EMA(量,3); 量2:=EMA(量,5); 量3:=EMA(量,7); STICKLINE(量1 >= 量2,量3,量1,8,0),color0000AA; STICKLINE(量1 >= 量2,量3,量1,7,0),color0000BB; STICKLINE(量1 >= 量2,量3,量1,6,0),color0000CC; STICKLINE(量1 >= 量2,量3,量1,5,0),color0000DD; STICKLINE(量1 >= 量2,量3,量1,4,0),color0000EE; STICKLINE(量1 >= 量2,量3,量1,3,0),color0000FF; STICKLINE(量1 <= 量2,量3,量1,8,0),colorFF0000; STICKLINE(量1 <= 量2,量3,量1,7,0),colorFF3300; STICKLINE(量1 <= 量2,量3,量1,6,0),colorFF5500; STICKLINE(量1 <= 量2,量3,量1,5,0),colorFF7700; STICKLINE(量1 <= 量2,量3,量1,4,0),colorFF9900; STICKLINE(量1 <= 量2,量3,量1,3,0),colorFFBB00; STICKLINE(量1 <= 量2,量3,量1,2,0),colorFFDD00; STICKLINE(量1 <= 量2,量3,量1,1,0),colorFFFF00; T1:=量2 >= 量3 AND 量1 < REF(量1,1); T2:=量2 < 量3 AND 量1 > REF(量1,1); STICKLINE(T1,量1,量3,8,0),colorFFBB11; STICKLINE(T1,量1,量3,7,0),colorFFCC22; STICKLINE(T1,量1,量3,5,0),colorFFDD33; STICKLINE(T1,量1,量3,3,0),colorFFEE44; STICKLINE(T1,量1,量3,1,0),colorFFFF55; STICKLINE(T2,量1,量3,10,0),color338FDD; STICKLINE(T2,量1,量3,8,0),colorFF00FF; STICKLINE(T2,量1,量3,1,0),color00DDFF; STICKLINE(T2,量1,量3,8,0),color00AAFF; STICKLINE(T2,量1,量3,6.6,0),color00BBFF; STICKLINE(T2,量1,量3,4.4,0),color00CCFF; STICKLINE(T2,量1,量3,3.3,0),color00DDFF; STICKLINE(T2,量1,量3,2.2,0),color00EEFF; STICKLINE(T2,量1,量3,1,0),color00FFFF; 大涨:CLOSE/REF(CLOSE,1)>=1.09 OR ((H-L)/REF(C,1)>0.1 AND C=H),LINETHICK0,color00ffFF; STICKLINE(大涨,量1,量3,8,0),color00ffFF; 大跌:(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.098 OR ((H-L)/REF(C,1)>0.1 AND C=L),LINETHICK0,color00ff00; STICKLINE(大跌,量1,量3,8,0),color00ff00; HH:=HHV(量1,N); LL:=LLV(量1,N); y:ma(量1,6); y1:ma(y,2); y2:ma(y,4); y3:ma(y,6);

解答:

?量:=(CLOSE - LLV(LOW,32)) / (HHV(HIGH,32) - LLV(LOW,32)) * 1.2 * CLOSE;

量1:=EMA(量,3);

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top