VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=IF(YEAR =2099 AND MONTH 2,0,1);
VAR3:=LLV(LOW,5);
VAR4:=HHV(HIGH,4);
散户:=EMA((VAR1-VAR3)/(VAR4-VAR3)*100,4)*VAR2;
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR2;
低买:IF(CROSS(散户,庄家) AND 散户 47,0.3,0),LINETHICK2,COLOR80FF00;
DRAWTEXT(CROSS(散户,庄家) AND 散户 47,0.3, 低买 ),COLORLIRED;
AA1:=((AMOUNT / INDEXA) * 100000000);
AA:=(AA1 / CAPITAL);
资金值:=((AMOUNT / (( 1a0001$AMOUNT + 399001$AMOUNT ) / 2)) * 100);
BB:=MA(SUM(IF((CLOSE REF(CLOSE,1)),资金值,IF((CLOSE REF(CLOSE,1)),(0 - 资金
值),0)),0),2);
三日资金流入值:WMA(BB,3),LINETHICK2,colorFF00;
五日资金流入值:WMA(BB,5),LINETHICK2,colorFF;
十三日资金流入值:WMA(BB,13),LINETHICK2,colorFFFF00;
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;