Topic: Portfolio Expert - Changing SL Values Post Export
I would like to ask some assistance with the following, please.
I created 100 strategies and compiled these into a single portfolio. I thought that the strategies all had a SL of 100 but when I ran the portfolio in MT4 Backtester, I had gaps in the SL column (see attached). I now need to check back and amend each of the strategies so that they have a SL of 100. I tried to do this in the EA Studio but the editor is clunky and each time an amendment is made, a new strategy seems to be created and I end up with duplicates, it's very confusing. I thought it would be easier to just change the code, so I opened the editor in MT4 and there are indeed some lines that say : useStopLoss":false
/*STRATEGY CODE {"properties":{"entryLots":0.01,"stopLoss":100,"takeProfit":100,"useStopLoss":false,"useTakeProfit":false,"isTrailingStop":false}
I changed all these lines from false to true and recompiled it and reran the back test. Unfortunately, there is no change - I am getting exactly the same results and there are still the same trades created with no SL.
Is there something else in the code I should be changing, please?
I have attached the original export file and the one where I changed the values. Thank you.