Thank very much @trader-philipps
work fine now, thanksss, all lines work and trades issue solved.
fabiobioware
@fabiobioware
Trader iniciante
Best posts made by fabiobioware
-
RE: Indicator VWAP not open orders and very slow in backtest MT5posted in Questions & Answers
-
RE: Here, take this profitable eaposted in Tutorials by Users
Thanks for replying my message friend.
I will check everything you mentioned and return an answer, I am using mt5 to apply the tests. -
RE: Get the balance from the history tab ?posted in Questions & Answers
@roar said in Get the balance from the history tab ?:
If you want to multiply the intraday profit, just copy-paste that whole string of code into the formula field.
ok nowwww @roar

Thank you very much @roar and @trader-philipps for help me in this resolution.
-
Issue in the "Set current Market for the next blocks" block.posted in Bug Reports

I report that this block is not fulfilling its function when it is used in strategies that contain the blocks below:
"Modify Variables"
"Set Flag"
"Check Flag"Example:
The block is able to inform and loop the assets described in it to other blocks of fxdreema, but it is not able to inform / link to these 3 blocks mentioned above, because when it arrives in these blocks the information is not passed on to the blocks following.
These blocks do not seem to comply with the rule imposed by the "set currente market for the next blocs" block, so if they are going to backtest an EA that works with opening and closing orders in several markets at the same time, they realized that the following problems:- Orders being opened and markets that were not listed in the "set current market for the next blocks" block
- Only the first market will meet all EA rules on all tabs, ontick, ontrade for example.
- Everything under one of the 3 blocks informed above will not be executed correctly. Often ignored.
Recommendation:
Backtest one asset at a time and do not use this block.
You may be wasting good results because you believe that your test in more than one currency is failing, however the results presented when testing in more than one currency are wrong. -
RE: RSI condition about Valueposted in Questions & Answers
@roar said in RSI condition about Value:
yes. You can also put the variables in a comment block and see real-time how they flow through the steps
Greattt @roar thanks for your support, you solve my issue, thank very much.
i have group for fxdreema on whatssapp and telegram, would you like to participate? -
RE: RSI condition about Valueposted in Questions & Answers
@roar said in RSI condition about Value:
I dont know what scale your indicator uses. Try 0 for the gap0
my friend, it worked very well now, I tested it and he found exactly what I need, now I will measure the level of the ideal slope that I seek, thank you very much, you are always showing to be an expert in fxdreema, congratulations and if my EA is I will send you a copy.
-
RE: How can I use the trailling stop correctly?posted in Questions & Answers
@l-andorrà 40 pips ? why? no understand reason for the number 40, i not set 40 ...
You can explain? -
RE: Compare orders and close with profit coverage.posted in Questions & Answers
Hi friends, I somehow managed to do what I wanted and I'm enjoying the results a lot.
I know that maybe my logic is not so good, but I'm trying to improve and I hope I can help some people, comment here who can have help with this.Well come on, what is this project doing:
- The EA will first monitor and add in real time the profit value of all open purchases in a variable
- The EA will then locate the oldest sale and monitor its value.
- The EA then applies a formula adding the value of the buy orders + the value of the Sell order in this case a single order.
- Then he then includes in the calculation a "profit" that I want to make on this closing.
- He then fulfilling the rule again finds that particular sale and closes it with purchases at profit.
So I managed to do what I want, which is to use a good sell amount to eliminate an older order that was prejudging my trades.
Why did I do this?
Answer: Because some of my EAs work with grid and generally strategies like that tend to leave orders behind when they get trend.
The idea is to eliminate the countertrend orders that are consuming my balance.
Here's the project for who knows someone can improve, I know there's a lot to improve and I'm sure that many will be able to do this, good benefit for those who need it.
Project ---> https://fxdreema.com/shared/Wduu0hbGcImage closing order sell

