大智慧金叉线上公式
洗钱A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
洗钱B:=SMA(洗钱A,13,1);
趁势上翘:SMA(洗钱B,5.5,1.5),POINTDOT,LINETHICK6;
黄线在上买:3*洗钱B-2*趁势上翘,LINETHICK2;
粉线在上卖:4*趁势上翘-3*洗钱B,LINETHICK2;
量1:=EMA(洗钱A,3);
量2:=EMA(洗钱A,5);
量3:=EMA(洗钱A,7);
STICKLINE(量1>量2,量3,量1,8,1),COLORRED;
STICKLINE(量1<量2,量3,量1,8,1);
T1:=量2>量3 AND 量1<REF(量1,1);
T2:=量2<量3 AND 量1>REF(量1,1);
STICKLINE(T1,量1,量3,5,0),COLORFF00FF;
STICKLINE(T2,量1,量3,5,0),COLORGREEN;
DRAWTEXTREL(425,750,' ●弱势。黄方块黄线下方走!'),COLORYELLOW,layer0;
DRAWTEXTREL(425,550,' ●强势。 红方块黄线上方走!'),colorRED,layer0;
金叉: CROSS(黄线在上买,粉线在上卖);
DRAWTEXT(金叉,黄线在上买,'★'),COLORBLUE;
EMA3:=EMA(C,3);
EMA13:=EMA(C,13);
梅上升中继:BARSLAST(REF(CROSS(EMA13,EMA3),1)) AND CROSS(EMA3,EMA13);