红色DDP
2016-5-31 11:46:14点击:
{红色DDP}{副图}{大智慧L2新一代公式}
input:N1(13,1,100),M(5,1,100),M1(3,1,100);
a1:=IF((DATE <= 10805170),1,0);
a2:=MAX(ABS((HIGH - (REF(HIGH,1)))),ABS((LOW - (REF(LOW,1)))));
a3:=IF(((HIGH + LOW) <= ((REF(HIGH,1)) + (REF(LOW,1)))),0,a2);
a4:=IF(((HIGH + LOW) >= ((REF(HIGH,1)) + (REF(LOW,1)))),0,a2);
a5:=(SUM(a3,M)) / ((SUM(a3,M)) + (SUM(a4,M)));
a6:=(SUM(a4,M)) / ((SUM(a4,M)) + (SUM(a3,M)));
DDP:(a5 - a6) * a1,Color3D,linethick6;
DDP1:(EMA(DDP,N1)) * 1.3;
DDP2:(MA(DDP1,M1)) * a1;
DDP3:(MA(DDP1,M)) * a1;
DRAWTEXTABS(0,0,'红色DDP');
DRAWGBKLAST((CLOSE > 0),STRIP(RGB(96,96,96),RGB(28,28,28),0));
DRAWTEXTREL(66,1,'"红色DDP"由红色星河制作 红柱表示拉升强度,绿柱表示抛空强度,博客:http://blog.sina.com.cn/ylhktk '),Color999999;
{指标类型:技术指标 --- 红色系统}
- 上一篇:通达信抓住黑马指标公式 2016/5/31
- 下一篇:红色DDX 2016/5/31