紫框框是什么意思?
作者:金字塔 來(lái)源:cxh99.com 發(fā)布時(shí)間:2015年08月26日
- 咨詢內(nèi)容:
請(qǐng)問(wèn)金字塔里的紫框框是什么意思?怎么回事?
此主題相關(guān)圖片如下:1.jpg
- 金字塔客服:
能不能對(duì)上面的截圖做一下描述?
- 用戶回復(fù):
就是寫了一個(gè)很簡(jiǎn)單的程序,在圖表中就出現(xiàn)了個(gè)框框,以前都沒(méi)有遇到過(guò),而且就一個(gè)框框,不知道是什么情況
- 網(wǎng)友回復(fù):
這個(gè)我也沒(méi)看到過(guò),你代碼里面有沒(méi)有使用畫矩形的函數(shù)DRAWRECT( , , , , , , )
- 網(wǎng)友回復(fù):
沒(méi)有diff:=ema(close,12)-ema(close,26);dea:=ema(diff,9);macd:=2*(diff-dea);ema15:=ema(close,15);n:=barslast(date<>ref(date,1));topen:=valuewhen(n=0,open);//今開tlow:=valuewhen(n=0,low);//今低lclose:=callstock(stklabel,vtclose,6,-1);//昨收jumphigh:=tlow>lclose;//跳空高開jumplow:=tlow<lclose;//跳空低開if (jumphigh and ref(close,1)<lclose and diff>dea and close>ema15)then begin buy(holding=0,1,market);//做多end
if time>=151500 then begin sell(holding>0,holding,market);sellshort(holding<0,holding,market);end
if (holding>0 and (AVGENTERPRICE-close)/AVGENTERPRICE>0.01) then sell(1,holding, market);if (holding<0 and (close-AVGENTERPRICE)/AVGENTERPRICE>0.01) then sellshort(1,holding, market);
資金:asset,noaxis,colorred,linethick2;就是很簡(jiǎn)單的程序