@fxfun hey there , i used the apply template block a few days ago , everything was working perfectly , can you confirm if the template you are applying is saved after the ea is attached to the chart? (meaning if the template do not have the ea attached then it will remove when the template is applied)
i had a look at the project you have shared above and its not a fxdreema bug , its a logical mistake , here is whats happening :
when you attach the ea to the chart it immediately loads the template which causes the ea to be removed because the template that is being loaded do not have the EA in it so it wont load the EA
Now there are 2 ways to remedy this situation :
Solution 1: https://fxdreema.com/shared/jhulzt8ud
in this way your EA will save the template with EA attached before applying the Template , how ever it will do this on all the charts which will cause some problems hence i added the condition block to check for an int constant
I recommend that you run the EA on the chart with the "Mode = 0" so the EA can save the template with the EA attached , once you get a template with EA on chart , you can change the value to a non zero value and it will always load the template and you can have the ea attached
Solution 2: remove the custom mql block and condition block from my shared project and add a custom mql block before the apply template block and write : Sleep (15000); and attache the ea to the chart and save the template within 15 seconds , ( you can remove that block after you get a template with ea attached )