@miano
If you want to reopen an order if the previous one was a profit, put "For Each closed position" -> "condition: profit > 0" -> "buy now"
Posts made by seb 0
-
RE: EA problem with closing profitable trades after certain period of timeposted in Questions & Answers
-
RE: EA problem with closing profitable trades after certain period of timeposted in Questions & Answers
@miano
Hi, this way then
https://fxdreema.com/shared/HP3WZaOzd
It's a much risky strat on the long term -
RE: Problem loopposted in Questions & Answers
@yerlin
I suppose by sails you mean candle, then this should work :
https://fxdreema.com/shared/if9MclbEb
However i have an issue with my Fxdreema account so i can't check that it works well. -
RE: Problem loopposted in Questions & Answers
@yerlin
Do you want these arrows :- everytime the RSI crosses up the 30 level(no matter what happened before), same thing with the 70 level ? or
- when the RSI crosses down the 70 level if it crossed up the 30 level only a few time ago ?
-
RE: RSI levelposted in Questions & Answers
@saeed-2
Actually what do you mean by "the range", do you want the rsi to be above 10 on a specific moment only, or do you want the rsi to rebound for some time staying above the 10 value ? -
RE: RSI levelposted in Questions & Answers
@saeed-2
Not only it is possible, you have to specify this value in the right box (1 by default) :

-
RE: Problem loopposted in Questions & Answers
@yerlin
Hi, I can give you a loop example of your system if you give me a little more information about the conditions(indicator value, time or candle id). -
RE: ARRAY OUT OF RANGE AND ERROR 4754 <<<SOLVED>>>posted in Questions & Answers
@ambrogio
Again I'm not a coder but :
1.'10125-2976.mq5' seems to be the name of the EA file, rather than a position identifier.
2.If the value of the handler for "i" = 0 is out of range, it should mean that there is no value for the current candle. Maybe try to replace i=0 by i=1(line 11064), or to replace "i" by "i-1"(line 11067).
I don't now the whole thing tho -
RE: How can I turn DD into a percentage?posted in Questions & Answers
@l-andorrà
I think the system proposed by "miki" is right for the loaded trades.
Did you want to get the DD of your whole broker trades history, if so I don't know how you could load the values of trades closed before the execution of the EA.. -
RE: How can I turn DD into a percentage?posted in Questions & Answers
@l-andorrà
Do you need normal(max) DD, or relative DD ? -
RE: Three conditions in a range of candlesposted in Questions & Answers
@ambrogio
Cool then! That's a pleasure : ) -
RE: Weird 'zero divide' errorposted in Questions & Answers
Hmm I'm not a programmer either but I found the function documentation https://www.mql5.com/en/docs/marketinformation/symbolinfodouble
the line seems to be correct..
If the error is "0 devide" , and you say you are testing it on Down Jones, it could be that the second part of the fraction which takes the value of the symbol is equal to 0 because the market is closed..
It is just a suggestion. -
RE: Renko bar eaposted in Questions & Answers
@l-andorrà
The thing he has to take in count is that renko bricks form once the period has ended.
Often many bricks will form at once so the trend is caught too late. -
RE: Copy object valuesposted in Questions & Answers
@robertk
You can see your own posts by clicking you profile pic. This might be the topic you were looking for : https://fxdreema.com/forum/topic/11030/obtaining-trendline-values-and-redrawing-the-trendline/4
The link you did paste is missing a part
About taking the price by candle high/low in function of time, doesn't this block do the math ?

-
RE: Help please! EA that trades Parabolic SAR signals with 200 moving average.posted in Questions & Answers
@tt
Sure.
However I recommend you thinking about how to build your EA by your own. Then when you'll get the automatism which will allow you to have the flexibility(as no problem is exactly similar) and build more and more complex structures. And it'll save us a lot of time.
But if it really is too difficult you still can ask question.