A remark also said to split out the closing of the trades from the rest. So here below the left setup is better than the right one?

A remark also said to split out the closing of the trades from the rest. So here below the left setup is better than the right one?

@l-andorrĂ thank you very much for all the help! It works perfectly!
Hi all,
I've been trying to figure this out for some days now but I don't get very far.
I want to have a condition that looks like this:
"If value of the ATR on candle 1 < distance between price on candle 1 and Moving Average on candle 1"
Can anyone put me on the right track on how to do this in fxdreema?
Thanks in advance!
Hi everyone,
I'm trying to add an .ex4 indicator to my system, so I can't see the code to determine the buffers. Then I found this thread and I downloaded this buffers explorer indi but it doesn't seem to work for me.
It open an empty indicator window nothing more as you can see in the image below.
These are my settings:

The indicator's filename is "Trend direction + force index - smoothed 4_3"
Am I doing something wrong?
Thanks!
Hi everyone,
I've also sent an email to the admin about this problem since I can't get it solved and it is vital to my EA.
Is it normal that it takes several days before the admin answers, perhaps on vacation I don't know? I don't want to spam but it has been more than 5 days now since I sent an email.
Cheers
@roar Yes indeed and it also doesn't take the trade on 2017.02.10 when it should make a sell trade..
And could the time filter be the problem as it seems odd to me that by using 2 different time filters the ea does take the trade, as I have shown in my previous posts?

@roar Thanks again for the effort. I notice the ea runs much smoothers with your logic!
I have done what you supposed and used the logic you sent me and adjusted the indicators to standard ones:
Unfortunately this hasn't solved the issue. This is the ea with the standard indi's: https://fxdreema.com/shared/ua3G60bzb
As you can see below it still doesn't make the trade while the MACD makes a cross on candle ID1 and price crosses MA on ID0:

I haven't got time to change the indicators in this one: https://fxdreema.com/shared/8Kndpuzib
In that one it did work like I sent in my previous post.
@roar Thanks for the tip!
I went through my blocks and apparently it was my time filter that seemed to cause the problem. I have tried different things but the strange thing is that I only seem to get it to work when I use different kinds of time filter for different rows. For the normal cross the "once a day" works best (if I change that I see strange things happen) but when the cross happened on candle ID1 it only works when i use the "time filter" block.
Isn't that strange? I just want all blocks to run once from the last 20 minutes of the candle so I would think I could use the same time block for everything?
I'm just trying to understand the logic here.
Thanks in advance
Hi guys,
I'm having a problem that doesn't seem to get resolved so I hope this new topic helps.
Like my subject says I'm having problems with a trade opening upon a candle MA cross on the current candle.
My aim is the following:
I need my EA to open a trade when the current price is above/below an MA while another indicator also gives a signal. This works when both events happen on the same candle. But I also want my EA to open a trade when my indicator gave a signal on yesterday's candle but price only crossed above/below the MA today.
To make it visible I have a picture below of how it should work. So the indicator cross happened on candle 1 but price was still above MA so no trade. On candle 0 price drops below MA and on the indicator the green line is still below the red line so a trade has to open. (When this would happen 2 candles later no trade should be opened so only if MA cross happen max 1 candle after indicator cross)

I tried a lot of thing combining ID1 and ID0 but nothing works. Below I have a share of what I already have tried for this:
https://fxdreema.com/shared/q7TU2IDwb
FYI: My EA is programmed so that it checks only every day at 23:40 PM and this is essential for my system.
I hope someone can help me with this because to me it seems a pretty straight forward condition but I can't seem to get it to work.
Thanks already!
Cheers
I changed the position of the once per day candle but it gave the exact same results as before.
Only now the backtest took 10 times longer to complete
@CPxiom I think that will give another problem because during a whole day candle price can drop below the MA and back above it towards the end of the candle. I want the EA to do the check only at 23:40 GMT and not before that time and only want a trade when the current price is below the MA at 23:40 GMT while the candle close of the previous day was above the same MA.
I think thats a pretty logical requirement and it thaught it would be a very simple condition but the opposite seems to be true 