Lavoro terminato
Tempo di esecuzione 6 ore
Feedback del cliente
Excelente, profissional, rápido.
Feedback del dipendente
Again very good customer. Perfect contact, clear description, good understanding. I really enjoyed working with you. Thank you again !!!
Specifiche
Gostaria de atualizar EA:
Proteção de limite de tempo
A proteção de limite de tempo é útil quando a licença é concedida em caráter temporário, por exemplo, utilizando a versão de teste do software ou quando a licença é concedida em caráter mensal ou anual. Uma vez que seja óbvio que isso possa ser aplicado para Expert Advisors.
A primeira ideia é verificar o tempo de servidor e com base em que permitem que o usuário use o indicador ou Expert Advisor dentro de determinado período de tempo. Depois de expirar, o concessor de licença é capaz de desativar parcialmente ou totalmente a sua funcionalidade ao licenciado.
Exemplo abaixo:
//+------------------------------------------------------------------+ //| TimeLimitProtectedEA.mq5 | //| Copyright 2012, Investeo.pl | //| http://www.investeo.pl | //+------------------------------------------------------------------+ #property copyright "Copyright 2012, Investeo.pl" #property link "http://www.investeo.pl" #property version "1.00" datetime allowed_until = D'2012.02.11 00:00'; int password_status = -1; //+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ int OnInit() { //--- printf("This EA is valid until %s", TimeToString(allowed_until, TIME_DATE|TIME_MINUTES)); datetime now = TimeCurrent(); if (now < allowed_until) Print("EA time limit verified, EA init time : " + TimeToString(now, TIME_DATE|TIME_MINUTES)); //--- return(0); } //+------------------------------------------------------------------+ //| Expert deinitialization function | //+------------------------------------------------------------------+ void OnDeinit(const int reason) { //--- } //+------------------------------------------------------------------+ //| Expert tick function | //+------------------------------------------------------------------+ void OnTick() { //--- if (TimeCurrent() < allowed_until) { } else Print("EA expired.");
}
Con risposta
1
Valutazioni
Progetti
2912
63%
Arbitraggio
122
44%
/
25%
In ritardo
429
15%
In elaborazione
2
Valutazioni
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Informazioni sul progetto
Budget
10 - 20 USD