A:=IF((CLOSE>126.32),(AMOUNT)/(100000),vol);
主力:MA(A,4),LINETHICK0,COLORYELLOW;
游资:MA(A,8),LINETHICK0,COLOR00FF00;
大户:MA(A,16),LINETHICK0,COLORRED;
散户:MA(A,32),LINETHICK0,COLORF0F000;
主比:Abs(((主力)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLORYELLOW;
游比:ABS(((游资)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLOR00FF00;
大比:ABS(((大户)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLORRED;
散比:ABS(((散户)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLORF0F000;
{ _通达信股票指标公式}
警戒线:MA(A,180),COLORFF66FF,LINETHICK1;
STICKLINE((主力 > 0),0,主力,3,0),COLOR009CFF;
STICKLINE((主力 > 0),0,主力,2.8,0),COLOR009CFF;
STICKLINE((主力 > 0),0,主力,2.5,0),COLOR00C0FF;
STICKLINE((主力 > 0),0,主力,1.5,0),COLOR00D1FF;
STICKLINE((主力 > 0),0,主力,1,0),COLOR00EAFF;
STICKLINE((主力 > 0),0,主力,0.7,0),COLORYELLOW;
STICKLINE((游资 > 0),0,游资,3,0),COLOR00C100;
STICKLINE((游资 > 0),0,游资,2.8,0),COLOR00CA00;
STICKLINE((游资 > 0),0,游资,2.5,0),COLOR00D300;
STICKLINE((游资 > 0),0,游资,1.5,0),COLOR00DB00;
STICKLINE((游资 > 0),0,游资,1,0),COLOR00EA00;
STICKLINE((游资 > 0),0,游资,0.7,0),COLORGREEN;
STICKLINE((大户 > 0),0,大户,3,0),COLOR1020AA;
STICKLINE((大户 > 0),0,大户,2.8,0),COLOR1020BB;
STICKLINE((大户 > 0),0,大户,2.5,0),COLOR1020CC;
STICKLINE((大户 > 0),0,大户,1.5,0),COLOR1020DD;
STICKLINE((大户 > 0),0,大户,1,0),COLOR1020EE;
STICKLINE((大户 > 0),0,大户,0.7,0),COLORRED;
STICKLINE((散户 > 0),0,散户,3,0),COLORFF7700;
STICKLINE((散户 > 0),0,散户,2.8,0),COLORFF8800;
STICKLINE((散户 > 0),0,散户,2.5,0),COLORFF9900;
STICKLINE((散户 > 0),0,散户,1.5,0),COLORFFAA00; STICKLINE((散户 > 0),0,散户,1,0),COLORFFBB00;
STICKLINE((散户 > 0),0,散户,0.7,0),COLORLIBLUE;