I did this way a long time ago and it worked for me, and it was to turn off the blocks during the hours when the market is closed, and turn them back on when the market opens. FXdreema is a great tool, but it also has its weaknesses
Posts made by Monaco
-
RE: "Close positions" when market is closedposted in Bug Reports
-
RE: Is this right?posted in Questions & Answers
@realjoker said in Trade manually and by robot at the same time:
@melnsee said in Trade manually and by robot at the same time:
As I may manually create some orders, I'm curious about how we can ensure that the robot recognizes the presence of these orders.
Excellent question! In MQL4, each order in MetaTrader has a unique identifier, known as an Order ID, which is automatically assigned when an order is opened. This ID is crucial for an EA to recognize and manage its own orders, especially in an environment where orders can also be placed manually.
To ensure that the EA specifically recognizes orders that it has generated, a common practice is to use the OrderComment() field to assign a custom tag or string to each order that the EA opens. For example, you could use "EA_BUYS" for buy orders and "EA_SELLS" for sell orders that your EA places. This way, when your EA reviews open orders, he can filter them by this specific comment and act only on the orders he himself has created.
And here example
First you should define 2 blocks and give groups to the buy and sell operations, to have it better organized, since the way you have now, I understand that you do not have groups and by having the NO TRADE block it assumes that when there are no operations, Since you have not defined the group, if there are purchase operations, then if there is a BUY operation, it will not place a SELL operation. Well unless you want this goal. I attach a link where I explain to another user

It would also be very helpful, as @jstap says, if you shared your fxdreema link so I can correct it
-
RE: 🚀 Maximize Your EAs with fxDreema: Open Q&A Session 🚀posted in Questions & Answers
@jstap said in
Maximize Your EAs with fxDreema: Open Q&A Session
:I am not sharing them but, as I said 50000 accounts are not small and it is what is needed for martingale. If I wanted to sell my EAs I would share results, and it would not be on large accounts. But that is not what I use FX for, as for sharing I regularly help more people on this forum than anyone else, good backtest results with large account sizes are easy to achieve, and hide the real small account results, an EA that can pass prop challenges are not, and easily sell for good money.
I will say this can your EA on a 10000 account make 1000 on any week last year, by week I mean start trade on a Monday, and reach profit before Friday without drawing down past -1000 at any point? Because if not, it cannot do what is necessary for the average person's account.
Certainly, here's a respectful way to convey your message in English:
Of course, I also value feedback from real individuals and their experiences.

-
RE: Position Closed block MT5 not workingposted in Bug Reports
I'm glad it worked for you, but you must be careful not to define the groups of operations, so that they are recognized among themselves. My recommendation would be to define the groups and keep them separate. http://fxdreema.com/forum/post/102771

