有没有办法在市场开放时不进行贸易?

发布于 2025-01-20 21:28:02 字数 69 浏览 1 评论 0原文

如果有任何未平仓头寸,则会因市场开盘时(即 9.15)的波动而被平仓。 有什么方法可以让您在前 5 分钟内不进行任何交易吗?

If there is any open position it gets closed due to fluctuations when market opens i.e. at 9.15.
Is there any way to like not take any trade for first 5 minutes?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

清醇 2025-01-27 21:28:02

您可以使用会话时间并设置所需的开始和结束时间。

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © vitruvius

//@version=5
indicator("My script", overlay = true)

timeAllowed = input.session("0920-1500", "Allowed hours")
timeIsAllowed = time(timeframe.period, timeAllowed + ":1234567")
c = timeIsAllowed ? color.new(color.blue, 85) : na
bgcolor(c)

You can use a session time and set your desired start and end times.

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © vitruvius

//@version=5
indicator("My script", overlay = true)

timeAllowed = input.session("0920-1500", "Allowed hours")
timeIsAllowed = time(timeframe.period, timeAllowed + ":1234567")
c = timeIsAllowed ? color.new(color.blue, 85) : na
bgcolor(c)

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文