大智慧跳空缺口-主圖中顯示跳空缺口的白線(源碼)
主圖中顯示跳空缺口的白線(源碼):
MA1:MA(CLOSE,P1);{P1是均線參數(shù),可以自己設} MA2:MA(CLOSE,P2); MA3:MA(CLOSE,P3); MA4:MA(CLOSE,P4); MA5:MA(CLOSE,P5); MA6:MA(CLOSE,P6); Gapup:=low>ref(high,1); cond1:=llv(low,barslast(Gapup))>=ref(high,barslast(gapup)+1); cond2:=backset(cond1,3); cond22:=cond2>ref(cond2,1); cond222:=llv(low,barslast(cond22))>=ref(high,barslast(cond22)); cond2222:=low<ref(high,barslast(cond22)); stickline(cond222 and barslast(cond22)>=2,LLV(low,barslast(cond22)),ref(high,barslast(cond22)),20,0),colorgray,layer5; A1:=amount*(bigorder(1,2)-bigorder(2,2))/10000; A5:=sum(A1,5); A10:=sum(A1,10); A20:=sum(A1,20); drawtextrel(0,40,'今日資金流入:'+numtostrn(A1,1)+'萬'),colorwhite; drawtextrel(0,80,'5日 資金流入:'+numtostrn(A5,1)+'萬'),colorgreen; drawtextrel(0,120,'10日資金流入:'+numtostrn(A10,1)+'萬'),coloryellow; 本文來源于好股票軟件下載網(wǎng) http://www. |
|