M1:=(CLOSE,10);
VAR1:=IF(DATE 1340830 AND DATE 900101,1,0);
VAR2:=IF(MONTH 12,1,100000);
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
趋势: EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13),LINETHICK2,COLORRED;
人气: EMA(0.667*REF(趋势,1)+0.333*趋势,2),LINETHICK2,COLORYELLOW;
分界: 50*VAR1,COLORWHITE;
DRAWTEXT(CROSS(趋势,30) AND 人气 趋势,30,'介入'),COLORYELLOW;
DRAWTEXT(CROSS(趋势,60) AND 人气 趋势,60,'加持'),COLORRED;
DRAWTEXT(CROSS(趋势,80) AND 人气 趋势,80,'减仓'),COLORMAGENTA;
DRAWTEXT(CROSS(人气,趋势) AND 人气 80,80,'出手'),COLORGREEN;
低吸: IF(CROSS(趋势,人气) AND 趋势 15,20,0),COLORRED;
高抛: IF(CROSS(人气,趋势) AND 人气 85,80,100),COLORGREEN;