I will reinstall everything tomorrow morning and let you know.
Night
I will reinstall everything tomorrow morning and let you know.
Night
Ok I will check that. Its a bit late for me now but when the problem remains I will do a video just like last time and show what exactly happens. Anyway thanks for the reply so far 
Erik
P.S. Also on other computer the problem is the same. Later
My build is 765 and have the same problem with different brokers. I also have this problem with an EA that sends out trading signals (Trades) to other clients. This EA does not come from FXDREEMA. So its Metatrader itself that has created this bug.
Erik
Getting a bit sick of all these Meta Platform updates. My EA was working great and I could change time frames as much as I liked without having to restart the EA. But since the latest platform update of Metatrader, every time I switch to another timeframe the robot swithches live trading off.
So now I have to switch on live trading over and over again each time I alter the time frame on the chart.
This has nothing to do with FXDREEMA and I also know it worked perfect before because I have a video that shows it worked perfect.
But still asking this question to you. Any Idea what to do now?????
(It shows that every upgrade is not always an improvement)
Ok thanks for the help.
I just added an additional condition check before the entry and that is giving me the results I wanted.
So it's pretty much just a quadruple MA cross trading robot 
Don't think I can use constants because these parameters (inp15_Lo_MAperiod and inp15_Ro_MAperiod) are set by the user so I have no way of knowing what they might be before the EA is running. So I need to check their values during runtime.
I can't figure out how to use variables because I can't figure out how to assign the values from the inputs (or how to check the inputs).
Here is a sample logic if it will help.
Entry conditions (here for a sell):
main_trend--> if ema 5 < ema 8
secondary condition--> if ema 8 < ema 13
final entry condition--> if ema 13 < ema 62
(Here I need--> if ema 62 < ema 100 then go ahead and open the trade, but the ema values are set as input parameters which may be something other than 62 and 100, that's what I need to check is what those input parameters are)
Sell Now
But I have an "emergency exit" check, once in a trade, that is--> if ema 62 > ema 100 then exit (short) trade.
What is happening is my entry conditions are met and the trade is opened but the emergency exit conditions are also met so the trade closes immediately (costing me the spread each time).
So, just before my sell order executes I need to make sure my emergency exit condition (set in inputs) is in a state to allow the trade to open.
Make sense?
Just before my buy / sell order is sent I want to check the condition of an input parameter before continuing. I have entry conditions that are set in the inputs page of the EA. In addition I have a condition for an "emergency exit" which is simply a condition block that compares two indicators (MAs). Just before my buy / sell executes I need to check the condition of my emergency exit block before execution. As an example what I need to check for, say a sell, is if inp15_Lo_MAperiod > inp15_Ro_MAperiod then (abort sell order). What I can't figure out is how to access the inp15_Lo_MAperiod and inp15_Ro_MAperiod input parameters???
This seems like it should be simple but I can't seem to figure it out 
Thanks for any help
Thanks I will dig in to it
BTW the video was made for my trading partner in arms. For the record these 2 stochastic settings could indicate the start of a trend. Above 70 trend up and below 30 trend down. So now the tutorial is complete
Thanks again.
Have send question with video link by email. Hope you can help me out 
Have same problem with ""Check current unrealized profit"
Of course its me who just don't understand how to place them.
Erik
Hi,
This is not a full automated robot because I think I can do the charts better than a robot can. But setting a bunch of trades takes a lot of time so that is where the robot comes in. So far so good and it works just fine.
Now I wanted to add a block on tick (checking all the time) that would close all trades and pending orders when all trades (minimum 3) exeed a certain loss. Lets say max loss may not exeed 150 dollar on all trades combined. So when total loss of combined trades is 150 dollar and 1 cent it should close all current trades and remaining pending orders in grid.
I have found these 2 blocks but can't figure out how to get this working.
For clarification I have attached a picture so its easier for you to see what I am doing.
Thanks in advance.
Erik
......
Close trades.jpg
I have made an EA that does nothing at all. Except it contains all blocks of the whole program. Just a way for me to have a complete overview on the screen.
Now I noticed that the flip flop condition has been removed in the 064 update.
Question 1: Any reason for that because I like it a lot.
Question 2: I still have it in my overall EA
and its still working perfect but is it possible that one off the blocks I have saved in my all in one EA not going to work anymore in the future???
Its fine but than suddenly its not. Same counts for block 47 that will not be executed.
......
BE.png
Now you have done it to me. You have opened pandora's box and I love it.
Did I tell you... YOU ARE AWSOME 
I am getting the Idea slowly but steady. Have also replaced draw arrow with breakeven block and that is working as well.
Oh once per bar was set on a 30min TF in this 4hr chart. Reason of the many arrow.
Thanks for pointing me in the right direction. Now the real stuff can be put together 
......
test.png
Well you gave me some homework. Will be buissy with that for a while. 
It was a free download. So files attached.
But I have to say I like the CC_divergence indicator a lot more. Also Attached. (weblink http://codebase.mql4.com/source/17351 )
Thanks for giving me hope 
......
RSI Divergence.mq4
RSI Divergence.ex4
CC_Divergence_v1.0.mq4
I am not the smartest when it comes to programming although I am getting the hang of it a little. However I do know quite a few things when it comes to trading and this divergence thing is a bit of a pain. Could you give an example how you would do this?? Just to get me started in the right direction. Would be awsome if you could 
Whooohooo Working again and can see the source code as well. You guys are simply the Best. 
Installing new version and will let you know if everything works again 
Noticed another problem. Not sure if that is related to this. I am unable to see the source code after Left click on block and choose source code. All pop up windows with sorce code remain blank.