fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. eklonsousa
    3. Posts
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 24
    • Posts 100
    • Best 3
    • Controversial 0
    • Groups 0

    Posts made by eklonsousa

    • RE: Simple Multicurrency EA | MT5 Optimization | 512 Runtime Error

      @john-5 I'm facing the same issue.

      Did you find any solution?

      posted in Questions & Answers
      E
      eklonsousa
    • RE: How to Close partially all orders from the same EA in different instruments when reach equity % ?

      @l-andorrà Great ideas and make all sense!

      I need to consider it as it will be an expert focused in index.

      The issue with a controlling EA is to backtest the strategy with this kind of Equity control. I'll have no way to test and optimize with this parallel control.

      Thanks for your inputs
      I appreciate it !

      posted in Questions & Answers
      E
      eklonsousa
    • RE: How to Close partially all orders from the same EA in different instruments when reach equity % ?

      Please, could anybody give me an insight?

      Thank you!

      posted in Questions & Answers
      E
      eklonsousa
    • RE: Account filter

      @briji2 You need to use a condition like this:

      alt text

      posted in Questions & Answers
      E
      eklonsousa
    • How to Close partially all orders from the same EA in different instruments when reach equity % ?

      Hi guys!

      I'm using an EA with almost 10 instruments. I want to add a feature that will close a % of all orders from any intruments when the equity reaches a determined %.

      I've checked "Check Profit (unrealized)" and it will work for the first step, but the block "Close Partially" don't have the option to execute the partial close to all trades.

      Any ideas?

      Thank you!

      posted in Questions & Answers
      E
      eklonsousa
    • RE: "Add Volume" block without stop loss

      @l-andorrà Yes, I'm thinking about it.

      But the "Add volume" block don't have any stop loss or tp setup. I can't choose. It will only add volume (of course rs) to the main trade but it is only opening a new trade without relation with the main one.
      Actually it is opening, giving the "parental ID" to new volume into comments, but without the same stop loss (without any stop loss, actually) from the parental trade.

      Maybe a bug? @fxDreema

      posted in Questions & Answers
      E
      eklonsousa
    • "Add Volume" block without stop loss

      Hi!

      I'm using "Add Volume" block but it isn't trailling the stop as the original trade. It don't open this new trade with the same stop loss level.

      Is there any special way to use it?

      posted in Questions & Answers
      E
      eklonsousa
    • RE: Custom MQL Code MathRound

      @miro1360 Thank you so much for all your support!

      posted in Questions & Answers
      E
      eklonsousa
    • RE: Custom MQL Code MathRound

      @miro1360 Thank you, Miro! It worked for 0.10 lot step.

      How can I detect the lot step for each instrument?

      I'll run this EA in FX Pairs (0.01 lot stop) index (0.10 lot step) and also XTIUSD (0.50 lotstep)

      I'm sure that there will be few Custom SQL Code blocks to split this management. But how can I detect the lot step and make it work automatically?

      Or there is a way to detect error from "Journal" tab? In order to keep the block flow running and managing that

      Thank you so much!

      posted in Questions & Answers
      E
      eklonsousa
    • RE: Custom MQL Code MathRound

      @miro1360 Hi Miro!

      It worked with 0.01 lot step instruments.

      How can I made it to work with 0.10 lot step?

      In this case, I've opened 1.50 trade and tried to close 50%. then :alt text

      posted in Questions & Answers
      E
      eklonsousa
    • RE: Custom MQL Code MathRound

      @miro1360 Hi, Miro!

      I think it is working now!

      alt text

      Thank you so much!

      posted in Questions & Answers
      E
      eklonsousa
    • RE: Custom MQL Code MathRound

      @miro1360 Thanks, Miro! I will try!

      Just let me ask you one more thing: I have some instruments like XTIUSD in Ic Markets that have 0.50 as lot step.
      In case of a 1.50 open trade, the partial close tries to close 0.75 will give the error...will this function work also with this scenario?

      Thank you!

      posted in Questions & Answers
      E
      eklonsousa
    • Custom MQL Code MathRound

      Hi guys!

      I need to partial close a trade, but I need to use the MathRound function to avoid "invalid volume" error.

      I'm trying something like this and it is not working: (yes, I'm newbie with MQL code)

      alt text

      I've also tried this:
      alt text

      I'm preety sure that is some sintax error.

      Could you please give some help?

      Thank you!

      posted in Questions & Answers
      E
      eklonsousa
    • RE: How to get automatically the MAX Volume for a symbol

      @spuzy Hi!

      Actually, I want to gather symbol info like Limit Size, volume step and etc...

      Something like work with ' SymbolInfoDouble'

      posted in Questions & Answers
      E
      eklonsousa
    • How to get automatically the MAX Volume for a symbol

      Hi guys!

      I want to limit the max lot size for pending orders as the max available in the broker.

      How can I get that?

      Thank you so much

      posted in Questions & Answers
      E
      eklonsousa
    • RE: Partial TP

      @martin-1 Great, Martin!

      Please, could you share an example using mathround code?

      Thank you so much!

      posted in Questions & Answers
      E
      eklonsousa
    • RE: Partial TP

      @martin-1 @fxDreema

      I`m facing the same issue as described here .

      could you help me with this?

      @fxDreema said "the EA is programmed to see the lot step". I'm working with several instruments as Forex Pais, Comoddities and index...
      Some lot step are 0.10, another 0.50....
      And I'm getting a lot of "Invalid volume" while partial close.
      And the parcial close % depends of each instrument. Some are 50%, others 65%. Others 88%.
      I mean...I need to find a way to get this partial close working.

      Could you please help me?

      Thank you so much!

      posted in Questions & Answers
      E
      eklonsousa
    • RE: Partial Close Error with odd numbers

      Hi Guys!

      Any ideas how to divide by minimum broker lot size the pending order lot size before it open and then do the math to set the correct amount?

      posted in Questions & Answers
      E
      eklonsousa
    • RE: Partial Close Error with odd numbers

      Hi!

      Any insights? How to round partial lot to close?

      posted in Questions & Answers
      E
      eklonsousa
    • 1
    • 2
    • 3
    • 4
    • 5
    • 3 / 5