You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
No WinAPI calls in code. I have other EA coded somewhere mid 2020 with the same custom indicators and at that time compiler included custom indicators inside EA and still works fine on VPS. Now it does not include in compilation.
We all know that metatrader update the code every other week so I am just wondering if something change in compiler. Probably a work around this is to just load both custom indicators and EA in the chart and then migrate to VPS, but I dont see the point of loading indicators in a chart into a VPS that doesnt even have a monitor screen to watch.
thanks
Here are the files so you can check. I am no seller in market so this is my contribution, I do this to learn and help each other. Indicators are public in code base and EA is coded the way I learned here. Thanks
Ok here I go again. This used to work a few months ago.
Not tried using #resource "\\Indicators\\SampleIndicator.ex5" yet. Thanks for your patience.
If you are using ocean nms from here https://www.mql5.com/en/code/30331, then the name of the called indicator in the iCustom() call is wrong
Same for the Bollinger bands squeeze (you have left out the 3 "_" from the name)
Here are the files so you can check. I am no seller in market so this is my contribution, I do this to learn and help each other. Indicators are public in code base and EA is coded the way I learned here. Thanks
Your Expert Advisor ( WPR EA 1.mq5 ) starts up, no problem.
Your Expert Advisor ( WPR EA 1.mq5 ) starts up, no problem.
Did you try send it to VPS ?, this is when I get the problem. It run good in my terminal but not in VPS.
Did you try send it to VPS ?, this is when I get the problem. It run good in my terminal but not in VPS.
What is VPS in your understanding?
If you are using ocean nms from here https://www.mql5.com/en/code/30331, then the name of the called indicator in the iCustom() call is wrong
Same for the Bollinger bands squeeze (you have left out the 3 "_" from the name)
I renamed the files and left blank spaces instead of _ or ()
It works in my terminal with no errors, the problem is when migration to mql5 VPS.
Great indicators by the way!!
What is VPS in your understanding?
is the service offered by mql5 VPS to run 24/7 your EA
is the service offered by mql5 VPS to run 24/7 your EA
An exe file is sent to the hosting - custom indicators are not sent. So you need (for custom indicators) to use #resource.
This has been tested and it works.
An exe file is sent to the hosting - custom indicators are not sent. So you need (for custom indicators) to use #resource.
This has been tested and it works.
Ok, can you send me or point me to an example of code using #resource I get confused about \\ and :: etc
Thanks