Discussion of article "Why Virtual Hosting On The MetaTrader 4 And MetaTrader 5 Is Better Than Usual VPS" - page 47

 
Good afternoon. tell me to install the copier of trades from one account to another in different dts or in one (if there is a difference), it needs two virtual hosting or how ?
 

Why use a paid service when you can get a free, quality VPS?

And why pay 10 usd a month for a service when there are better-priced VPS with better latency?

Nowadays, all VPS companies have latency tests available, or a list of latencies per broker, and you don't have to spend more than a minute on each VPS site to see this,

Contrary to what the article says, we spend less time checking all this!

 
Leandro Bastos:

Why use a paid service when you can get a free, quality VPS?

And why pay 10 usd a month for a service when there are better-priced VPS with better latency?

Nowadays, all VPS companies have latency tests available, or a list of latencies per broker, and you don't have to spend more than a minute on each VPS site to see this,

Contrary to what the article says, we spend less time to check all this!

Hello Leandro. Could you tell us which one? It could be inbox. If it's Amazon, I've used it, tested it and liked it, but I had a problem and couldn't access my VPS anymore. And the worst thing is that the free version is unsupported, so I haven't been able to access it for a few months. I hope you don't have any real accounts there, at least I don't remember.

The paid version has support, and it's hard to find one for less than 10 usd, unless it's Linux, which I've actually found cheaper, but you have to install Wine, and even then you have to install more stuff, because the system comes raw, at least where I've contracted the service, which is paid for.

 
Hello, I rented a shared hosting, I use an Expert Advisor that limits risks (percentage of losses per day) and "night" trading. The time of the beginning and end of the night, percentage of losses and other parameters are set in the Expert Advisor and all of them work, except for the settings of the beginning and end of the night, when trading is forbidden. Is it possible that the programme is oriented to the local time of the server?
 
tembulat55:
Hello, I rented virtual hosting, I use an Expert Advisor that limits risks (percentage of losses per day) and trading "at night". The time of the beginning and end of the night, percentage of losses and other parameters are set in the Expert Advisor and they all work, except for the settings of the beginning and end of the night, when trading is prohibited. Is it possible that the programme is oriented to the local time of the server?

How do you determine the time in the Expert Advisor?

Added: Time is different

Date and time

A group of functions providing work with data of datetime type (an integer representing the number of seconds elapsed since 0 o'clock on 1 January 1970).

To organise high-resolution counters and timers, you should use the GetTickCount() function, which outputs values in milliseconds.

Function

Action

TimeCurrent

Returns the last known time of the server (time of arrival of the last quote) in datetime format

TimeTradeServer

Returns the estimated current time of the trade server

TimeLocal

Returns the local computer time in datetime format

TimeGMT

Returns GMT time in datetime format, taking into account the transition to winter or summer time according to the local time of the computer on which the client terminal is running.

TimeDaylightSavings

Returns the sign of transition to summer/winter time.

TimeGMTOffset

Returns the current difference between GMT time and the local time of the computer in seconds, taking into account the transition to winter or summer time.

TimeToStruct

Converts from a value of datetime type to a variable of MqlDateTime structure type

StructToTime

Converts from a variable of the MqlDateTime structure type to a value of the datetime type

 
Karputov Vladimir:

Here you better tell me, how do you determine the time in the expert?

Added: Time - it comes in many forms

Date and time

A group of functions providing work with data of datetime type (an integer representing the number of seconds elapsed since 0 o'clock on 1 January 1970).

To organise high-resolution counters and timers, you should use the GetTickCount() function, which outputs values in milliseconds.

Function

Action

TimeCurrent

Returns the last known time of the server (time of arrival of the last quote) in datetime format

TimeTradeServer

Returns the estimated current time of the trade server

TimeLocal

Returns the local computer time in datetime format

TimeGMT

Returns GMT time in datetime format, taking into account the transition to winter or summer time according to the local time of the computer on which the client terminal is running.

TimeDaylightSavings

Returns the sign of transition to summer/winter time.

TimeGMTOffset

Returns the current difference between GMT time and the local time of the computer in seconds, taking into account the transition to winter or summer time.

TimeToStruct

Converts from a value of datetime type to a variable of MqlDateTime structure type

StructToTime

Converts from a variable of the MqlDateTime structure type to a value of the datetime type

Is this option available on shared hosting?
 
Karputov Vladimir:

Here you better tell me, how do you determine the time in the expert?

Added: Time - it comes in many forms

Date and time

A group of functions providing work with data of datetime type (an integer representing the number of seconds elapsed since 0 o'clock on 1 January 1970).

To organise high-resolution counters and timers, you should use the GetTickCount() function, which outputs values in milliseconds.

Function

Action

TimeCurrent

Returns the last known time of the server (time of arrival of the last quote) in datetime format

TimeTradeServer

Returns the estimated current time of the trade server

TimeLocal

Returns the local computer time in datetime format

TimeGMT

Returns GMT time in datetime format, taking into account the transition to winter or summer time according to the local time of the computer on which the client terminal is running.

TimeDaylightSavings

Returns the sign of transition to summer/winter time.

TimeGMTOffset

Returns the current difference between GMT time and the local time of the computer in seconds, taking into account the transition to winter or summer time.

TimeToStruct

Converts from a value of datetime type to a variable of MqlDateTime structure type

StructToTime

Converts from a variable of MqlDateTime structure type to a value of datetime type.

I'll upload a photo later, it's so hard to explain
 
tembulat55:
I'll send you a photo later, it's so hard to explain.
What photo? You need editable code.
 
Karputov Vladimir:
What kind of photo? You need editable code.
Files:
image.jpeg  184 kb
 
Karputov Vladimir:
What kind of photo? I need editable code.
The tenth point is the beginning of the night, on my computer everything works, but on hosting it doesn't.