设为首页 收藏本站 切换语言

谁有好用的画趋势线开单的EA,要求可以选择收盘收破趋势线可以开单的

| 发表于 2024-10-10 00:34:16 | 显示全部楼层 |复制链接
谁有好用的画趋势线开单的EA,要求可以选择收盘收破趋势线可以开单的
举报

评论 使用道具

精彩评论1

Aminbhr
D
| 发表于 2024-10-10 21:01:10 | 显示全部楼层
The solution involves creating a function that monitors open trades and closes them if they have been active longer than a specified duration in hours. The function takes an input parameter for the maximum open duration, which is converted into seconds for comparison.

It iterates through all open trades, checking the open time for each one. If the elapsed time since the trade was opened exceeds the defined limit, the function closes that trade. This approach helps in managing risk by preventing trades from being held open for too long, thereby allowing for better control over trading strategies.

举报

点赞 评论 使用道具

发新帖
EA交易
您需要登录后才可以评论 登录 | 立即注册

简体中文
繁體中文
English(英语)
日本語(日语)
Deutsch(德语)
Русский язык(俄语)
بالعربية(阿拉伯语)
Türkçe(土耳其语)
Português(葡萄牙语)
ภาษาไทย(泰国语)
한어(朝鲜语/韩语)
Français(法语)