Latest posts made by fabiobioware
-
RE: Reduce risk with account management toolsposted in Questions & Answers
Robot risk management in my opinion boils down to the following:
Time Filter (To allow opening new operations).
Allowed days filter to allow opening trades.
Time Filter (To close open trades). Condition to assume or not harm. Keep orders open or close on loss.
Spread Filter (To avoid absurd spreads).Daily Earnings Limit
Daily Loss LimitWeekly Earning Limit
Weekly Loss LimitMonthly Earnings Limit
Monthly Loss LimitLimit on number of trades won daily
Limit on the amount of daily lost tradesMaximum limit of concurrent open operations.
Time to close profit-only trades and stop trading on the day.
DrawDown Control
Margin Level Control
Batch increase and decrease control based on BalanceI have a lot more to say, but it wouldn't fit here, but in my opinion this is the basics that every robot should have.
-
RE: Compare orders and close with profit coverage.posted in Questions & Answers
@ladydolares said in Compare orders and close with profit coverage.:
por exemplo, tendência de alta quando o candle está acima de 30. (puramente exemplar)
e quando o candle está abaixo de 30 é uma tendência de baixa.
Existem 2 negociações abertas de compra e venda e a vela está acima de "sma-30". Neste ponto, mais 1 compra deve ser aberta e todas as negociações abertas devem ser fechadas quando houver lucro total.I believe this logic should not be too planned.
Closing will only happen when you actually make a profit.
The fact that you have one more buy order in profit will not close your orders unless there is a certain profit taking place.You have to plan very well what you want.
The way you explained it to me I didn't understand, there are elements missing.bullish trend when the candlestick is above 30. (purely exemplary) But, the candlestick is 30 points above what? A moving average? from which period for example?
There are 2 open buy and sell trades and the candle is above "sma-30". At this point, 1 more buy must be opened and all open trades must be closed when there is a total profit. ----> This will only be decisive and actually happen if you really make a profit.
The order quantity will not matter, as each order has its commission and swap rate, you can find 3 buy orders and 2 sell orders and the sum of the 2 is still negative due to fees, unfortunately I don't believe in exact math on the market.
But if you want to explain it to me in a little more detail, I will try to design the project.
Note: Remembering that I'm not an Expert here, we have many fxdreema experts in this forum, I'm Enthusiast. -
RE: Compare orders and close with profit coverage.posted in Questions & Answers
@ladydolares said in Compare orders and close with profit coverage.:
O que quero transmitir é uma ideia completamente diferente. Tão diferente do seu projeto.
Como você sabe, pode ser extremamente irritante quando a tendência se inverte. Há uma ideia na qual estive pensando, mas não consegui concretizar.
número de transações abertas: 20
Há 5 compras e 5 vendas.
A EA detectará a direção da tendência neste ponto.
Se a tendência for de venda, a compra ea compra parará de abrir e a venda continuará a abrir.
Todas as posições serão fechadas quando o Lucro Total atingir o valor determinado. Peço desculpas pelo meu péssimo inglês.
Como você acha que essa ideia funciona?This blue block "Bucket of Positions" can monitor the total profit of a group or all orders.
Once there is a profit of $0.50 he will close all orders on the chart.But in your case involving trend, we first have to understand what you consider a trend, and how you would know you're not being confused by a correction.
If he knows the trend he would put an order counter and would also put a rule so while he is in a desired number of orders and the trend is in progress he would start checking the total profit of orders so he can close everything.
-
RE: Compare orders and close with profit coverage.posted in Questions & Answers
@ladydolares I don't understand 100% of your idea, but let's try to simulate the situation to see if my answer will help you.
In your scenario
10 open purchases
10 open saleThe Market decides to go in the sales direction.
This setup I made will do the following.- Monitor the total profit from sales and at the same time monitor the total profit from purchases (including swap, commission and everything else)
- Set a profit amount you want, example $2
- When opening an 11th order if the profit is positive, close all chart operations.
I see some details in this type of rule, the orders when opened are consuming different values at all times along with the rates, including each one of them opens with a different spread.
You can stay for a long time, even with the operation locked without closing due to the proportion of both sides, generally to obtain a profit it is necessary much more than 1 order more in the profit sense to close everything profitably.The project I made looks at everything that is happening again.
It takes every new trade that is in the direction of the trend and is profitable to add the total value with the negative value of one of the orders on the opposite side and thus close that particular order, this I did because I like to follow the trend and I don't like to keep orders open for a long time.If I didn't express myself very well, I'm sorry.
-
RE: Compare orders and close with profit coverage.posted in Questions & Answers
@l-andorrà
Yes, he is watching first if he has enough profit to cover any buys or sells that are negative on opposite sides, I did it this way for him to find some operation on the opposite side so that he can eliminate and still generate a profit as this would be good for decrease order quantity and invoice some $, of course this project doesn't include something already with the commission and swap rates which is what I'm trying to do now and it would be brilliant. -
RE: Compare orders and close with profit coverage.posted in Questions & Answers
Regarding what you think or don't think about strategy, the best thing we can do is "try" to get something good for ourselves.
Whether working with grid, martingale, stop loss or no stop loss, what matters is finding a way to withdraw money from the market and be smart enough not to return it.
For this we just need to "try" if we just stay "talking and criticizing" we won't leave the same place.
Let's win in this manipulative market. -
RE: Compare orders and close with profit coverage.posted in Questions & Answers
Hi friends, I somehow managed to do what I wanted and I'm enjoying the results a lot.
I know that maybe my logic is not so good, but I'm trying to improve and I hope I can help some people, comment here who can have help with this.Well come on, what is this project doing:
- The EA will first monitor and add in real time the profit value of all open purchases in a variable
- The EA will then locate the oldest sale and monitor its value.
- The EA then applies a formula adding the value of the buy orders + the value of the Sell order in this case a single order.
- Then he then includes in the calculation a "profit" that I want to make on this closing.
- He then fulfilling the rule again finds that particular sale and closes it with purchases at profit.
So I managed to do what I want, which is to use a good sell amount to eliminate an older order that was prejudging my trades.
Why did I do this?
Answer: Because some of my EAs work with grid and generally strategies like that tend to leave orders behind when they get trend.
The idea is to eliminate the countertrend orders that are consuming my balance.
Here's the project for who knows someone can improve, I know there's a lot to improve and I'm sure that many will be able to do this, good benefit for those who need it.
Project ---> https://fxdreema.com/shared/Wduu0hbGcImage closing order sell

-
RE: Compare orders and close with profit coverage.posted in Questions & Answers
@l-andorrà I imagine my friend, it seems to be something very difficult to do.
-
Compare orders and close with profit coverage.posted in Questions & Answers
Hi guys, I would like to know if you can help me.
I have 20 open orders.
10 purchases
10 salesI want my EA to start eliminating orders, and what would this elimination look like...
He will have to compare some buy and sell orders with each other.
When he realizes that for example:
purchase order 0.01 current value is -$3.50
sales order 0.01 current value is $3.55
So he must immediately close these 2 orders guaranteeing me the profit of $0.05This looping must always happen.
Can anyone give me an idea how I can make this work? -
CandleCrossesposted in Questions & Answers
Hi guys, I would like a little help.
I'm wanting to do something simple but I realized I'm not getting it on mt4 and mt5 too.
I want when the price or candlestick crosses below the line the sell is opened.
I don't want to wait for the current or previous candlestick to close, I want that when the candlestick crosses and it doesn't matter if it's a fuse it goes short.
I know it's simple but I can't make the entry happen at the right time, it always waits for the candlestick to close to enter.
Can you help me?
