多翻空、空翻多的MACD
-
相关简介:C/C++ Code 复制内容到剪贴板 INPUT: LONG (26,20,100,1), SHORT (12,5,40,1),M(9,2,60,1); VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 主动买盘:=IF(CLOSEOPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)); 主动卖盘:=IF(CLOSEOPEN,0-VAR1*((HIGH
-
文章来源:择股网作者:股海网发布时间:2009-11-04浏览次数:
C/C++ Code复制内容到剪贴板
- INPUT:LONG(26,20,100,1),SHORT(12,5,40,1),M(9,2,60,1);
- VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
- 主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
- 主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
- DIFF :=(EMA(V,SHORT) - EMA(V,LONG));
- DEA :=(EMA(DIFF,M));
- 量MACD :(2*(DIFF-DEA)),COLORSTICK;
- 多方 :(EMA(主动买盘,SHORT) - EMA(主动买盘,LONG)),COLOR00FFFF,LINETHICK1;
- BDEA :=(EMA(多方,M));
- 空方 :(EMA(主动卖盘,SHORT) - EMA(主动卖盘,LONG)),COLOR00FF00,LINETHICK1;
- SDEA :=(EMA(空方,M));
上一篇:优化涨跌停K(找黑马助手)
下一篇:大智慧的多空红绿指标源码(附图)