{参数:p1:最小:-10,最大:10,默认-6}
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1+2*BIAS2+3*BIAS3)/6;
股价趋势:MA(MM,3),colorred;
买入信号:EMA(股价趋势,2);
抄底:IF(股价趋势 p1,-10,-15),colorffcccc;
DRAWTEXT(CROSS(股价趋势,买入信号) AND COUNT(买入信号 p1,2) 1,-10, ┻ ),colorred,LINETHICK3;
STICKLINE((股价趋势 -9),0,-15,4,0 ),COLORcc0033;
STICKLINE((股价趋势 -9),0,-11,4,0 ),COLORff9966;
底部预警信号:
STICKLINE( (股价趋势 -9),0,-6,4,0) ,COLORffcc66;
STICKLINE( (股价趋势 -9),0,-2,4,0 ),COLORffff66;
XY1272:
STICKLINE((股价趋势 -12),10 ,-15,4,0) ,COLOR0066ff;
STICKLINE((股价趋势 -12),10 ,-5,4,0 ),COLOR0099ff;
STICKLINE((股价趋势 -12),10 ,0,4,0 ),COLOR00ccff;
STICKLINE((股价趋势 -12),10 ,3,4,0),COLOR00ffff;