1753213841421.png
Hi I am getting this error when trying to compile. What should I do?
i moved all files as well, nothing is missing.
This is for MT4 version
 
View attachment 33700
Hi I am getting this error when trying to compile. What should I do?
i moved all files as well, nothing is missing.
This is for MT4 version
It looks like you are either compiling an .mqh file instead of .mq4. Or you are trying to compile the MT4 version in MT5 (there is no dark mode in MT4 MetaEditor).
 
It looks like you are either compiling an .mqh file instead of .mq4. Or you are trying to compile the MT4 version in MT5 (there is no dark mode in MT4 MetaEditor).
Thank you, I downloaded MT4 from the official site and it installed mt5 instead. i went on to download it from my broker instead and it worked. Thanks again
 
You know, I've just recompiled the EA and it now works fine:

View attachment 33735
Could you please try recompiling it and let me know if it works for you?
This works now. Thank you.
However, I still don't know how to save settings for PS, so when I right-click on a "currency" in Market Watch > then click on Chart Window, so PS opens with settings that I saved before.
I thought that I will achieve this with a saved template (test.txt) and that it will load everytime a new PS in a new chart is launched.
Is there any way to achieve this?
 
This works now. Thank you.
However, I still don't know how to save settings for PS, so when I right-click on a "currency" in Market Watch > then click on Chart Window, so PS opens with settings that I saved before.
I thought that I will achieve this with a saved template (test.txt) and that it will load everytime a new PS in a new chart is launched.
Is there any way to achieve this?
For that, you have to save a chart template with the Position Sizer on it and name it default.tpl.
 
For that, you have to save a chart template with the Position Sizer on it and name it default.tpl.
Finally! I achieved what I wanted. Thank you!
I would just add that in my case it was necessary to set up the PS in input parameters (and not just in the PS tabs) before saving it as a chart template.
 
hello,
first of all thank you a lot for the work you do for us,
im trying to use the expert but it gives me
" Position Sizer .DE40.u,M1: Execution failed. Error: 4112 - unknown error."
it makes the sound like there is insuficinet funds to open a trade