飞狐加速线指标公式
2014-12-19 21:27:27点击:
input:n1(5,0,100),n2(10,0,100),n3(20,0,100),n4(1,1,10),m1(7,0,60),m2(2,0,10);
{DRAWGBK((DATE > 0),COLORRGB(40,40,60),COLORRGB(10,10,10),1);}
X:=sma((hhv(h,m1)-c)/(hhv(h,m1)-llv(l,m1))*100,m2,1),linethick0;
加速线:x,color00ff00,LINEDOT,linethick1;
LC := ref(c,N4),linethick0;
RSI1:sma(hhv(c-LC,0),N1,1)/sma(abs(c-LC),N1,1)*100,COLORRED,LINETHICK1;
RSI2:sma(hhv(c-LC,0),N2,1)/sma(abs(c-LC),N2,1)*100;
RSI3:sma(hhv(c-LC,0),N3,1)/sma(abs(c-LC),N3,1)*100,color0099ff,LINETHICK2;
partline((RSI1 < RSI2),RSI1 ),colorAA8800,LINETHICK1;
partline((RSI2 > RSI1),RSI2 ),colorAA8800,LINETHICK1;
partline((RSI3 > RSI2),RSI3 ),colorAA8800,LINETHICK2;
{DRAWGBK((DATE > 0),COLORRGB(40,40,60),COLORRGB(10,10,10),1);}
X:=sma((hhv(h,m1)-c)/(hhv(h,m1)-llv(l,m1))*100,m2,1),linethick0;
加速线:x,color00ff00,LINEDOT,linethick1;
LC := ref(c,N4),linethick0;
RSI1:sma(hhv(c-LC,0),N1,1)/sma(abs(c-LC),N1,1)*100,COLORRED,LINETHICK1;
RSI2:sma(hhv(c-LC,0),N2,1)/sma(abs(c-LC),N2,1)*100;
RSI3:sma(hhv(c-LC,0),N3,1)/sma(abs(c-LC),N3,1)*100,color0099ff,LINETHICK2;
partline((RSI1 < RSI2),RSI1 ),colorAA8800,LINETHICK1;
partline((RSI2 > RSI1),RSI2 ),colorAA8800,LINETHICK1;
partline((RSI3 > RSI2),RSI3 ),colorAA8800,LINETHICK2;
- 上一篇:飞狐飞刀筹码指标公式 2014/12/19
- 下一篇:飞狐黄金岸线主图指标公式 2014/12/19