以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  紫框框是什么意思?  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=66338)

--  作者:tomato
--  发布时间:2014/6/19 10:44:27
--  紫框框是什么意思?
请问金字塔里的紫框框是什么意思?怎么回事?
图片点击可在新窗口打开查看此主题相关图片如下:1.jpg
图片点击可在新窗口打开查看

--  作者:jinzhe
--  发布时间:2014/6/19 10:56:56
--  

能不能对上面的截图做一下描述?


--  作者:tomato
--  发布时间:2014/6/19 11:04:22
--  
就是写了一个很简单的程序,在图表中就出现了个框框,以前都没有遇到过,而且就一个框框,不知道是什么情况
--  作者:jinzhe
--  发布时间:2014/6/19 11:12:58
--  
这个我也没看到过,你代码里面有没有使用画矩形的函数DRAWRECT( , , , , , , )
--  作者:tomato
--  发布时间:2014/6/19 11:19:18
--  
没有
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;
就是很简单的程序

--  作者:tomato
--  发布时间:2014/6/19 11:22:30
--  
是一分钟周期哦~
--  作者:admin
--  发布时间:2014/6/19 11:28:12
--  

看看是不是你的VBA代码里有画图代码被执行了


--  作者:jinzhe
--  发布时间:2014/6/19 11:28:15
--  
没有啊,你有没有用画线工具画过图
--  作者:tomato
--  发布时间:2014/6/19 11:34:55
--  
已解决,thanks