趋势擒龙源码
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED,LINETHICK3;
DEA:EMA(DIF,9),COLORRED,LINETHICK0;
DRAWTEXT(CROSS(DIF,DEA),DIF-0,'大帥买点'),COLORRED;
DRAWTEXT(CROSS(DEA,DIF),DIF+0,'大帥卖点'),COLORGREEN;
大帥彩柱:(DIF-DEA)*2,COLORSTICK;
STICKLINE(((大帥彩柱 REF(大帥彩柱,1)) AND (大帥彩柱 0)),0,大帥彩柱,1,0),COLORLIBLUE,LINETHICK2;
STICKLINE(((大帥彩柱 REF(大帥彩柱,1)) AND (大帥彩柱 0)),0,大帥彩柱,1,0),COLORFF00FF,LINETHICK2;
_趋势起爆:ABS((CROSS( MACD.DIF , MACD.DEA )
MACD.DEA =-0.07)* MACD.DIF )*1.50,COLORLIMAGENTA;
_DIF: MACD.DIF ,COLORGREEN;
_DEA: MACD.DEA
__强度:IF(_DIF _DEA,_DIF,DRAWNULL),COLORRED,LINETHICK1;
_强度:IF(_DEA _DIF,_DEA,DRAWNULL);
DRAWTEXT(ABS(_趋势起爆) 0,_趋势起爆*1.2,' 趋势起爆'),COLORYELLOW;
DRAWICON(CROSS(_DIF,_DEA),_DEA,1);
DRAWICON(CROSS(_DEA,_DIF),_DEA,2);