so every strategy will have the same comment...comment must be the SQX filename
//+------------------------------------------------------------------+
//| RandomTemplate-ADX.sqx EA
//|
//| Generated by StrategyQuant 3.9.128 at 61/17/2019 14:53
extern string CustomComment = "RandomTemplate-ADX.sqx";
a jde o to, že u všech strategií to do komentáře vepíše stejnou hodnotu
extern string CustomComment = "RandomTemplate-ADX.sqx";
do customcomment to má snad doplňovat dle názvu souboru...
pokud to dělat nebude, tak budou mít všechny strategie vytvořené za pomoci templaty stejný komentář
//+------------------------------------------------------------------+
//| RandomTemplate-ADX.sqx EA
//|
//| Generated by StrategyQuant 3.9.128 at 61/17/2019 14:53
//|
//| This EA uses 3rd party library OrderReliable for industry-strength
//| order handling. OrderReliable library is normally distributed under
//| GPL license. Its author provided it under MIT license limited to
//| usage only within strategies generated by StrategyQuant.
//|
//| This means that this library doesn't restrict you to use your EA
//| generated by SQ comercially in any way you want.
//| But if you'll use any method from OrderReliable library outside
//| of this EA in your own EAs or projects, its use will be governed
//| by its standard GPL license.
//|
//| Scroll to the very bottom of this source code for the full text
//| of OrderReliable license.
//+------------------------------------------------------------------+
#property copyright "StrategyQuant.com"
#property link "http://www.StrategyQuant.com"
#include <stdlib.mqh>
#include <stderror.mqh>
const int SLPTTYPE_RANGE = 0;
const int SLPTTYPE_LEVEL = 1;
//+------------------------------------------------------------------+
// -- Variables
//+------------------------------------------------------------------+
extern string CustomComment = "RandomTemplate-ADX.sqx";
to co jste prilozil neni sablona.
Jak jsem psal, mne to funguje, nevim jake nastaveni pouzivate.
Status changed from Waiting for information to Refused
Attachment mt4Blocks.inc added
Pro rychly fix nez vyjde novy build zkuste nahradit soubor \extend\Code\MetaTrader4\mt4Blocks.inc timto prilozenym a znovu vygenerujte strategii.
Udelejte si ale zalohu, neni to otestvano takhle nahrazenim jenom jednoho souboru.
I just tested it and it works for me. When I generate strategy from template it creates new name for every strategy - Strategy 0.1, Strategy 0.2 etc.
And it uses these names in CustomComment variable.
What does it have to do with SQ 3 ? Your .mq4 file is from SQ3, not SQ X.