通达信丁丁买入公式
丁丁主力线:=EMA(C,3),COLORWHITE;
丁丁跟随主力线:=EMA(C,5),COLORYELLOW;
丁丁辅助主力线:=EMA(C,7),COLORBROWN;
丁短线回踩支撑:=EMA(C,10),COLORLIGREEN;
丁丁启动线:=EMA(C,20),COLORRED,LINETHICK2;
SS:=CROSS(丁丁主力线,丁丁跟随主力线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁跟随主力线,丁丁辅助主力线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁跟随主力线,丁短线回踩支撑) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁主力线,丁丁辅助主力线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁主力线,丁短线回踩支撑) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁跟随主力线,丁丁辅助主力线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁跟随主力线,丁丁启动线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁辅助主力线,丁短线回踩支撑) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁跟随主力线,丁丁启动线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁主力线,丁丁启动线);
DRAWTEXT(SS,L-0.04,'丁丁买入'),COLORMAGENTA;