{ 主圖 }{主圖疊加}{大智慧L2}{原公式限制:0000年 00月 00號}
a1:=1;
a2:=(EMA(CLOSE,3)) * a1;
a3:=(EMA(CLOSE,5)) * a1;
a4:=(EMA(CLOSE,2)) * a1;
a5:=(EMA((((SLOPE(CLOSE,21)) * 20) + CLOSE),42)) * a1;
紅綠黏合為強勢:(HHV((MA(HIGH,13)),13)) * a1,linethick2,colorRed;
綠線(xiàn)下方為弱勢:(LLV((MA(HIGH,13)),1)) * a1,linethick1,colorGreen;
a6:=(EMA(CLOSE,4)) * a1;
DRAWTEXT((CLOSE <= 綠線(xiàn)下方為弱勢),LOW,'↓'),colorGreen;
DRAWTEXT(((((CROSS(a2,a3)) AND (a4 >= a5)) AND (綠線(xiàn)下方為弱勢 = 紅綠黏合為強勢)) AND (CLOSE > 綠線(xiàn)下方為弱勢)),(LOW * 0.987),'追'),colorYellow;
DRAWTEXT(((((a4 >= a5) AND (綠線(xiàn)下方為弱勢 = 紅綠黏合為強勢)) AND (a4 > a6)) AND (CLOSE > 綠線(xiàn)下方為弱勢)),LOW,'▲'),colorMagenta;
a7:=((((a4 >= a5) AND (綠線(xiàn)下方為弱勢 = 紅綠黏合為強勢)) AND (a4 > a6)) AND (CLOSE > 綠線(xiàn)下方為弱勢)) AND ((REF(綠線(xiàn)下方為弱勢,1)) < (REF(紅綠黏合為強勢,1)));
DRAWTEXT(a7,(LOW * 0.987),'牛'),colorYellow;
a8:=((((HIGH + LOW) + OPEN) + (2 * CLOSE)) / 5) * a1;
a9:=(REF(a8,1)) * a1;
a10:=((SMA((MAX((a8 - a9),0)),10,1)) / (SMA(ABS((a8 - a9)),10,1))) * 100;
a11:=IF((((((COUNT((a10 < 20),5)) >= 1) AND ((COUNT((a8 = (LLV(a8,10))),10)) >= 1)) AND (CLOSE >= (OPEN * 1.038))) AND (VOL > ((MA(VOL,5)) * 1.2))),1,0);
DRAWTEXT(a11,LOW,'超跌關(guān)注'),colorRed;
DRAWTEXTREL(15,30,'出現‘▲’買(mǎi)'),linethick2,colorMagenta;
DRAWTEXTREL(180,30,'出現‘↓’賣(mài)'),linethick2,colorGreen;
DRAWTEXTREL(350,30,'0000:00000000'),linethick2,colorWhite;
(南方財富網(wǎng)SOUTHMONEY.COM)