通过MQL5社区和服务探索MetaTrader 5的新机遇
- www.mql5.com
The Synchronized Charts script allows comparing bars of different symbols or different periods of the same symbol. Attach the script to a chart and move bars or change the scale, all opened chart will move synchronously with the current one. The bars on different charts aligned to the border according to their open time. CreateGridOrdersTune A...
Forum on trading, automated trading systems and testing trading strategies
When you post code please use the CODE button (Alt-S)!
Thank you.
Forum on trading, automated trading systems and testing trading strategies
don't attach an image, insert the image)
Thank you.
color color1; . . color1 = clrRed; .. color1 = clrGreen;
Xiangdong Guo:
已经按你的建议调整了,但是最终显示结果显示并没有按照预期的那样,根据行情的变化而改变颜色
SWEETBOY1990:
已经按你的建议调整了,但是最终显示结果显示并没有按照预期的那样,根据行情的变化而改变颜色
我记得回复过你的另一个帖子:不要用脚本模板编写指标。
你的对象创建放在了 start() 函数里,而这是脚本才会用的。
你把实体代码从 start() 里挪到 OnCalculate() 里面。