Yes, I'm using your project, I can see it. I'm only backtesting with the data I have... I don't know it's quality, but there are no mismatch errors
Posts made by fxDreema
-
RE: The weirdest error ever?posted in Questions & Answers
-
RE: bucket tradesposted in Questions & Answers
I think that the strategy is not correct. What you have now is this:
- You put some trades
- You get the total profit ever made by the EA, which is the total profit of all closed trades + the total profit of all running trades
- If that total profit is >= 1.5 dollars you close all running trades
What "Bucket of All Trades" does is to make a list of all (in your case) closed trades ever made by the EA. Then their total profit is calculated in the "Formula" block. But there is nothing to be reset or to be restarted. When I say all closed trades, I mean exactly that. You have empty value for "Not more that N history trades", which means that the block works with ALL closed (history) trades.
What happens is that eventually the sum of profits of all closed trades is 1.5. Then, when you make a new trade, it's enough to make very very small profit with it and it's profit added to the profit of all closed trades (which is 1.5) equals to let's say 1.52, which is enough to call "Close trades". Then the total profit of the closed trades is 1.52, then it could become even larger and larger...
-
RE: Trailing Stop - Variable as inputposted in Questions & Answers
I think that "trailing stop" is the function, the whole procedure of moving SL while the price is moving. It's not just one particular level.
Variables can be seen of course, try "Comment" or "Trace"
-
RE: Break even point with mutltiple tradesposted in Questions & Answers
It's not impossible, I mean that it's not available in the blocks. And to be honest, I'm not very happy with the idea to add it somewhere

But I remember that this was one of the first simple things that I wanted to have years ago, when I was first playing with Forex and MetaTrader. Isn't there some indicator to do that already?
-
RE: Stuck on a simple MA EAposted in General Discussions
Use Constants, as they are actually input parameters for the EA: https://fxdreema.com/demo/mt4-constants
There is a problem if you want to use a constant in "Adjust" to make something like +5pips. Something like +MyConstantpips will not work for obvious reasons
-
RE: Need a helpposted in General Discussions
I believe it's you I just wrote an e-mail to. Basically, use the Adjust field in "Condition" block when you compare prices, or work with pending orders.
-
RE: Upload an old EAposted in Questions & Answers
What do you mean by old? If it's some EA that was not generated with fxDreema, then no, you can't import such EA even if it's new one. But it should work for old files generated by fxDreema. Well, it depends. Tell me, is there some error message?
-
RE: Trailing Stop - Variable as inputposted in Questions & Answers
A variable is just a name that have a number behind. There should be no difference if you use the value of 10 or a variable with value of 10. Make sure that the variable is numeric (double). What I don't understand is this initial trailing stop thing?
-
RE: Multiple Trailing Stopsposted in Questions & Answers
Trailing stop (each trade) can work only after certain profit is gained. But only between profit A and profit B... I was never thinking about this actually, but I think that it's not possible with this block.
Here is how to make trailing stop with pink blocks https://fxdreema.com/demo/mt4-loop-trailing-stop. With few "pips away from open-price" it would be probably possible to make such thing -
RE: bucket tradesposted in Questions & Answers
I have a problem that "Bucket of Closed Trades" doesn't even pass if there are no closed trades. Isn't this the problem?
Otherwise you can try "Check profit (period of time)" -
RE: The weirdest error ever?posted in Questions & Answers
I'm trying here on USDJPY, which is 000.000, but whatever value I write, I got my sell pending order at the correct price

-
RE: Button if tradeposted in Questions & Answers
But you already have these buttons on the chart, when you go in the upper left corner and click on the small triangle object
-
RE: Break even point with mutltiple tradesposted in Questions & Answers
If I am not wrong, the "Trailing stop (group of trades)" block calculates such value internally, but it is not available from outside. And I think that such value can't be always calculated with 100% accuracy, for example when your account is in USD and you trade on GBPJPY.
-
RE: Enabling multiple time frames in strategy testerposted in Questions & Answers
For me timeframe buttons are disabled while testing, and even after that

-
RE: Whick block can give MQL error codes?posted in Questions & Answers
Make sure that you are not working under "on Init"
When you don't know whether a block passes or not, put "Draw Arrow" after it and if you don't see any arrows on the chart, then the block does not pass. There is actually block "Trace Activity" for this purpose, but I personally mostly use "Draw Arrow"
Anyway, any block that prints something somewhere can be used.Otherwise when you run "Buy now", it should make a trade. If you are sure that this block runs and you don't have a trade as a result, then something is wrong. But I can't imagine running this block, not having any trade and not having any error message. If this is the case, are you sure you are running the right EA?
-
RE: Stop Loss on Buy Stop Orderposted in Questions & Answers
Here and there in blocks, including the Trailing Stop block, you will see three types of custom input:
- Custom (level) - the expected value is like 1.2345 when you mean 1.2345. Whatever value you enter, this will be the value that will be used. If you put 10 and we are talking for SL, then the stop-loss line will be put at price 10. Not 10 pips from the current price, but the actual price of 10
- Custom (pips) - you should enter value like 10 when you mean 10 pips. These 10 pips are relative to the current price
- Custom (price fraction) - you should enter value like 0.0010 when you mean 10 pips. These 10 pips are again, relative to the current price
-
RE: How do I reference an indicators buffer value which changes all the timeposted in Questions & Answers
I can't say that your indicator works. People who code indicators, they don't always follow the same rules. You can see what kind of values the indicator is giving you with "Trace" block. When you know them, you will know how to use them. Depending on the values, you can use some of the blocks in "Conditions for Indicators" category.
"Indicator is visible" works pretty much the same as when you have Indicator > 0 in "Condition"