fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. martin 1
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 19
    • Posts 33
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by martin 1

    • EA with differend timeframes

      Hello everybody,

      I have a question. I want to use an EA with differend timeframes.

      What is the better and faster working solution:

      1.) One EA is running at one timeframe and controlls also the other timeframes?

      2.) One EA on every differend timeframe.... for example 5 timeframe = 5 EA´s

      Best regards,
      Martin

      posted in Questions & Answers
      M
      martin 1
    • Current Lot size

      Hello Everybody,

      I am using MT5 netting mode and have a problem to get the current lot size.

      https://fxdreema.com/shared/3dMHcN3H

      If there is a open position it shows 0.0 but if there is a pending ordert it shows this value.

      Has someone an idea how to get the current lot size?

      Best regards,
      Martin

      posted in Questions & Answers
      M
      martin 1
    • RE: Partial TP

      Hi,

      I solved the problem with an own calculation of the lot size to close.

      Use Cusom mql code: mathround

      Best regards,
      Martin

      posted in Questions & Answers
      M
      martin 1
    • Bucket - Problem

      Hello Coders,
      I have a problem with the bucket block. I am working with MT5 hedged mode.

      I am using it to find the average opening price of the opened positions. It works fine if I use the same lot size for all positions.

      For example:

      0.1 lot buy - 1.1200
      0.1 lot buy - 1.1300
      0.1 lot buy - 1.1400

      Average price = 1.1300

      If I use differend lot sizes it calculates only the average price of the opening prices but not weighted.

      0.1 lot buy - 1.1200
      0.2 lot buy - 1.1300
      0.3 lot buy - 1.1400

      Average result = 1.1300 but it should be 1.13333333

      It there a solution for get a weighted average opening price?

      Best regards,
      Martin

      posted in Questions & Answers
      M
      martin 1
    • RE: Activate Pending Orders

      Hello Josh,

      thank you for your help. I am using a Custom price. I will try to use it as an offset.

      Best regards,
      Martin

      posted in Questions & Answers
      M
      martin 1
    • Activate Pending Orders

      Hello Coders,

      I have a question. I am setting a pending order buy or sell.

      The buy stop will be activated by the Ask price and the sell stop by Bid price.

      Is it possible to change the activation to Bid for buy stop order and Ask for sell stop order?

      Best regards,
      Martin

      posted in Questions & Answers
      M
      martin 1
    • RE: make EA close all pending orders after Tp triggered

      Hello @fxdreema,

      I have tested the "delete pending orders" with MT4..... it works and the same in MT5.... it doesnt delete the pending orders.

      What can be wrong?

      Best regards,
      Martin

      posted in Questions & Answers
      M
      martin 1
    • RE: make EA close all pending orders after Tp triggered

      0_1550601930925_59fe359f-f801-483d-a881-91286c2a14a4-image.png

      posted in Questions & Answers
      M
      martin 1
    • RE: make EA close all pending orders after Tp triggered

      Hello FxDreema,

      I tried the same with MT5..... but it doesnt work. Whats the problem?

      shared/vAOmMoW7d

      Best regards,
      Martin

      posted in Questions & Answers
      M
      martin 1
    • Empty Value

      Dear Coders,

      I have a problem. I have an indicator and it has only and EMPTY_VALUE but I need a 0 (Zero).

      How can I handle it in FXDreema?

      Best regards,
      Martin

      posted in Questions & Answers
      M
      martin 1
    • Coding Structure

      Hello Coders,

      I have a question:

      I have an ea with any parallel loops. What is faster - make many short loops or combine it to a long loop?

      Best regards,
      Martin

      posted in Questions & Answers
      M
      martin 1
    • RE: Partial TP

      Hi,

      the step is 0.01 but the box calculates 0.001.

      I have found a solution. I calculate the right lot size and close the order separatelly.

      Best regards,
      Martin

      posted in Questions & Answers
      M
      martin 1
    • RE: How to check the last closed trade is closed by Stop loss?

      Hello San,

      I have the same problem. Is it working for you now?

      Iam using:

      "for each closed trade" and "how it was closed" but I dont get back a result.

      Best regards,
      Martin

      posted in Questions & Answers
      M
      martin 1
    • Opening price netting mode

      Hello Coders,

      I have a question. I am using MT5 netting mode. There is only one position with an average opening price.

      How can I find the opening price for every single opened trade?

      Best regards,
      Martin

      posted in Questions & Answers
      M
      martin 1
    • RE: Change Variable in Modification box

      Thank you very much!!!!!

      posted in Questions & Answers
      M
      martin 1
    • Change Variable in Modification box

      Dear Coders,

      for modification for variables I can choose it from the list. But how can I delete the variable.
      I can only change it with enother variable.

      Best regards,
      Martin

      posted in Questions & Answers
      M
      martin 1
    • Closed Positions - profit/loss values

      Dear Coders,

      is there a possibility to find the value of the profit/loss of the last closed positions?

      Best regards,
      Martin

      posted in Questions & Answers
      M
      martin 1
    • 1
    • 2
    • 1 / 2