fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. rafaelgrecco
    3. Posts
    R
    • Profile
    • Following 0
    • Followers 1
    • Topics 28
    • Posts 111
    • Best 7
    • Controversial 0
    • Groups 0

    Posts made by rafaelgrecco

    • RE: What is Terminal Variables?

      Thanks for the explanation.

      I know we can read "Terminal Variables". But can our EA modify them?

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: What is Terminal Variables?

      Hi,

      I am interested in using Terminal Variables - a Variable that can be used/changed by the EA on any/all charts it is running.

      I noticed that the example on "working with" tutorials has been removed for this topic. Is there any example I can see to understand how this works?

      Thanks.

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: How to Select "Least profitable trade"?

      Hi @roar

      Thank you very much for your help! Using your example I was able to make something that works on my strategy!

      What I was missing was:

      • Reseting the variable "smallestprofit" on every new loop
      • Using the second output of "Each Trade" to wait for all trades to be checked

      Best regards!

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: Candle close as % of range

      There is a block called "Single Candle Template" on "Various Signals" blocks (the golden ones).

      I think you can do what you want using that block!

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: How to Select "Least profitable trade"?

      Any idea?

      I have tried using a combination of check loss, check profit, variables, conditions, etc. But it's not very simple... If I have several open trades, I have to compare all of them to select which one has the biggest loss...

      But I still haven't found a reliable way to do that.

      Any help or idea is much appreciated.
      Thanks

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: Breakeven bucket

      Bigape,

      You could try like this:

      • As soon as your bucket reaches the desired profit, put a BE only on the newest trade

      • Use TAB "on Trade" to control what happens when a trade is opened/closed - you can define that when a trade is closed by STOP LOSS (that means, your BE is reached), all other trades should also be closed.

      posted in Questions & Answers
      R
      rafaelgrecco
    • How to Select "Least profitable trade"?

      Hi,

      There is a blue block on "Trading Actions" that closes the least profitable trade.

      But what I want is to select this trade (the least profitable trade) to compare with another value.

      How can I do it? A pink block "select least profitable trade" would be perfect.

      Thanks

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: Question about "For each trade" block

      Thank you once again!

      posted in Questions & Answers
      R
      rafaelgrecco
    • Question about "For each trade" block

      Let's supose my EA opens trades on the following order:

      #1 - Buy
      #2 - Buy
      #3 - Sell

      When using "For each trade" purple block, I set it like this:

      alt text

      I know that if I set "Not more than "n" trades" to "1", it will select only the newest trade.

      But If I use the "Filter by type: Sells", does it mean it will not select any trades (because the newest trade is a Buy) or it will select the newest Sell (in this case, it is the third newest trade).

      Thanks!

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: how to remove a stop loss?

      Miro, thank you very much.

      I checked MT4 Journal and noticed that my EA was actually removing and applying SL again at the same time, that is why I thought it was not being removed.

      I had to change something on my code to make it work properly. As always, you were right 🙂

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: how to remove a stop loss?

      Hi,

      I know this is a old topic, but I tried the above and it does not work.

      Any other way I could try to remove a Stop Loss from a trade? A new pink button with "Remove Stops" would be great.

      Thanks.

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: Importing Project Resets Bollinger Bands Deviation Field

      It's fixed, thanks!!

      posted in Bug Reports
      R
      rafaelgrecco
    • Importing Project Resets Bollinger Bands Deviation Field

      As the title says, I noticed that when I import a mq4 project the Deviation field for Bollinger Bands Indicator is reset to 2, the default value.

      I tried using a constant to set the value to 1, but when I save the mq4 file and import it to start a new project, Deviation is always set as 2.

      posted in Bug Reports
      R
      rafaelgrecco
    • RE: Builder does not save both .mq4 and .ex4 files

      Hi, I just want to let you know that his seems a Google Chrome problem.

      You can download files using the Chrome Extension or Microsoft Edge for example.

      Link do Chrome extension:
      https://chrome.google.com/webstore/detail/fxdreema-download-files/lnlppnklledgeaafojedgemkdhjdgdkp

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: compiling does not work what happened?

      I'm also waiting for a solution.

      posted in Questions & Answers
      R
      rafaelgrecco
    • Builder Issue ETF

      Hi Rasdolav,

      I know you are probably working to fix the Builder right now... but is there any ETF (estimated time do fix) so I don't keep checking it every 10 min?

      Thanks!

      posted in Bug Reports
      R
      rafaelgrecco
    • RE: Help detecting this indicator's values

      @timmyhanke

      Thank you very much for your help!

      I made a very noob mistake. I have literally written hundreds of EAs using FxDreema with all kinds of custom indicators, I I have no idea how I missed using the output buffers. It is very simple actually.

      I think working for several hours without rest make us not remeber very simple things.

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: How to close all open orders at 5:00 PM, for example?

      @cjdduarte

      Using a Hours filter block, like this:

      https://fxdreema.com/shared/p69qvTG2

      If you mean all orders, including manually open, change the filter on the Close trades blocks to all orders (by default, it will only close orders opened by itself).

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: Help detecting this indicator's values

      @timmyhanke said in Help detecting this indicator's values:

      @timmyhanke

      have to add that i assume its the same type of indicator in a subwindow making a corridor channel , dont use mq5 and it didnt show a picture , but the one i am talking about came in many different methods such as rsi / stochastic / ssa and so on , buy no one had the ability to alert when it penetrated one of the lines because of what i wrote before , only when it passed the 0 line if im not mistaken.

      In this case it's not on a subwindow, it's on the main chart, but I don't think there is a difference when trying ti get values from it.

      alt text

      I need either to get the value from the object where it reads "Current value: 67.82", which is a text, or be alerted somehow when the price penetrate a specific channel level.

      posted in Questions & Answers
      R
      rafaelgrecco
    • Help detecting this indicator's values

      Hi guys,

      In some of my trading strategies, I use this indicator:

      https://www.mql5.com/en/market/product/21790

      The problem is that I haven't found a way to use it on a EA.

      The channels it draws aren't objects, so I don't know if it is possible to detect them and use them on the EA.

      The only object this indicator draws is a number, and although it being a numeric value, it draws it as a "text description", making it impossible to detect it's number (for example when value > than 95)... because it is a text.

      Could anyone help me out here?

      PS- I haven't attached the indicator here because MQL5 locks the indicator to the computer that downloads it.

      posted in Questions & Answers
      R
      rafaelgrecco
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 3 / 6