欢迎您光临花生网社区!
| |

 找回密码
 立即注册
查看: 7298|回复: 12
打印 上一主题 下一主题

如何编写虚拟成交量 [复制链接]



Rank: 2

跳转到指定楼层
1#
发表于 2013-4-19 09:40:45 |只看该作者 |正序浏览 | [分享到 腾讯微博 新浪微博]
在1分钟图表上,如何根据现在成交量虚拟出本周起成交量。通达信和大智慧都有虚拟成交量公式,但他的函数不能再平台运行。

使用道具 举报



Rank: 2

13#
发表于 2014-7-25 11:55:20 |只看该作者 | [分享到 腾讯微博 新浪微博]
学习中

使用道具 举报



Rank: 2

12#
发表于 2013-5-9 11:18:45 |只看该作者 | [分享到 腾讯微博 新浪微博]
我现在版本是v1.0.021版,在这个版本也是我最近刚安装的。不知道最新版本应该在哪里下载。这个版本你的指标还是不能运行,麻烦指导一下。

使用道具 举报



Rank: 8Rank: 8

11#
发表于 2013-5-8 15:32:26 |只看该作者 | [分享到 腾讯微博 新浪微博]
asd123asd159 发表于 2013-5-8 15:19
哥们你公式通不过,行1错误:未知系统函数。

你很老的版本了吧,用最新的版本看看。
1,Initial stop loss
2,Trailing stop loss(Moves up from initial stop to reduce risk,Protects us at break-even point)
3,Profit protection stop(Keeps winning trades from becoming losses,Locks in a portion of the open profit)
4,Profit maximizing exit(Attempts to exit without giving back profits)

使用道具 举报



Rank: 2

10#
发表于 2013-5-8 15:19:07 |只看该作者 | [分享到 腾讯微博 新浪微博]
哥们你公式通不过,行1错误:未知系统函数。

使用道具 举报



Rank: 8Rank: 8

9#
发表于 2013-4-22 11:29:53 |只看该作者 | [分享到 腾讯微博 新浪微博]
aa:intpart((CURRENTTIME-SessFirstBarTime)/100);
WOL:IF((DataCount-BarPos+1)=1 AND DataPERIOD=P_DAY,VOL*240/aa,Invalid),LineThick0;
STICKLINE((DataCount-BarPos+1)=1 AND DataPERIOD=P_DAY,WOL,0,8,1);
1,Initial stop loss
2,Trailing stop loss(Moves up from initial stop to reduce risk,Protects us at break-even point)
3,Profit protection stop(Keeps winning trades from becoming losses,Locks in a portion of the open profit)
4,Profit maximizing exit(Attempts to exit without giving back profits)

使用道具 举报



Rank: 2

8#
发表于 2013-4-22 10:48:27 |只看该作者 | [分享到 腾讯微博 新浪微博]
感谢你仔细回答,你让我明白second只能应用在分笔数据上。
请帮忙把公式
WOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORFFFFFF;
修改成金魔方公式。感谢

使用道具 举报



Rank: 8Rank: 8

7#
发表于 2013-4-22 10:11:58 |只看该作者 | [分享到 腾讯微博 新浪微博]
未命名.jpg

代码:
  1. aa:second;
复制代码运行代码
1,Initial stop loss
2,Trailing stop loss(Moves up from initial stop to reduce risk,Protects us at break-even point)
3,Profit protection stop(Keeps winning trades from becoming losses,Locks in a portion of the open profit)
4,Profit maximizing exit(Attempts to exit without giving back profits)

使用道具 举报



Rank: 8Rank: 8

6#
发表于 2013-4-22 10:02:47 |只看该作者 | [分享到 腾讯微博 新浪微博]
未命名.jpg


这是我在分笔图上看到的second返回值。

如果您用在1分钟图返回0 ,是正常的,见下图,11:01(11点01分0秒),所以返回0,

未命名.jpg

1,Initial stop loss
2,Trailing stop loss(Moves up from initial stop to reduce risk,Protects us at break-even point)
3,Profit protection stop(Keeps winning trades from becoming losses,Locks in a portion of the open profit)
4,Profit maximizing exit(Attempts to exit without giving back profits)

使用道具 举报



Rank: 2

5#
发表于 2013-4-22 09:53:47 |只看该作者 | [分享到 腾讯微博 新浪微博]
SECOND函数为什么输出是零。
这里有人能帮助我解决问题吗?如果没有我应该在哪里提问。

使用道具 举报

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


bottom

Archiver|www.hs633.com ( 粤ICP备11107430号 )

GMT+8, 2024-5-17 18:24 , Processed in 0.109368 second(s), 12 queries .

花生网 Copyright©2012-2014

回顶部