-
RE: Trade manually and by robot at the same timeposted in Questions & Answers
@realjoker said in Trade manually and by robot at the same time:
@melnsee said in Trade manually and by robot at the same time:
As I may manually create some orders, I'm curious about how we can ensure that the robot recognizes the presence of these orders.
Excellent question! In MQL4, each order in MetaTrader has a unique identifier, known as an Order ID, which is automatically assigned when an order is opened. This ID is crucial for an EA to recognize and manage its own orders, especially in an environment where orders can also be placed manually.
To ensure that the EA specifically recognizes orders that it has generated, a common practice is to use the OrderComment() field to assign a custom tag or string to each order that the EA opens. For example, you could use "EA_BUYS" for buy orders and "EA_SELLS" for sell orders that your EA places. This way, when your EA reviews open orders, he can filter them by this specific comment and act only on the orders he himself has created.
And here example
-
RE: 🚀 Maximize Your EAs with fxDreema: Open Q&A Session 🚀posted in Questions & Answers
@jstap said in
Maximize Your EAs with fxDreema: Open Q&A Session
:I am not sharing them but, as I said 50000 accounts are not small and it is what is needed for martingale. If I wanted to sell my EAs I would share results, and it would not be on large accounts. But that is not what I use FX for, as for sharing I regularly help more people on this forum than anyone else, good backtest results with large account sizes are easy to achieve, and hide the real small account results, an EA that can pass prop challenges are not, and easily sell for good money.
I will say this can your EA on a 10000 account make 1000 on any week last year, by week I mean start trade on a Monday, and reach profit before Friday without drawing down past -1000 at any point? Because if not, it cannot do what is necessary for the average person's account.
I appreciate the exchange of constructive ideas and believe it is essential to back up claims with tangible evidence. My focus remains on contributing positively to our community.
I wish the best for you and your projects. I am open to resuming this conversation in the future if you wish to share concrete results.
-
RE: Trade manually and by robot at the same timeposted in Questions & Answers
@melnsee said in Trade manually and by robot at the same time:
As I may manually create some orders, I'm curious about how we can ensure that the robot recognizes the presence of these orders.
Excellent question! In MQL4, each order in MetaTrader has a unique identifier, known as an Order ID, which is automatically assigned when an order is opened. This ID is crucial for an EA to recognize and manage its own orders, especially in an environment where orders can also be placed manually.
To ensure that the EA specifically recognizes orders that it has generated, a common practice is to use the OrderComment() field to assign a custom tag or string to each order that the EA opens. For example, you could use "EA_BUYS" for buy orders and "EA_SELLS" for sell orders that your EA places. This way, when your EA reviews open orders, he can filter them by this specific comment and act only on the orders he himself has created.
And here example
-
RE: 🚀 Maximize Your EAs with fxDreema: Open Q&A Session 🚀posted in Questions & Answers
@jstap said in
Maximize Your EAs with fxDreema: Open Q&A Session
:@realjoker My scepticism is time-tested, and follows being a profitable EA trader. Martingale can be used as a way of making more money from a trade, but not as a way of waiting for drawdown to come back into profit. As a general rule, why wait for profit when the right strategy will have closed profit so you can trade again. Anyone reading this needs to know that Martingale can only trade small lot sizes, relative to your account size, and even a 0.01 lot size can be big drawdown over a long time. You only have to look at EAs on the MQL5 website, to see that Martingale EAs are cheap and easy to find because they will eventually blow accounts. Is also interesting that you use previous dates to test, markets are constantly changing, so you could have at least used 2023 so it displays more current results. Good luck
I understand and respect your skepticism, which is the result of your experience and success in trading with EAs. I completely agree that the right strategy is crucial and that using Martingale requires a deep understanding of its risks and proper capital management.
In my practice, I prioritize sustainability and stability over quick, risky profits. Therefore, beyond theory, I rely on concrete and verifiable results. I have records on Myfxbook and real tests on accounts over 50k, proving the effectiveness and safety of my long-term strategies.
And you? Do you have any records or proof of your strategies that you would like to share? I believe that exchanging these experiences can be enriching for both of us and for the community.
Greetings,
-
RE: ABSposted in Questions & Answers
I have a number of variables tracking + and - deflections of parity. Can I use = MathAbs($) in the adjust as I assign variables to other variables ?
Example Max Bullish 1 (with = MathAbs($) in adjust) = Max Bullish 2 in the absolute state? Or does it need to be somewhere in it's own block?
I'm trying to replace it's own block with an inversion via x (-1) block.Hello,
Great question! Yes, you can use Math.Abs($) (assuming $ represents your variable) directly in the adjustment as you assign variables to others. This will effectively give you the absolute value of the variable, which you can then assign to another variable, ensuring that you are working with positive numbers regardless of the original variable's sign.
For your example, using Math.Abs() to define "Max Bullish 1" and then assigning it to "Max Bullish 2" will indeed result in both variables representing the absolute state of your initial value. This method is both efficient and keeps your code clean.
Regarding your query on replacing its own block with an inversion via a multiplication by -1 block, this is also a viable approach. If you're looking to invert the sign of a value, multiplying by -1 is straightforward. However, if your goal is to ensure the value is always positive, Math.Abs() is the more appropriate choice as it directly converts any number to its absolute value, negating the need for conditional checks or additional blocks to handle negative values.
In summary, for absolute values, directly using Math.Abs() in your assignments is perfectly fine and encouraged for clarity and efficiency. If you're inverting the sign, multiplying by -1 is correct, but for ensuring positivity, stick with Math.Abs().
I hope this clarifies your queries. If you have further questions or need examples, feel free to ask!
-
RE: 🚀 Maximize Your EAs with fxDreema: Open Q&A Session 🚀posted in Questions & Answers
@jstap Hello,
I appreciate your skepticism and the opportunity to clarify any misunderstandings. With 15 years of programming experience, my choice to use fxDreema is not based on simplicity but on efficiency and effectiveness in implementing complex trading strategies in an accessible manner. The tool, in the hands of an expert, is powerful and versatile.
Regarding the image mentioned, I understand your concerns about martingale models and the associated risks. However, the strategy we promote has been rigorously tested and optimized to minimize risk, based on in-depth analysis and not on blindly increasing trade volumes after losses. We have achieved consistent and real results over more than a year, which speaks for itself.
We are not here to sell false promises. Our focus is on providing real value and verifiable results. Unlike promoting a product without backing, our mission is to empower traders with tools and knowledge that enable them to achieve their own trading successes.
We appreciate the diversity of opinions in this community and always encourage open and constructive discussion. For those interested in looking beyond initial criticism, we invite you to explore the real data and testimonials that support our work.
Good luck with your endeavors, and thank you for offering a different perspective. It is in the variety of viewpoints that we often find the best opportunities to learn and grow.
Best regards
-
🚀 Maximize Your EAs with fxDreema: Open Q&A Session 🚀posted in Questions & Answers

