date - 模拟更长的时间
问题描述
美好的一天,我有一个在 1 分钟图形中运行的脚本,但是在模拟时,它只模拟一周,我如何编辑它(如果可以的话)以模拟更多时间,所以看看一个月的列表以前(例如)
strategy("Conjunto C-V", overlay=true)
lenv = input(20, minval=1, title="Tiempo StochasticV")
smoothKv = input(1, minval=1, title="SmoothK StochasticV")
smoothDv = input(1, minval=1, title="SmoothD StochasticV")
kv = sma(stoch(close, high, low, lenv), smoothKv)
dv = sma(kv, smoothDv)
//minv = input(2, minval=1, title="MinV")
maxv = input(90, minval=1, title="MaxV")
sellv = (crossover(kv, maxv))
if (sellv)
strategy.entry("short", strategy.short, comment="short")
cierrev = input(6, minval=1, title="Min")
if (sellv[cierrev])
strategy.close("short")
谢谢你们!
解决方案
推荐阅读
- python - 在带有 win32com 的 Microsoft Outlook COM 中使用相对路径
- javascript - 在托管主机服务器上运行 Nodejs,但网站在一段时间后关闭
- performance - 在 5 秒内在单个 jpa 选择查询中获取 20 万条记录
- assembly - 为什么这条 mov gs 指令会导致运行 Windows 7 操作系统的 VMWare Workstation 来宾出现故障?
- mysql - MYSQL:如何避免插入重复记录?
- unit-testing - 速度模板引擎插件或扩展?
- ionic-framework - 在浏览器中输入网址时,Ionic PWA 应用程序非常慢
- bash - 针对目录或文件运行脚本
- python - 字符串中的索引定位器
- javascript - 三 JS - 移动对象时奇怪的光线投射行为