本人作了少许改动,并且增加了控盘线的变色,红色启动埋伏说明有主力进入,但不是买点,买点在控盘线上穿红色启动埋伏线或者控盘线变黄,控盘线由黄变灰为短期卖点,下穿红色启动埋伏线为出场时机。
源码
控盘线:wMA(wMA(WINNER(C),3),34)*25,COLORGRAY,LINETHICK2;
PARTLINE(控盘线>wMA(控盘线,3),控盘线),COLORYELLOW,LINETHICK2;
红色启动埋伏:(eMA(IF(LOW<=LLV(LOW,34),(SMA(ABS(LOW-REF(LOW,1)),34,1))/(SMA(MAX(LOW-REF(LOW,1),0),34,1)),0),3))*(10),COLORRED,LINETHICK2;
通达信源码
控盘线:EMA(EMA(WINNER(C),3),34)*25,COLORGRAY,LINETHICK2;
IF(控盘线>wMA(控盘线,3),控盘线,DRAWNULL),COLORYELLOW,LINETHICK2;
红色启动埋伏:(eMA(IF(LOW<=LLV(LOW,34),(SMA(ABS(LOW-REF(LOW,1)),34,1))/(SMA(MAX(LOW-REF(LOW,1),0),34,1)),0),3))*(10),COLORRED,LINETHICK2;