//±-----------------------------------------------------------------+ //| RefreshChart.mq5 | //| Copyright 2022, byJJ | //| http://ideiasparainvestir.com | //±-----------------------------------------------------------------+ #property copyright “Copyright 2022, by JJ” #property link “http://ideiasparainvestir.com” #property version “1.00” #property script_show_inputs #property description “Simple Script for Refresh current chart” #include <Charts\Chart.mqh>; //±-----------------------------------------------------------------+ //| Script program start function | //±-----------------------------------------------------------------+ void OnStart() { ChartRedraw(ChartID()); // Redesenha o gr醘ico atual }
让它重新写个简单的,还是不行啊
//±-----------------------------------------------------------------+ //| RefreshChart.mq5 | //| Copyright 2023 | //±-----------------------------------------------------------------+ //±-----------------------------------------------------------------+ //| Script program start function | //±-----------------------------------------------------------------+ void OnStart() { ChartSetSymbolPeriod(0,NULL,0); }
还是应该加强学习
然而按了没反应
有刷新图表的脚本吗
我让ai给我写个刷新图表的脚步,编译失败,他写了个什么