通道五线主图指标 (源码)

2012-05-19 09:28:00来源:本站整理浏览:1283

通达信通道五线主图指标公式股票软件源码如下:

MA1:=MA(C,20);
JX1:=IF(CAPITAL=0,IF(PERIOD=7,1.11,IF(PERIOD=8,1.30,1.06)),IF(PERIOD=7,1.20,IF(PERIOD=8,1.38,1.14)));
JX2:=IF(CAPITAL=0,IF(PERIOD=7,1.09,IF(PERIOD=8,1.25,1.05)),IF(PERIOD=7,1.15,IF(PERIOD=8,1.33,1.11)));
JX3:=IF(CAPITAL=0,IF(PERIOD=7,0.985,IF(PERIOD=8,1.01,0.985)),IF(PERIOD=7,0.99,1.01));
JX4:=IF(CAPITAL=0,IF(PERIOD=7,0.88,IF(PERIOD=8,0.75,0.93)),IF(PERIOD=7,0.85,IF(PERIOD=8,0.75,0.90)));
JX5:=IF(CAPITAL=0,IF(PERIOD=7,0.85,IF(PERIOD=8,0.70,0.92)),IF(PERIOD=7,0.80,IF(PERIOD=8,0.70,0.86)));
疯狂:MA1*JX1,COLOR0000DD,LINETHICK2;
超买:MA1*JX2,COLOR00DDDD,LINETHICK2;
轴心:MA1*JX3,COLOR0000FF;
{股票软件下载网-股票公式网站 www.gpxiazai.com}
IF(轴心<REF(轴心,1),轴心,DRAWNULL),COLOR00FF00;
超卖:MA1*JX4,COLOR00DDDD,LINETHICK2;
恐慌:MA1*JX5,COLOREEDD00,LINETHICK2;
STICKLINE(C>O,CLOSE,O,2.8,0),COLOR000055;
STICKLINE(C>O,CLOSE,O,2,0),COLOR000088;
STICKLINE(C>O,CLOSE,O,1.5,0),COLOR0000AA;
STICKLINE(C>O,CLOSE,O,1,0),COLOR0000CC;
STICKLINE(C>O,CLOSE,O,0.5,0),COLOR0000EE;
STICKLINE(C>O,H,L,0,0),COLOR0000EE;
STICKLINE(C<O,CLOSE,O,2.8,0),COLOR555500;
STICKLINE(C<O,CLOSE,O,2,0),COLOR888800;
STICKLINE(C<O,CLOSE,O,1.5,0),COLORAAAA00;
STICKLINE(C<O,CLOSE,O,1,0),COLORCCCC00;
STICKLINE(C<O,CLOSE,O,0.5,0),COLOREEEE00;
STICKLINE(C<O,H,L,0,0),COLOREEEE00;
FD:=(H/疯狂-1)*100;
BL:=(H/C-1)*100;
FK:=IF(CAPITAL=0,COUNT(H>疯狂,3)=3,COUNT(H>疯狂,3)>=2 AND FD>8 AND BL<0.4);
DRAWICON(CROSS(H,超买) OR CROSS(C,超买),H*1.02,2);
DRAWICON(L<超卖 AND C>=超卖,L*0.99,1);
DRAWICON(FK,H*1.01,8);

通达信通道五线主图指标公式

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式