pine-script - Pinescript v4 更改功能
问题描述
为什么这些实现有不同的结果?
highChange = change(high)
lowChange = change(low)
plot(((change(high) > change(low) and change(high) > 0 ? change(high) : 0)), linewidth = 1, color = color.red)
plot(((highChange > lowChange and highChange > 0 ? highChange : 0)), linewidth = 1, color = color.blue)
解决方案
推荐阅读
- angularjs - Angular JS 多语言翻译
- c++ - 如何解决带有指向 Base 的指针的 Base 类必须是指向 Son 的指针?(在 C++ 中)
- ruby - 如何将文件写入目录或文件夹。红宝石
- python - 如何在 Sympy 表达式中获得第 n 个术语?
- vhdl - VHDL:通过std_logic_vector的相应宽度的宽度找到整数范围
- bootstrap-4 - 引导表单元格中的响应式 ChartJS
- amazon-web-services - AWS VPC:路由表如何将本地流量重定向到正确的子网和实例?
- python - 使用 Django/Python 时查找唯一查询值
- ios - UITableViewController 上的 selectRowAtIndexPath
- c++ - 用 T=int& 返回 T(t),如何?