SOME EA's working fine on MT4 but NOT when migrated to VPS - They have Indicators with custom timeframes - page 2

 
Fernando Carreiro #:

If your EA is dependant on Offline Charts or DLL calls, then it will not migrate to MQL5 VPS services.

Use normal 3rd party VPS for those situations or change your EA code as not to depend on on Offline Charts or DLL call.

to be specified, I want to draw a histogram generated from the difference between 2 moving averages in 2 different timeframes

I'm already building one but I can't synchronize chart bars with that difference between them. 

 
Fernando Carreiro #:

Your don't need to generate Offline Charts for such a simple indicator as a moving average and that applies to many indicators. Just adjust the period accordingly.

Example: A SMA(20) on H2 translates to a SMA(40) on H1. It will obviously be slightly different because H1 has more resolution than H2, but will be equivalent.


Hi!
What of the MA shift, does the mathematical equivalence apply as well?