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
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
      • 74 Answers
      • 0 Best Answers
      • 172 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
      • 106 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

      • 7 Questions
      • 162 Answers
      • 0 Best Answers
      • 314 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 504
    • Answers 2k
    • Posts 5
    • Comments 0
    • Best Answers 0
    • Users 681
    • Popular
    • Comments
    • Tags
    • forexcommunity

      Highlighting what’s important about questions & Answers on Discy Community!

      • 0 Comments
    • forexcommunity

      Introducing Keyboard Shortcuts, our first Labs feature

      • 0 Comments
    • forexcommunity

      Defining quality on Discy Engine — what a helpful answer ...

      • 0 Comments
    • forexcommunity

      Organizational and company accounts on Discy Engine the next step

      • 0 Comments
    • forexcommunity

      Hello world!

      • 0 Comments

    Related Questions

    • Brus Agell

      Правельный выбор

      • 0 Answers
    • pinupcasinoo

      Pin Up Casino

      • 0 Answers
    • c00l777

      During optimization, indicators that are not present in the robot ...

      • 2 Answers
    • c00l777

      During optimization, indicators that are not present in the robot ...

      • 0 Answers
    • c00l777

      Optimization results differ on different accounts

      • 3 Answers

    Users

    Leonardcig

    Leonardcig

    • 0 Questions
    • 0 Answers
    DennisByday

    DennisByday

    • 0 Questions
    • 0 Answers
    Haroldmeary

    Haroldmeary

    • 0 Questions
    • 0 Answers

    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