Hello, fxDreema community!
I'm RealJokr with 15 years of programming experience and a deep passion for automated trading. I've assisted traders at all levels to achieve their goals, using fxDreema to create efficient and effective EAs.
️
Do you have questions about creating or improving your EA? This is the perfect space for you. From basic concepts to advanced functions of fxDreema, automated trading strategies, and EA optimization: I'm here to answer your questions.


Benefits of Participating:
Get personalized answers based on years of experience.
Learn from real success stories and enhance your investment strategies.
Become part of a community that grows and learns together.
How to Join?
Just post your question here or, for a more direct conversation, join our group/channel TELEGRAM. I'm eager to share my knowledge and experience to help you optimize your EAs and achieve your trading goals.
Live Q&A Sessions:
Stay tuned for our live sessions, where we'll dive deeper into general interest topics and resolve doubts in real-time. Don't miss this unique opportunity to learn and grow in your automated trading!Remember, no matter your experience level, every question is an opportunity to learn and improve. I look forward to your queries and am excited to help take your trading to the next level!

-
RE: Expert programmer gives solutions to any problem just ask meposted in Questions & Answers
@doubledee Hello, yes, I saw this from this great teacher Miro, and he teaches how to detect objects in the graph, what you ask me is how to do it, I will give you a tutorial of a few seconds in 1 video, surely you will see it better, but it is easy. 1Place the indicator on the mt4/5 chart 2 Then you see what objects it spawns and what names you get. 3 After in the bot you must use a block to read these objects, I will prepare something and upload it
-
RE: Expert programmer gives solutions to any problem just ask meposted in Questions & Answers
@rafatsobe Hello, I will make an example of what I understand, you want that if the price touches your take profit or stop loss and its condition is active, you want to buy or sell again, it depends what you were doing, did you mean? If so, then you should have a trade right after you've closed since the condition is being met. For better help share the link so I can help you faster
-
RE: Expert programmer gives solutions to any problem just ask meposted in Questions & Answers
@biztet Today I finished very late, now I was reviewing your code. So you have MA logic and you buy or sell with MA logic, let's call this (Father strategy) and you want these purchases or sales of the Father strategy to always occur, now you apply martingale based on order separation, and you want every X orders are executed is it like that? If so, I will prepare a video and code for you to apply
-
RE: Expert programmer gives solutions to any problem just ask meposted in Questions & Answers
Hello guys,
thank you very much for all your questions, I will answer all of them! I only ask for patience since I have little time during the day and he took it up to work and what I have left I will help, this is clear! -
RE: Expert programmer gives solutions to any problem just ask meposted in Questions & Answers
@biztet Share link, since I see a very common error, are you using group numbers in buys and sells?
-
RE: Average Open Price not work (DOGEUSD)posted in Questions & Answers
@duepips Hello this can help you https://www.mql5.com/en/docs/predefined/_point Use that function to detect the points that the pair has, this would be a "complex" answer to make it easy, upload your link and tell me which broker you use, I'll solve it for you
-
RE: Expert programmer gives solutions to any problem just ask meposted in Questions & Answers
@amine130055 It's easy you just need to use an eleven per bar block below use some limits like if trade so you don't open many trades at the same time, once this is done you need bucket trades to see the basket of profits, I will upload some image of how to place this so you understand best
-
RE: Expert programmer gives solutions to any problem just ask meposted in Questions & Answers
@paiz what I understand is that you want to use the logic that I exposed in the answer, If you use this type of martingale, then you are saving in a variable the number of open lots then multiply them, So to make a close use "once per trade" below a bucket trades block, and below another block modify variables and invoke bucket trades, so what you do is save the profit in some variable, once this is done you would have the profit in pips or money whatever you choose, and that's it After that it's just a matter of conditions
-
RE: Expert programmer gives solutions to any problem just ask meposted in Questions & Answers
@biztet You can upload images to help you better, or simply the link