資源描述:
《【股票指標(biāo)公式下載】-【大智慧】智能K線(買(mǎi)線、賣(mài)線)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫(kù)。
1、【大智慧】智能K線(買(mǎi)線、賣(mài)線)-指標(biāo)公式源碼MA5:MA(CLOSE,5),ColorCCCCCC;MA10:MA(CLOSE,10),Color00BBBB;MA20:MA(CLOSE,20),Color00AA00;MA30:MA(CLOSE,30),Color990099;MA40:=MA(C,40);MA60:MA(CLOSE,60),Color000088;MA120:MA(CLOSE,120),Color777700;買(mǎi)線:=ZIG(3,10);賣(mài)線:=MA(買(mǎi)線,3);BU:=cross(買(mǎi)線,賣(mài)線);SEL:=cross(賣(mài)
2、線,買(mǎi)線);drawtext(bu,l*0.95,'真'),linethick2,align1,color00aaff;DRAWICON(bu,l*0.97,7),ALIGN1,VALIGN1;drawtext(sel,h*1.06,'真'),linethick2,align1,color00ff00;DRAWICON(sel,h*1.02,8),ALIGN1,VALIGN1;stickline(買(mǎi)線>=賣(mài)線,low,high,0.1,0),color0000CC;stickline(買(mǎi)線>=賣(mài)線,close,open,7,0),color0
3、000CC;stickline(買(mǎi)線<賣(mài)線,close,open,7,0),colorCCCC00;stickline(買(mǎi)線<賣(mài)線,low,high,0.1,0),colorCCCC00;stickline(cross(買(mǎi)線,賣(mài)線),open,close,7,0),color00AAFF;stickline(cross(賣(mài)線,買(mǎi)線),open,close,7,0),color00DD00;VL:=REF(LOW,1);VAR12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100;VA
4、R14:=MA(VAR12,13);VAR15:=LLV(LOW,34);VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3);VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR110*10.9;T:=FILTER(IF(VAR111<=VAR110ANDVAR18>R
5、EF(VAR18,1),VAR18*8,0),20);DRAWTEXT(T,LOW-0.4,'黎明前的黑暗'),COLORMAGENTA,ALIGN2;bu:=cross(high,SAR(3,1,20));sel:=cross(SAR(3,1,20),low);var1:=last(highsar(3,1,20));drawflagtext(bu,high,'買(mǎi)入'),color00aaff,linethick2;drawflagtext(sel,low,'賣(mài)出'),colorgre
6、en,linethick2;drawflagtext(high=ref(high,1),high,'明日突破'+forcast(sar(3,1,20),max(var1,2))+'建議關(guān)注');drawflagtext(highSAR(3,1,20)andlow<=ref(low,1),low,'明日跌破'+forcast(sar(3,1,20),max(var2,2))+'注意止
7、盈');VAR1:=(C+H+O+L)/4;賣(mài)出:EMA(VAR1,25)*1.12,COLORGREEN,LINETHICK1;買(mǎi)入:EMA(VAR1,25)*0.918,COLORMAGENTA,LINETHICK1;EMA34多空平衡:EMA(C,34),COLORWHITE;DRAWTEXTREL(5,970,'主營(yíng)收入同比增長(zhǎng):'+NUMTOSTRN(FINANCE2(11),2)+'%'+'凈利潤(rùn)同比增長(zhǎng):'+NUMTOSTRN(FINANCE2(10),2)+'%'),COLORMAGENTA;DRAWTEXTREL(5,920
8、,'總股本:'+NUMTOSTRn(FINANCE2(35),0)+'萬(wàn)股'+'流通A股:'+NUMTOSTRn(FINANCE2(37),0)+'萬(wàn)股'+'每股收