RCC:=DYNAINFO(3);
DK:=2*(SMA(C,3,1)-SMA(C,5,1));
DRAWBAND(RCC+DK,RGB(85,66,66),RCC,RGB(66,85,66));
STICKLINE(C>REF(C,1),L,H,0.5,0) ,COLOR000000;
STICKLINE(C>REF(C,1),L,H,0.3,0) ,COLOR0000FF;
STICKLINE(C>REF(C,1),L,H,0.1,0) ,COLORCC66FF;
STICKLINE(C>REF(C,1),O,C,3.5,0) ,COLOR000000;
STICKLINE(C>REF(C,1),O,C,3.3,0) ,COLOR000033;
STICKLINE(C>REF(C,1),O,C,3,0) ,COLOR000066;
STICKLINE(C>REF(C,1),O,C,2.6,0) ,COLOR000099;
STICKLINE(C>REF(C,1),O,C,2.1,0) ,COLOR0000CC;
STICKLINE(C>REF(C,1),O,C,1.5,0) ,COLOR0000FF;
STICKLINE(C>REF(C,1),O,C,0.9,0) ,COLORCC66FF;
STICKLINE(C>REF(C,1),O,C,0.3,0) ,COLORFFBBFF;
STICKLINE(C=REF(C,1),L,H,0.5,0) ,COLOR000000;
STICKLINE(C=REF(C,1),L,H,0.3,0) ,COLORBBBBBB;
STICKLINE(C=REF(C,1),L,H,0.1,0) ,COLORFFFFFF;
STICKLINE(C=REF(C,1),O,C,3.5,0) ,COLOR111111;
STICKLINE(C=REF(C,1),O,C,3.3,0) ,COLOR333333;
STICKLINE(C=REF(C,1),O,C,3,0) ,COLOR555555;
STICKLINE(C=REF(C,1),O,C,2.6,0) ,COLOR777777;
STICKLINE(C=REF(C,1),O,C,2.1,0) ,COLOR999999;
STICKLINE(C=REF(C,1),O,C,1.5,0) ,COLORBBBBBB;
STICKLINE(C=REF(C,1),O,C,0.9,0) ,COLORDDDDDD;
STICKLINE(C=REF(C,1),O,C,0.3,0) ,COLORFFFFFF;
STICKLINE(C<REF(C,1),L,H,0.5,0) ,COLOR000000;
STICKLINE(C<REF(C,1),L,H,0.3,0) ,COLORFF6600;
STICKLINE(C<REF(C,1),L,H,0.1,0) ,COLORFFCC00;
STICKLINE(C<REF(C,1),O,C,3.5,0) ,COLOR000000;
STICKLINE(C<REF(C,1),O,C,3.3,0) ,COLOR550000;
STICKLINE(C<REF(C,1),O,C,3,0) ,COLOR990000;
STICKLINE(C<REF(C,1),O,C,2.6,0) ,COLORFF0000;
STICKLINE(C<REF(C,1),O,C,2.1,0) ,COLORFF5500;
STICKLINE(C<REF(C,1),O,C,1.5,0) ,COLORFF8800;
STICKLINE(C<REF(C,1),O,C,0.9,0) ,COLORFFCC00;
STICKLINE(C<REF(C,1),O,C,0.3,0) ,COLORFFFF33;
{ 爱约股_通达信股票指标公式}
九日回归预测价:FORCAST(C,9)COLOR0000FF,LINETHICK2;{不愿看长标题可换成:X9}
九日回归2日最低:LLV(FORCAST(C,9),2)COLOR00FF00,LINETHICK2;{不愿看长标题可换成:LLX}
DRAWTEXT(C/REF(C,1)>1.099,L*0.96,' 涨停');
DRAWICON(C/REF(C,1)>1.099,L*0.96,1);
DRAWTEXT(REF(C,1)/C>1.099,H*1.04,' 跌停');
DRAWICON(REF(C,1)/C>1.099,H*1.04,2);

 

通达信趋势单双线主图指标公式