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;