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

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

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



Rank: 8Rank: 8

1#
发表于 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: 8Rank: 8

2#
发表于 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

3#
发表于 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: 8Rank: 8

4#
发表于 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)

使用道具 举报

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


bottom

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

GMT+8, 2024-5-17 18:49 , Processed in 0.109375 second(s), 11 queries .

花生网 Copyright©2012-2014

回顶部