主力:EMA(CLOSE,10),COLOR0000FF;
散戶:EMA(CLOSE,5),COLORFFFFFF; 綠降:(46.18 * EMA(CLOSE,10) - 31.82 * EMA(CLOSE,4)) / 14.36,COLOR33FF00,LINETHICK1; 操盤:MA(CLOSE,9),COLOR00a5ff,LINETHICK1; 界點(diǎn):MA(CLOSE,20),COLORFF9900; 買:CROSS(操盤,界點(diǎn)),COLOR00a5ff,LINETHICK0; DRAWTEXT(買,LOW*0.98,'▲\n買'),COLOR00a5ff,align; LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); EMA3:=EMA(CLOSE,3); EMA21:=EMA(CLOSE,21); 底背離:CROSS(EMA3,EMA21),COLOR0000FF,LINETHICK0; DRAWTEXT(底背離,LOW*0.98,'▲\n底\n背\n離'),COLOR0000FF,align; kR:=MAX(MAX((HIGH - LOW),ABS(REF(CLOSE,1) - HIGH)),ABS(REF(CLOSE,1) - LOW)); ATR:=MA(kR,14); AA:=(HHV(HIGH,20) - (2 * ATR)); BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1)); SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE); BBB:=BARSLAST(BB); SSSB:=BARSLAST(SSS); 跟:((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1))),COLORYELLOW,LINETHICK0; B1B:=BARSLAST(跟); 加:((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3)),COLORFFAAFF,LINETHICK0; B2B:=BARSLAST(加); 險(xiǎn)中求勝:((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2)),COLORfffacd,,LINETHICK0; DRAWTEXT((跟 = 1),LOW*0.93,'▲\n跟'),COLORYELLOW,align; DRAWTEXT((加 = 1),LOW*0.93,'▲\n加'),COLORFFAAFF,align; DRAWTEXT((險(xiǎn)中求勝 = 1),LOW*0.93,'▲\n險(xiǎn)\n中\(zhòng)n求\n勝'),COLORfffacd,align; 超牛:CROSS(操盤,界點(diǎn)) and CROSS(主力,界點(diǎn)),COLORff00ff,LINETHICK0; DRAWTEXT(超牛,LOW*0.90,'▲\n超\n牛'),COLORFF00FF,align; {高拋} Var2:=REF(CLOSE,1); Var3:=SMA(MAX(CLOSE-Var2,0),6,1)/SMA(ABS(CLOSE-Var2),6,1)*100; DRAWTEXT(CROSS(84,Var3),HIGH*1.10,'出\n貨\n▼'),linethick1,color00ff00,ALIGN; |
|