AlgoWizard - Saving large strategy fails to retain Buy/Sell Order settings

In AlgoWizard (Build 130.467), when creating large strategies (20+ rules, 50+ parameters), AlgoWizard starts to behave erratically.
When saving the attached sample strategy, several of the settings used in Buy/Sell orders are reset/lost when re-loading the strategy into AlgoWizard.
After re-loading the strategy, it is necessary to search the MT4 source code for "null" symbols in the rules and replace them using the AlgoWizard Editor with "Current" for the 'symbol' in Buy/Sell orders within the rules. Additionally, in the first rule, the 'Close All Positions' block resets the Magic Number and must be changed back to "all". Some of the rules may display Symbol = "Current" in the AlgoWizard Editor, but the MT4 source code has Symbol = "null". These must all be manually changed back to "Current" in the Editor by toggling Symbol to something else and then back to "Current" for the change to take hold.
Saving and re-loading the strategy in AlgoWizard means you have to go through the code and make these changes all over again.


The attached strategy was saved after making all of the edits described above, then the various source code versions were saved. Finally, the strategy was re-loaded into AlgoWizard and then the various source code versions saved again so that you can see the differences.

Attachments
RandomGridTrader v1 after reload.xml
(350.77 KiB)
RandomPriceTrader v1 after reload.txt
(20.34 KiB)
RandomPriceTrader v1 after reload.mq4
(243.12 KiB)
RandomPriceTrader v1.mq4
(243.37 KiB)
RandomGridTrader v1.sqx
(11.73 KiB)
RandomGridTrader v1.xml
(356.64 KiB)
RandomPriceTrader v1.txt
(20.53 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

h
#1

HEJ

02.03.2021 05:56

Task created

h
#2

HEJ

20.05.2021 05:59
The strategy was created using AlgoWizard X Pro Build -1.467


The samples I provided were after making all of the edit fixes to restore the symbol values to 'Current', etc.

If you re-load the strategy into AlgoWizard and go to the Source Code tab and examine the MT4 source code, those symbol value changes have been lost and are now 'null' and must be fixed, again.


In the 'Close All Positions' action block, the Magic Number input field defaults to value 'Any'. My description should have read 'Any' instead of 'All'. Sorry for the confusion.


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please