{ 通达信尊龙通道主图指标公式源码 }
{DRAWGBK(C>0, RGB(0,105,205),RGB(0,134,139),0,'',0);
DRAWKLINE(H,O,L,C);}
CV:=C*V;
BCV:=EMA((EMA(CV,3)/EMA(V,3)+EMA(CV,6)/EMA(V,6)+EMA(CV,12)/EMA(V,12)+EMA(CV,24)/EMA(V,24))/4,13);
IU0:BCV*1.078;
ID0:BCV*0.94;
OE0:EMA(EMA(C,10)*1.54,9),COLORFF00FF,DOTLINE;
IF(OE0>=REF(OE0,1),OE0,DRAWNULL),COLORGREEN;
IF(OE0
OC0:EMA(EMA(C,10)*1.24,9),COLORRED,LINETHICK5;
OU0:EMA(EMA(C,10)*1.14,9),COLORBLUE,LINETHICK5;
OD0:EMA(EMA(C,8)*0.845,8),COLORGREEN,LINETHICK5;
OH0:EMA(EMA(C,9)*0.745,9),COLORFF0080,LINETHICK5;
DRAWBAND(IU0,RGB(155,255,255),OU0,RGB(125,245,235));
DRAWBAND(IU0,RGB(255,240,245),ID0,RGB(256,075,075));
DRAWBAND(ID0,RGB(193,255,193),OD0,RGB(000,000,125));
STICKLINE(OD0<l,c,o,3.1,0),color009999;{黄}
STICKLINE(OD0<l,c,o,2.5,0),color00aaaa;
STICKLINE(OD0<l,c,o,2,0),color00bbbb;
STICKLINE(OD0<l,c,o,1.5,0),color00cccc;
STICKLINE(OD0<l,c,o,1,0),color00dddd;
STICKLINE(OD0<l,c,o,0.5,0),color00eeee;
STICKLINE(OD0<l,c,o,0.1,0),color00ffff;
{灰色K}
STICKLINE(O>=C,H,L,0,0),COLOR909090;
STICKLINE(O>=C,C,O,3.1,0),COLOR606060;
STICKLINE(O>=C,C,O,3.1,0),COLOR707070;
STICKLINE(O>=C,C,O,1.2,0),COLOR808080;
STICKLINE(O>=C,C,O,0.2,0),COLOR909090;
STICKLINE(O<=C,H,L,0,0),COLOR666B6F;
STICKLINE(C>O,C,O,3.1,1),COLOR666B6F;
V2V:=V/REF(V,1)>=1.9 AND C>REF(C,1);
{STICKLINE(C>=O,C,O,3,0),COLOR000045;
STICKLINE(C>=O,C,O,2.5,0),COLOR000065;
STICKLINE(C>=O,C,O,2,0),COLOR000085;
STICKLINE(C>=O,C,O,1.5,0),COLOR0000A5;
STICKLINE(C>=O,C,O,1,0),COLOR0000C5;
STICKLINE(C>=O,C,O,0.5,0),COLOR0000E5;
STICKLINE(C>=O,H,L,0,0),COLOR0000F5;
STICKLINE(C<o,c,o,3,0),color00ff00;
STICKLINE(C<o,c,o,2.5,0),linethick2,color005500;
STICKLINE(C<o,c,o,2,0),linethick2,color007700;
STICKLINE(C<o,c,o,1.5,0),linethick2,color009900;
STICKLINE(C<o,c,o,1,0),linethick2,color00aa00;
STICKLINE(C<o,c,o,0.5,0),linethick2,color00dd00;
STICKLINE(C<o,h,l,0,0),linethick2,color00ff00;};
STICKLINE(OD0>L,C,O,3.1,0),COLOR009999;{黄}
STICKLINE(OD0>L,C,O,2.5,0),COLOR00AAAA;
STICKLINE(OD0>L,C,O,2,0),COLOR00BBBB;
STICKLINE(OD0>L,C,O,1.5,0),COLOR00CCCC;
STICKLINE(OD0>L,C,O,1,0),COLOR00DDDD;
STICKLINE(OD0>L,C,O,0.5,0),COLOR00EEEE;
STICKLINE(OD0>L,C,O,0.1,0),COLOR00FFFF;
STICKLINE(OC0<h,c,o,3.1,0),color770088;
STICKLINE(OC0<h,c,o,2.5,0),color770077;
STICKLINE(OC0<h,c,o,2,0),color990099;
STICKLINE(OC0<h,c,o,1.5,0),colorbb00bb;
STICKLINE(OC0<h,c,o,1,0),colordd00dd;
STICKLINE(OC0<h,c,o,0.5,0),colorff00ff;
STICKLINE(OC0<h,c,o,0.1,0),colorff55ff;< p="">
标签:EMA,尊龙,STICKLINE,OD0,OE0,主图,RGB,源码,OC0 From: https://www.cnblogs.com/zhibiao/p/18062815