When I press F7 I see the "Compiling (script) message in VS Code's OUTPUT console.
The MetaEditor window is also opened immediately, and the ex5 file is generated.
However the EA's inputs (settings) in the Strategy Tester remain unchanged.
When I say that the inputs remain unchanged, what I mean is: If I had just tested a different EA it shows the previous EA's inputs. Or, if the current EA's inputs were already showing and I have added a new input in the current EA before compiling, the new input does not show.
If I want the input to be updated in the Strategy Tester I have to actually press F7 in the MT5 IDE. If I do then the inputs of the current EA are shown or updated instantly.
Also, if I compile an EA from VS Code (with or wihout script) and the load it in the Strategy Tester it will not show its inputs. Only if I compile from MT5 IDE will it show its inputs when I load it in the Strategy Tester.
Hi, the MQL Tools extension works fantastically well, but there is one issue I have been unable to fix.
When I use the compile Script to compile it does not update (re-load) the EA's settings in the strategy tester.
I have the following in my VS Code's keybindings.json:
When I press F7 I see the "Compiling (script) message in VS Code's OUTPUT console. The MetaEditor window is also opened immediately, and the ex5 file is generated.
However the EA's inputs (settings) in the Strategy Tester remain unchanged.
When I say that the inputs remain unchanged, what I mean is: If I had just tested a different EA it shows the previous EA's inputs. Or, if the current EA's inputs were already showing and I have added a new input in the current EA before compiling, the new input does not show.
If I want the input to be updated in the Strategy Tester I have to actually press F7 in the MT5 IDE. If I do then the inputs of the current EA are shown or updated instantly.
Also, if I compile an EA from VS Code (with or wihout script) and the load it in the Strategy Tester it will not show its inputs. Only if I compile from MT5 IDE will it show its inputs when I load it in the Strategy Tester.