Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

First independent community of traders

First independent community of traders Logo First independent community of traders Logo

First independent community of traders Navigation

  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • Buy Theme
  • Home
  • About Us
  • Blog
  • Contact Us

Share your knowledge in the forex community!

Our community is a completely independent place for communication between forex traders and software developers for trading platforms Metatrader 4 and Metatrader 5

Create A New Account
Home/ Questions/Q 5720
Next
In Process
whatcan
whatcan

whatcan

  • 1 Question
  • 2 Answers
  • 0 Best Answers
  • 20 Points
View Profile
  • 0
whatcan
Asked: December 29, 20202020-12-29T10:03:00+00:00 2020-12-29T10:03:00+00:00In: Forex Expert Advisors

working on a VPS. Is it possible to write and then see the log?

  • 0

working on a VPS. Is it possible to write and then see the log?
My advisor writes a text log file that is stored in the appropriate place in the platform directory. 
When we migrate to VPS I understand that I will not see any of this anymore? because there is no access to this VPS. Do I understand correctly? and can someone tell me an alternative?
There is also a second question about VPS – in normal mode, the Expert Advisor changes the value of the label on the screen during operation and then looks at whether it has been changed. Will this work on a VPS? 

  • 6 6 Answers
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    6 Answers

    • Voted
    • Oldest
    • Recent
    1. alximiks

      alximiks

      • 1 Question
      • 11 Answers
      • 0 Best Answers
      • 52 Points
      View Profile
      alximiks
      2020-12-29T10:03:41+00:00Added an answer on December 29, 2020 at 10:03 am

      Alexander Kharlamov:

      I took advantage of your recommendations – I send the file via ftp. The adviser is still on my computer sends a file via FTP and I get it and can open it.

      However, after the migration, it stops working.

      When the EA is on my computer the settings are like in the picture

      is it correct to register the FTPServer instead of localhost after migration –

      ftp://78.85.х.ххх/ (my router’s address is my external ip)?

      1) The provider must provide you with a personal external ip. 
      2) Since you are connected via a router, this ip is received by your router, and your PC connects to the router in a completely different network and is not easily accessible from outside (you are behind NAT).
      3) In order for your PC to be accessible from outside, you need to register “Forwarding” in the router settings, so that when accessing your external ip and remote port, the router will forward packets to the internal network (to the IP address of your PC and the port of the FTPServer, usually 20-21). 
      4) I almost forgot, you still need to check whether the ports for the FTPServer are added to the exceptions for the Firewall on the PC, since some ftpservers do not do this for some reason.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. whatcan

      whatcan

      • 1 Question
      • 2 Answers
      • 0 Best Answers
      • 20 Points
      View Profile
      whatcan
      2020-12-29T10:03:35+00:00Added an answer on December 29, 2020 at 10:03 am

      Vladimir Karputov:

      1. When migrating, to drag your file, you need to use the directive in the Expert Advisor

      2. You can see your log file created by your Expert Advisor only if your Expert Advisor sends it via ftp.

      I took advantage of your recommendations – I send the file via ftp. The adviser is still on my computer sends a file via FTP and I get it and can open it.

      However, after the migration, it stops working.

      When the EA is on my computer the settings are like in the picture

      is it correct to register the FTPServer instead of localhost after migration –

      ftp://78.85.х.ххх/ (my router’s address is my external ip)?

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    3. alexeyvik

      alexeyvik

      • 1 Question
      • 75 Answers
      • 0 Best Answers
      • 182 Points
      View Profile
      alexeyvik
      2020-12-29T10:03:29+00:00Added an answer on December 29, 2020 at 10:03 am

      Alexander Kharlamov:

      ftp forwarding is probably a very good idea… you can’t drop a sample code?! or a link to the likeness?! thank you!

      So there is an example in the documentation…

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    4. whatcan

      whatcan

      • 1 Question
      • 2 Answers
      • 0 Best Answers
      • 20 Points
      View Profile
      whatcan
      2020-12-29T10:03:20+00:00Added an answer on December 29, 2020 at 10:03 am

      Vladimir Karputov:

      1. When migrating, to drag your file, you need to use the directive in the Expert Advisor

      2. You can see your log file created by your Expert Advisor only if your Expert Advisor sends it via ftp.

      Thanks! a little clearer! And on the second question on labels will work on them? …well, apparently yes, since everything is duplicated on the VPS

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    5. laryx

      laryx

      • 0 Questions
      • 43 Answers
      • 0 Best Answers
      • 112 Points
      View Profile
      laryx
      2020-12-29T10:03:10+00:00Added an answer on December 29, 2020 at 10:03 am

      My ADVISER writes logs to separate files, works on the VPS – no problems. All logs are normally recorded, then transferred to the local computer, if necessary, studied.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    6. barabashkakvn

      barabashkakvn

      • 8 Questions
      • 171 Answers
      • 0 Best Answers
      • 352 Points
      View Profile
      barabashkakvn
      2020-12-29T10:03:05+00:00Added an answer on December 29, 2020 at 10:03 am

      Alexander Kharlamov:

      working on a VPS. Is it possible to write and then see the log?

      My advisor writes a text log file that is stored in the appropriate place in the platform directory. 

      When we migrate to VPS I understand that I will not see any of this anymore? because there is no access to this VPS. Do I understand correctly? and can someone tell me an alternative?

      …

      1. When migrating, to drag your file, you need to use the directive in the Expert Advisor

      #property tester_file

      2. You can see your log file created by your Expert Advisor only if your Expert Advisor sends it via ftp.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Ask A Question

    Stats

    • Questions 514
    • Answers 2k
    • Posts 5
    • Comments 0
    • Best Answers 0
    • Users 921
    • Popular
    • Answers
    • Tags
      • On: December 18, 2020
      • Answers: 16

      How to allow trading at certain times

      • On: December 29, 2020
      • Answers: 16

      Example of implementing the OOP pattern Abstract Factory using MQL5 ...

      • On: December 18, 2020
      • Answers: 15

      EMA with a different formula

      • On: December 29, 2020
      • Answers: 15

      Invitation for algo traders.

      • On: December 29, 2020
      • Answers: 14

      Dear Programmers, do not pass by, help fix the error!

    • atma1
      atma1 added an answer Added activation. Thanks. April 8, 2021 at 6:54 am
    • iks_
      iks_ added an answer Atma1: Good day, dear colleagues. Yesterday I updated VMware to… April 8, 2021 at 6:54 am
    • renat
      renat added an answer Atma1: Good day, dear colleagues. Yesterday I updated VMware to… April 8, 2021 at 6:54 am
    • mvs
      mvs added an answer Renat Fatkhullin: You can not immediately send the received data,… April 8, 2021 at 6:53 am
    • anton_m
      anton_m added an answer Renat Fatkhullin: How much data do you read? You can… April 8, 2021 at 6:53 am
    analytics british company computer developers django employee employer english facebook french google interview javascript language life php proforexea programmer programs pro vsa salary university

    Related Questions

    • atma1

      Yesterday I updated VMware to version 16.1.0 and the product ...

      • 3 Answers
    • anton_m

      It is not possible to read data from the server ...

      • 6 Answers
    • s22aa

      Tell me what the difference is.

      • 2 Answers
    • areedbreen

      on the chart in the tester one yield and in ...

      • 2 Answers
    • 1006293

      A question about the intersection of moving averages in MQL5

      • 3 Answers

    Users

    atma1

    atma1

    • 1 Question
    • 1 Answer
    s22aa

    s22aa

    • 1 Question
    • 1 Answer
    areedbreen

    areedbreen

    • 1 Question
    • 1 Answer

    Footer

    First independent community of traders

    About

    An independent community of forex traders. This is where traders communicate. You can ask your questions and you will receive an answer to your question.
    • Terms of Use
    • Privacy Policy
    • Cookie Policy
    • Knowledge Base
    • Support

    © 2021 Forexcommunity.net. All Rights Reserved