fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. pharmlatex
    P
    • Profile
    • Following 0
    • Followers 1
    • Topics 7
    • Posts 19
    • Best 0
    • Controversial 0
    • Groups 0

    pharmlatex

    @pharmlatex

    0
    Reputation
    5
    Profile views
    19
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    pharmlatex Unfollow Follow

    Latest posts made by pharmlatex

    • RE: how to add X grid trades after N pips drawdown

      Hi, thank you for your reply.

      I was able to successfully add the grid system to my EA.
      I really appreciate your advice.

      Best,

      posted in Questions & Answers
      P
      pharmlatex
    • how to add X grid trades after N pips drawdown

      Hi everyone,

      I want to add a simple grid trading system to my EA.
      How can I make it so that if the price moves N pips against the current position, it opens another trade in the same direction, and repeats this process up to X times?

      I’ve built a very simple shared project here:

      https://fxdreema.com/shared/D87ot2mvd

      Could someone please take a look and show me the correct or most efficient way to implement this logic?

      Thanks a lot in advance!

      posted in Questions & Answers
      P
      pharmlatex
    • RE: Switching auto lot and fixed lot

      Hi, Thank you for your reply. I apologize for the delayed response. I’ll study your idea and try to implement it in my EA. Thank you again.

      posted in Questions & Answers
      P
      pharmlatex
    • Switching auto lot and fixed lot

      Hi,

      I would like to add a switch to my EA for changing between auto lot and fixed lot. The attached picture is from a commercial EA, and I would like to create something similar. Is this possible?

      Best regards,

      39d773ff-0e1e-45f2-8c22-d659fd84e7d0-image.png

      posted in Questions & Answers
      P
      pharmlatex
    • RE: Close positions at end of the day

      Hi,

      Thank you for your reply. I try to close all positions within a day. I'm currently testing the EA using the MT4 strategy tester, and I believe the broker's GMT offset is not an issue.

      Best regards,

      posted in Questions & Answers
      P
      pharmlatex
    • RE: Close positions at end of the day

      Hi,

      I appreciate all the advice. I have tried changing the "time filter" and "once a day" settings many times, but I still cannot solve the problem. The attached link contains the minimal structure of the EA. It opens positions and closes positions based on Indicators, but some positions are being closed the next day. I want to open and close positions within a day. Could you help me again?

      Thank you!

      https://fxdreema.com/shared/kBsKp3w8e

      posted in Questions & Answers
      P
      pharmlatex
    • Close positions at end of the day

      Hi,

      I would like to know how to close positions at the end of the day. The EA is designed to open orders at NY time and close all positions before the rollover time (between 00:00 and 01:00). However, I can’t find a way to specify this. Could you please help me?

      Best regards,

      https://fxdreema.com/shared/SrSVjaled

      posted in Questions & Answers
      P
      pharmlatex
    • RE: About loss calculation

      Hi, thank you for youre reply. I'm running the EA using "Specified" on demo account. I'll check how it works. Thank you.

      posted in Questions & Answers
      P
      pharmlatex
    • RE: About loss calculation

      Hi, thank you for your reply.

      This test EA would have a maximum of 3 positions. I want to close positions only when the sum of the 3 positions' loss is over 300 pips in one chart. However, I don't want to close positions if the sum of all charts is over 300 pips loss (for example, 100 pips from USDJPY and 200 pips from GBPUSD). I read your explanation and understand that in the current setting, only the sum of one chart is referenced. Is that correct?

      posted in Questions & Answers
      P
      pharmlatex
    • About loss calculation

      Hi,

      I've made an EA that holds a maximum of 3 positions per currency pair, and the EA is designed for multiple currency pairs. The link below is the one with the complicated regions removed. I tried to close all positions at a total floating loss of -300 pips. However, if the EA is running on 3 pairs such as USDJPY, EURUSD, and AUDUSD, and if all 3 pairs have positions at the same time (maximum 9 positions), is the total floating loss calculated as the sum of all positions from all 3 pairs? Or, when USDJPY reaches -300 pips, are only the USDJPY positions closed?

      Please help me.

      Best regards,

      https://fxdreema.com/shared/4LyKuZz2d

      posted in Questions & Answers
      P
      pharmlatex