设为首页收藏本站

 找回密码
 注册
查看: 1621|回复: 1

模型问题 [复制链接]

Rank: 1

精华
0
UID
243612
积分
5
帖子
3
主题
2
阅读权限
10
注册时间
2016-11-24
最后登录
2016-12-13
发表于 2016-12-12 20:42:42 |显示全部楼层
If(Date<>Date[1])
{
HighAfterLongEntry=High;
LowAfterShortEntry=low;
MyRealMp=0;
PlotNumeric("h1",HighAfterLongEntry);
PlotNumeric("l1",LowAfterShortEntry);
}
Else
{
HighAfterLongEntry=Max(HighAfterLongEntry,High);
LowAfterShortEntry=Min(LowAfterShortEntry,Low);
PlotNumeric("h2",HighAfterLongEntry);
PlotNumeric("l2",LowAfterShortEntry);
}
这个模型中,HighAfterLongEntry和LowAfterShortEntry为全局变量,初始值设为0,加载之后发现有的输出值为空值,麻烦看看这段模型是什么意思

Rank: 1

精华
0
UID
241772
积分
20
帖子
17
主题
3
阅读权限
10
注册时间
2016-10-17
最后登录
2021-9-4
发表于 2016-12-13 11:28:56 |显示全部楼层
我已经告诉你了,在你上一个帖子里

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

bottom

静态版|手机版|联系我们|交易开拓者 ( 粤ICP备07044698   

GMT+8, 2024-3-29 23:15

Powered by Discuz! X2 LicensedChrome插件扩展

© 2011-2012 交易开拓者 Inc.

回顶部