Fixed. Thanks for the report!
Posts made by fxDreema
-
RE: Compilation errors 'ASK' - variable not definedposted in Questions & Answers
-
RE: Formula resultposted in Bug Reports
Yes, it's MQL5 only, i will fix it now. Thanks for the report!
-
RE: "New top in trend" and "New bottom in trend" blocksposted in Questions & Answers
"New top in trend" and "New bottom in trend" does not use time in calculations. They are as accurate as any other candles calculations. These blocks checks back to see if for X candles the price moved for at least Y pips. And the third parameter is... if it's lower, more up/downs in price are allowed between the oldest and the newest candle.
I made those blocks to serve one of my ideas - to detect when the price breaks at a new top/bottom, and all the previous cadles are below/above that level. Maybe there are indicators to do that, I don't know. But for your question - time bomb and new top/bottom blocks are similar, but time bomb lives in a timeframe lower than the lowest possible for MT, and that's why it is innacurate in backtesting.
-
RE: What block do I use to close position if indicator reversesposted in Questions & Answers
Place that block where it's needed!
Normally the EA does what it does on every tick. When a tick comes - certain code is executed. In fxDreema this is when you put blocks in "on Tick". So, when a new tick comes - the blocks on the top in "on Tick" will be executed. Depending on what they do, the blocks below them will be/will not be executed. The logic flows from the top to the bottom.
In your case, "No trade is running" is executed on every tick. When there are trades and the yellow output is active, the next blocks will be executed - in your case two "Close each losable trade". The "Condition"-s that follows does not matter in your connection. So maybe you can try to put them above the "Close..." blocks

Another block that is frequently used with "Condition" is "Once per bar"... just in case.
-
RE: adjusting stop loss s/l when market > opening priceposted in Questions & Answers
If needed it's possible.
-
RE: Check if any orders opened in current barposted in Questions & Answers
"Once per bar" block has independent internal memory that remembers the last bar's time that the block was executed. When it is executed, if the time of the current bar is different than the time into the memory, the block is executed once.
The current bar is unfinished, that means the H, L, O and C levels are not finished, they can be changed. But if in the middle of the block you want to open some trade - there is no problem. Put "Once per bar" after the condition and before the "Buy now/Sell now" so that when the condition is true in the middle of the block, "Once per bar" will pass once until the current bar is closed.
-
RE: Programm lost varibleposted in Questions & Answers
Ooops, for some reason I can't reach your email. Check your messages here in the forum.
-
RE: Programm lost varibleposted in Questions & Answers
I know this problem, it's because the .xml file contains bad symbol "<" in wrong place. This problem is produced from one of the oldest builds. If you send me the .xml file I can return it back to you as working, or I can fix it via TeamViewer, or if you are familiar with XML format - open the file in Firefox, find the place where "<" makes the problem, then replace this symbol with < inside the file.
And of course, sorry for that problem

-
RE: adjusting stop loss s/l when market > opening priceposted in Questions & Answers
To put SL at open price level when there is some profit, use "Break even point" block.
-
RE: Less than "n" trades are running blockposted in Questions & Answers
The block is named "Check trades count" and if trades count is 2 (so that <= 2 is true) then the block passes and goes to Buy now to create trade #3.
Try with < instead of <=. If trades are less than 2 (they are 0 or 1), then go to create another one (#1 or #2).
-
RE: Less than "n" trades are running blockposted in Questions & Answers
If trades are 0, 1 or 2, then continue and open another one. After that trades will be 1, 2 or 3 respectively.
-
RE: Помощ за МА пресичанеposted in Questions & Answers
Значи затворените се водят "history trades", те са вече в историята, сигурно са много на брой, и не знам кой би се интересувал от тях вече. Нереализирания профит затуй е нереализиран, защото поръчките от които се пресмята още не са затворени - това е временния текущ профит, който при затваряне на тия поръчки ще стане... реализиран.
-
RE: Помощ за МА пресичанеposted in Questions & Answers
Подобно, ама така ако е с една валутна двойка му се губи смисъла - същото е да напишеш EURUSD в Sell now и GBPUSD в Buy now. Реших че искаш да купиш/продадеш едновременно на няколко двойки, примерно да използваш Buy now няколко пъти пъти, така да се каже. Но ако не е такава идеята, праскай по една конкретна валутна двойка директно в Buy now и Sell now.
За другия въпрос... ако не се бъркам и аз, така трябва да стане, ако е изпълнено условието и в двата блока да работиш със същите поръчки.
-
RE: Помощ за МА пресичанеposted in Questions & Answers
Обмислям го да може, сега не може директно в блока. Но можеш да сложиш Set "Current Market" for next blocks отгоре, и той ще се повтори толкова пъти, колкото двойки са написани... абе ще го разбереш. Само че няма да работи на бектест, МТ4 може да бектества само една двойка.
-
RE: check current unrealized profitposted in Bug Reports
Bad. I will investigate this block, but if you want to check the current profit (the total profit for the account), go to "Account information" in "Condition" block.
-
RE: Trademark is beautiful, but gets in the way of my Comments!posted in Questions & Answers
Actually the reason of this logo to be there is not advertising, but recognizing that the EA is made with fxdreema. And it was fun for me to create it. In fact, this logo exists only in the MQL4 part, for MQL5 I was too lazy to create it
And it can be easily removed from the output source code - it exists somewhere in "init()".Also, I think that EA creators (in general) are good to quickly build some strategy and backtest it, but for professional use it's better to write the strategy in MQL4/5 from scratch. Because EA creators are made to be universal, the biggest part of the output code is trash. At least this is the case with fxDreema, I can admit that. Yes, the EA can work, but every EA can be written with less code from someone who knows how.
Well, I will add some option to enable/disable if this is what many people wants. This is already planned update
