通达信公式挖金矿
多方趋势: (7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1)),COLORWHITE;
空方趋势: EMA(MA(多方趋势,5),7),LINETHICK1,COLORF0F000;
STICKLINE(多方趋势 空方趋势,多方趋势,空方趋势,3,0),COLORF0F000;
STICKLINE(空方趋势 14 AND 空方趋势 多方趋势,多方趋势,10,5,0);
VARA:= EMA(0.667*REF(多方趋势,1)+0.333*多方趋势,2);
STICKLINE(多方趋势 VARA,多方趋势,VARA,5,0),COLORRED;
B1:= 多方趋势 VARA;
介入¥:= B1 REF(B1,1) AND 多方趋势
DRAWTEXT(介入¥,60, 关注 ),COLORFF0000;
关注: B1 REF(B1,1) AND 多方趋势
金矿: CROSS(多方趋势,空方趋势) AND 空方趋势
DRAWTEXT(CROSS(多方趋势,空方趋势) AND 空方趋势 45,30, 金矿 ),COLORYELLOW;