Thanks for the explanation.
I know we can read "Terminal Variables". But can our EA modify them?
Thanks for the explanation.
I know we can read "Terminal Variables". But can our EA modify them?
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.
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:
Best regards!
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!
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
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.
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
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:

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!
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 
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.
It's fixed, thanks!!
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.
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
I'm also waiting for a solution.
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!
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.
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).
@timmyhanke said in Help detecting this indicator's values:
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.

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.
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.