expiry) { Print("YOUR ROBOT IS EXPIRED. ; ExpertRemove(); return(INIT_FAILED); } return(INIT_SUCCEEDED); } // Deinitialization void OnDeinit(const int reason) { // Deinitialization code (if needed) } // Expert Tick Function void OnTick() { // Your OnTick logic here // ... } // Additional Functions (if any) // ... //+------------------------------------------------------------------+ //| Helper Functions | //+------------------------------------------------------------------+ // The rest of your helper functions can be placed here, including // IsNewBar, IsNewBar_Buy, IsNewBar_Sell, TotalOrdersOnSymbol, etc. // ..." /> expiry) { Print("YOUR ROBOT IS EXPIRED. ; ExpertRemove(); return(INIT_FAILED); } return(INIT_SUCCEEDED); } // Deinitialization void OnDeinit(const int reason) { // Deinitialization code (if needed) } // Expert Tick Function void OnTick() { // Your OnTick logic here // ... } // Additional Functions (if any) // ... //+------------------------------------------------------------------+ //| Helper Functions | //+------------------------------------------------------------------+ // The rest of your helper functions can be placed here, including // IsNewBar, IsNewBar_Buy, IsNewBar_Sell, TotalOrdersOnSymbol, etc. // ..."> expiry) { Print("YOUR ROBOT IS EXPIRED. ; ExpertRemove(); return(INIT_FAILED); } return(INIT_SUCCEEDED); } // Deinitialization void OnDeinit(const int reason) { // Deinitialization code (if needed) } // Expert Tick Function void OnTick() { // Your OnTick logic here // ... } // Additional Functions (if any) // ... //+------------------------------------------------------------------+ //| Helper Functions | //+------------------------------------------------------------------+ // The rest of your helper functions can be placed here, including // IsNewBar, IsNewBar_Buy, IsNewBar_Sell, TotalOrdersOnSymbol, etc. // ..." />

ea looking at and sorting problem out

6.0 GBP

6.0 GBP peopleperhour Technology & Programming Overseas
518 days ago

Description

have a mt5 ea its simple stop loss trail break even not a complex robot can any one fix it everytime i place it on the chart it disapears from it with this error
2023.12.07 14:17:20.779 Experts expert Advisor (USTEC,M15) loaded successfully2023.12.07 14:17:44.056 Experts initializing of Advisor (USTEC,M15) failed with code 12023.12.07 14:17:44.113 Experts expert Advisor (USTEC,M15) removed
thats the code below that i was given for it
//+------------------------------------------------------------------+//| ACCOUNT NUMBER LOCKER |//| & |//| ACCOUNT EXPIRY DATE |//+------------------------------------------------------------------+const long account_number = 5307342 ; // ENTER YOUR ACCOUNT NUMBERdatetime expiry = D'10.05.2023' ; // ENTER YOUR EXPIRY DATE- (DD.MM.YYYY)
// External Parametersinput double StopLoss_Pips = 10; // StopLoss in Pipsinput double BreakEvenPips = 5; // Breakeven (Pips)input double TrailStep_Pips = 1; // Trail Step (Pips)input double TrailStopPips = 1; // Trail SL (Pips)
// Other Parametersint Slippage = 3;double TrailingPrice_Buy = 0;double TrailingPrice_Sell = 0;
// Initializationint OnInit(){ // Licensing Check if(account_number == 0); else if(account_number != AccountInfoInteger(ACCOUNT_LOGIN)) { Print("YOUR ACCOUNT ISN'T ALLOWED. ExpertRemove(); return(INIT_FAILED); }
// Expiry Check if(TimeCurrent() > expiry) { Print("YOUR ROBOT IS EXPIRED. ; ExpertRemove(); return(INIT_FAILED); }
return(INIT_SUCCEEDED);}
// Deinitializationvoid OnDeinit(const int reason){ // Deinitialization code (if needed)}
// Expert Tick Functionvoid OnTick(){ // Your OnTick logic here // ...}
// Additional Functions (if any)// ...
//+------------------------------------------------------------------+//| Helper Functions |//+------------------------------------------------------------------+// The rest of your helper functions can be placed here, including// IsNewBar, IsNewBar_Buy, IsNewBar_Sell, TotalOrdersOnSymbol, etc.// ...

关注公众号,不定期副业成功案例分享
Follow WeChat

Success story sharing

Want to stay one step ahead of the latest teleworks?

Subscribe Now

Similar Teleworks

Security Audit & Risk Report for Open-Source Microsoft 365 MSP Tool (CIPP) We are a UK-based Managed Services Provider (MSP) currently assessing a powerful open-source tool called CIPP (Central Identity Policy Platform) for managing multiple Microsoft 365 tenants. As part of our onboarding and internal governance process, we need a consultant or developer to perform a code-level security and deployment review, produce a formal risk report, and optionally assist with deployment and integration. This is a short-term engagement with the potential for ongoing work. Project Scope – Phase One: Review the CIPP source code (Python-based) for potential security flaws, malicious code, or poor practices. Assess use of GDAP/DAP permissions and delegated access models. Audit configuration files and deployment methods (Docker-based). Evaluate dependency and supply chain risks (e.g., Python packages). Provide a formal written report that includes: Risk summary and threat assessment Technical findings and recommendations Executive-friendly summary Skills Required: Python (secure coding & open-source auditing) Microsoft 365 / Azure AD administration Experience with GDAP/DAP and Microsoft Graph API Docker and container security Familiarity with security standards (e.g., OWASP, Cyber Essentials, ISO 27001) Deliverables: Written risk assessment report (PDF or Word) Summary of recommendations (Optional) deployment assistance and SIEM integration guidance To ideally, Please Answer: Have you audited open-source tools or Python applications before? If so, please provide examples. Do you have experience working with Microsoft 365 APIs or delegated admin access (GDAP/DAP)? Are you comfortable reviewing Docker/container deployment security? Can you provide a sample or outline of a previous risk report or security assessment you've delivered? Budget & Timeline: Fixed price preferred for Phase One (please provide an estimate). Target delivery: within 1–2 weeks of engagement.
350.0 GBP Technology & Programming peopleperhour Overseas
1 days ago