Thanks for the input. Very helpful. I restructured the project and it works now.
Solution: https://fxdreema.com/shared/b4VvEZ81d
Thanks for the input. Very helpful. I restructured the project and it works now.
Solution: https://fxdreema.com/shared/b4VvEZ81d
Hello, I use EAs with a martingale money managment where there is no hard SL set. To fulfill requirements of certain funded trader programs, I need to have a Hard SL set on each trade of the basket (i.e. a separate EA which just closes all trades when specific DD is reached will not be enough). Can this be done with FX Dreema, and maybe there is some solution available here?
Example: Max loss USD 2000
-1 lot bought at 1.12
Separate FX Dreema EA (or available EA Trade Manager) should set hard SL on the trade corresponding to USD 2000 loss if triggered
-2 lots bought at 1.11
Separate EA trade manager should reset all SL on all trades which corresponds to overall USD 2000 loss if triggered
This should exist I hope and I would be glad if you can point me towards the right apporach with FX Dreema or existing solution you might know? In my experience it is quite common that many EAs calculate hidden SLs but do not set hard SL, so I would be glad if there is a solution to this issue.
Great, thanks! Still testing but this has solved the issue I think.
Ok, thanks, I had to create a new block for each candle, which was a lot of work but seems to achieve what I wanted.
But I have a new problem:
As the algo reads through 28 FX pairs, I put at the top of each block the "Set Current Market for Next Blocks" block, with a constant consisting of all FX pairs (so I dont have to attach to 28 pairs x2 (as I look at 30M and 1H). What happens now is that if it finds a signal on 1 pair, it will place a trade for this pair. But because I have the "No trade/order" block at the end of each block, it will not place orders for a 2nd, 3rd etc. pair if a new signal is found? How can I restrict the "No trade/order" block to apply only to 1 pair and one direction (i.e. there should be only 1 sell in EUR/USD and 1 buy in EUR/USD, and the same for anyother pair, just not 2x or more a buy or sell in any pair).
The project:
https://fxdreema.com/shared/0NeK0t4gb
Thanks!
Screenshot from the chart window:



Hello guys, I am trying to achieve the following.
I have an indicator which indicates when a double top or double bottom forms (not repainting). When this happens, I want to wait for a pullback to the middle of the structure (see screenshot point 1), to place a pending order (i.e. for double top, place a sell stop at the signal line, see point 2 in screenshot).
The custom indicator is correctly imported as I use it successfully for another system. I tried to do this project, but no orders are placed and no order triggered: https://fxdreema.com/shared/Df2d9HnDd
My approach:
Do you have any idea why the current logic / blocks don't yield the expected results?
Example:

Thank you. Yes, this worked. I noticed also something weird as I couldn't make it work first (no trades in the Strategy Tester). As I purchased the indicator in MQL5 shop it was stored under Market. Only once I removed it and placed it in the general folder, the algo worked as expected.
Anyway thanks a lot!
Hi, I get the following compilation error due to importing a custom indicator with some errors I guess. Can you help?((
This is the project:
https://fxdreema.com/shared/hksirNvce
This is the error:

This is the original indicator in MT4:

This is how I imported it:

Hi, I am getting the below errors when compiling, looks like the issue is how to import the Sound File of the custom indicator? How should it be done (couldn't find a reference)?
The project: https://fxdreema.com/shared/Np3BcnHxb
The error:

The custom indicator:

How I did it:

Hi, I get the below list of compilation errors. I do not have many blocks in this project and I really don't have a clue where these come from? Any ideas?
The project: https://fxdreema.com/shared/2xSKKOREb
The errors: 
Thanks a lot for your inputs
Thanks, I added screenshot and comments in this thread (https://fxdreema.com/forum/topic/10484/issue-with-reading-indicator-arrows-indicator-visible/2) . But the problem is I believe not the mapping of the buffers, but how to catch repainting candles correctly (I tried the box "On additional candles to be visible" to 4 as thats the delay I believe, but I can't make it work (i.e. still only the arrows appearing on candle ID = 0 trigger trades, the others don't.