通达信抢金元宝副图公式 超级棒
多方趋势: (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;
{股海网提供 www.guhai.com.cn}
STICKLINE(多方趋势<空方趋势,多方趋势,空方趋势,2,0),COLORF0F000;
STICKLINE(空方趋势<14 AND 空方趋势>多方趋势,多方趋势,5,2,0);
VARA:= EMA(0.667*REF(多方趋势,1)+0.333*多方趋势,2);
STICKLINE(多方趋势>VARA,多方趋势,VARA,3,0),COLORRED;
金元宝:CROSS(多方趋势,空方趋势) AND 空方趋势<35,NODRAW;
DRAWTEXT(CROSS(多方趋势,空方趋势) AND 空方趋势<45,70,'抢'),COLORYELLOW;
DRAWTEXT(CROSS(多方趋势,空方趋势) AND 空方趋势<45,60,'金'),COLORYELLOW;
DRAWTEXT(CROSS(多方趋势,空方趋势) AND 空方趋势<45,50,'元'),COLORYELLOW;
DRAWTEXT(CROSS(多方趋势,空方趋势) AND 空方趋势<45,40,'宝'),COLORYELLOW;