What was the output in the Experts tab of the Toolbox subwindow after you executed the script?
I just did another try on demo account , here is the Output:
2021.11.12 14:18:16.342 PSC-Trader (USDJPY,M5) Detected position size: 0.11.
2021.11.12 14:18:16.348 PSC-Trader (USDJPY,M5) Detected entry level: 114.017.
2021.11.12 14:18:16.349 PSC-Trader (USDJPY,M5) Detected entry type: Instant.
2021.11.12 14:18:16.349 PSC-Trader (USDJPY,M5) Detected stop-loss level: 113.915.
2021.11.12 14:18:16.350 PSC-Trader (USDJPY,M5) Detected take-profit level: 114.060.
2021.11.12 14:18:16.359 PSC-Trader (USDJPY,M5) Detected Multiple TP #1 = 114.06
2021.11.12 14:18:16.366 PSC-Trader (USDJPY,M5) Detected Multiple TP Share #1 = 33
2021.11.12 14:18:16.372 PSC-Trader (USDJPY,M5) Detected Multiple TP #2 = 114.05
2021.11.12 14:18:16.385 PSC-Trader (USDJPY,M5) Detected Multiple TP Share #2 = 33
2021.11.12 14:18:16.408 PSC-Trader (USDJPY,M5) Detected Multiple TP #3 = 114.041
2021.11.12 14:18:16.415 PSC-Trader (USDJPY,M5) Detected Multiple TP Share #3 = 33
2021.11.12 14:18:16.446 PSC-Trader (USDJPY,M5) Multiple TP volume share sum = 99.0.
2021.11.12 14:18:16.446 PSC-Trader (USDJPY,M5) Netting mode detected. Multiple TPs won't work. Setting one TP at 100% volume.
OH , I see it now. I just set the account to Hedging and now it's working. Nice! Thank you