@l-andorrà or maybe you misunderstood where I face this problem. Basically if I have a chart open with the EA on it, and I login to a different account, I get this error, where I have to relaunch the EA to have it work again.
Posts made by q8carpenter
-
RE: EAs stop working when account is switchedposted in Questions & Answers
-
RE: EAs stop working when account is switchedposted in Questions & Answers
@l-andorrà I contacted the admin as I didn't expect that he looks the the forum posts much, and I thought of posting this here to have more people have a look at it.
Are you sure this doesn't happen to you? It seems to happen with all the fxdreema EAs I have as I tested.
-
EAs stop working when account is switchedposted in Questions & Answers
Hello everyone.
I just came across something that has probably been a bug with fxdreema, but I just noticed. It seems that if I'm running an EA built with fxdreema in MT4 (didn't try this with MT5) and I switched my trading account as the EA is running, the EA will stop and I will get an array out of range error as you can see in the screenshot.

This error seems to be linked to line 289 in this specific EA but its always related to the ( Run Blocks) part as you can see in the next screenshot.

I even tried running an empty project with only two connected block on Tick and the error persists. I tried other EAs that weren't made with fxdreema, and this error doesn't happen.
Does anyone now of a way around that problem? I mean when I run EAs, I want the same EAs to continue on the same settings and charts on any account I switch to.
-
RE: I need urgent help for my robotposted in Questions & Answers
@emreizmir Hello,
From what I see is that you have set the trade TP to 100 while you also set the trailing start pips to 100. This means that the trailing stop will never start. -
RE: I can't find the thread, sorry. Could someone help?posted in Questions & Answers
@l-andorrà 50/120 = 0.41 lots
Now you will need to test one thing though:
The 120 in the above formula is either pips or pipettes. (0.0001 or 0.00001) and I'm not next to my pc at the moment to do a quick test.
The other thing is that this will work with the EURUSD but I'm not sure if its the same on other currencies. -
RE: I can't find the thread, sorry. Could someone help?posted in Questions & Answers
@l-andorrà
This is the formula for currencies with USD base keeping in mind that I have removed the pip size rules from the settings:
0.001 = 0.01
0.00001 = 0.0001
0.000001 = 0.0001
-
RE: I can't find the thread, sorry. Could someone help?posted in Questions & Answers
@l-andorrà Hello,
This link may help you. It contains the information and formulas. All you need to do is shift things around.
-
RE: How to get 99% back testingposted in Questions & Answers
@l-andorrà don't take my word as I'm not sure, but it seems to me and it would make sense that all brokers historical data is the actual data that they were running live, but stored up for us to use. It makes sense this way because you would see big differences between their results. But then again, brokers have data from before they were established. So I'm not sure how they really work. In any case, I ran the same EAs on FXCM and Swissquote once to see the difference. These EAs were optimized on MT4s historical data. These EAs ran very well on FXCM but were worse on swissquote. This showed me that in reality strategies should have some slack to the difference in pricing between brokers.
-
RE: How to get 99% back testingposted in Questions & Answers
@raiderspaz @TipsyWisdom @l-andorrà Hello,
This may be a bit off topic, but when you have a strategy to trade on MT5 and try backtesting it on different broker servers with their own data, you will find that your results will vary even though the differences are small between different broker prices. What that showed me throughout the years is that:
- MT5 is the simplest way to get the data of my broker.
- Best to optimize your EA for your broker and MT5 is the way to go.
- If you see that your strategy loses or fails based on data accuracy, then keep in mind that different brokers already have differences in live prices and that shows me that accurate data is not the important factor in your backtesting or knowing that a strategy is a winner.
I believe that a good strategy should care that much on how accurate the data is. I mean if a pip here and there affects it that much, that's not a good strategy to me. Trying different brokers should just shows how solid the strategy is or how overoptimized it is.
That's my opinion and I wonder guy what do you think?
-
RE: Regarding Paymentposted in Questions & Answers
@arivazhagan-p Hello.
- I have been trying to pay through PayPal directly and it doesn't seem to work with me.
- However, when I use the (fast pay by fast spring) option, I pay them with PayPal. I assume that if you are logged in through your account in fxdreema and then enter the payment page and at payment you login through your friends PayPal account, it should work. I mean my login email to fxdreema and my PayPal email are different and it is working for me. That is to say I am paying through fast pay and paying them with PayPal.
-
RE: Show profit and loss valuesposted in Questions & Answers
@ontradingx In my two examples, one shows the profit loss of live trades and the other shows the profit/loss of closed trades. I see that you used the closed trades version but expected it to work on live trades. Use the other method.
-
RE: Show profit and loss valuesposted in Questions & Answers
@ontradingx If you want to display the profit of closed trades, then that's a simpler story. Here is how to do it.

-
RE: Show profit and loss valuesposted in Questions & Answers
@ontradingx Hello,
Here is an example of how to show the profit equity so far per day. From that example you will have an idea of how to do it per week or month.
Create a variable that on the start of each day gets set to your accounts equity. After that create a formula that subtracts the current equity from it and display it on the comment block.
Keep in mind that by using these blocks run per tick and if your broker stops trading the price movements at midnight, then the block that sets the equity will not pass as I have set it in the example to 00:00. What I would do is just place a (once per bar) block and set the time frame to D1 so that with the open of each daily candle, the variable will be set no matter what time the broker start showing prices.
There may be a simpler way that others can share, but that's the way I know.

-
RE: Advice on how to shorten fxdreema learning curveposted in Questions & Answers
@pintto Hello,
As @l-andorrà mentioned, the forum is a great place. I would say that before asking, search for what you're looking for and most probably you will find it. This is what will shorten your learning time.
Other than that, if you couldn't find what you want, or no one knew how to do it when you ask, the way to go is with a lot of trial and error. I launch FxDreema and start testing different kind of ways and backtest until I get what I want. With FxDreema you can get a way to achieve about 95% of what you need, then the forum information can cover the next 4% and https://www.mql5.com/en/code the mql5 source code library will cover the last 0.9% .
If you come across a problem that fits in the 0.1% of unknowns, then you 're out of luck

-
RE: Second Multi Cycleposted in Questions & Answers
@biztet The once per bar block is supposed to take care of that for you. If I'm not mistaken, the pips away block will look at the distance equal to or greater, as there are no exacts with prices. Backtest it in visual mode and have a look.
-
RE: Partial horizontal lineposted in Questions & Answers
@raiderspaz Tell me how you want it to be set up and I will show you an example of that. I mean what are you placement criteria
-
RE: Partial horizontal lineposted in Questions & Answers
@raiderspaz Hello,
Use a trend line instead of a horizontal line. Set both start and end prices to the same level you want.
