@isp00rt I set the constant to 10 and then to 100 seconds and it worked for me. I did that in the project directly, I normally don't touch the inputs of the EA in MetaTrader
Posts made by fxDreema
-
RE: Questions about 'Skip ticks' blockposted in Questions & Answers
-
RE: How can I create a delay in seconds?posted in Questions & Answers
But this is almost what "Skip Ticks" do. When it runs, it sets some variable to a future time, and then on every tick (in OnTick()) that variable is compared with the current time. After the current time is > than the time in the variable, the rest of the code in OnTick() is allowed to work again.
-
RE: Filling type: RETURN ordersposted in Questions & Answers
This problem again
Do you have some login data for such a broker, so I can test what is going on? From my country I can'r make a demo account in those Brazilian brokers. I tried many times in the past and every time someone is giving me login data 
-
RE: between two valuesposted in Questions & Answers
There is one fancy block "Indicator moves within limits", and this block also check whether the price is between two levels for each candle (for example for 5 candles in the past)
-
RE: Indicator Timeframe other than Currentposted in Questions & Answers
Check if the candles data is good for M15. But yes, try with Candle ID different than 0, maybe the indicator doesn't print anything on the current candle
-
RE: Cancel Pending Order with Opposite Signalposted in Questions & Answers
The idea is that when you run the pending order block, it will create a new pending order and with that its job is finished. The block doesn't look at MA levels. But there is a "Delete pending orders", which you can use after some conditions to detect MA crossovers.
-
RE: How can I create additional FIB levels in the FIB tools?posted in Questions & Answers
If you are talking about "Draw Fibonacci" block, try this

Write 88 there. And also the other levels you want, because if you only write 88, you will only see one level

-
RE: mt5 EA helpposted in Questions & Answers
I will suggest to find some indicator that searches for the divergence and then to get the signals from that indicator in the EA and decide when to buy or sell
-
RE: Write unrealizad profit and loss when testposted in Questions & Answers
But I posted some example above to calculate this max profit. The EA doesn't collect such profits otherwise. I have 2 variables - maxProfit and maxLoss - and they collect the maximum profit and loss as a money amount. The problem is that those are only 2 variables and it will not work if you want to collect the profits from multiple trades at the same time. To do this, arrays of data will need to be used. But if you have only 1 trade at a time, those 2 variables will work good.
-
RE: Time Filterposted in Questions & Answers
The truth is that any generated EA is much heavier than some manually programmed EA. Those blocks are probably not that heavy, compared to others.
-
RE: WHY BUTTONS ARE NOT DISPLAYED DURING BACKTEST?posted in Questions & Answers
I tested "Draw Button" and it prints the button on the chart... I don't know what is wrong for you. Do you have any error messages? And what if you try the Draw block with the default settings
-
RE: i want help to use this indicator ?posted in Questions & Answers
I'm not very good with indicators, I don't fully understand how they work. But it gives me EMPTY_VALUE all the time for this indicator. I don't think this is a bug in the EA builder, because if it is, probably all indicators will return this value and people will start complaining.
-
RE: Trailing Stop spread bufferposted in Questions & Answers
The average spread is nowhere calculated. Only in that little spread meter on the chart, but this doesn't count
I don't know if this will work, but you can change that "Reference price" in the options -
RE: Check last n trades closed (but ordered by oldest closing time)?posted in Bug Reports
My expectation is that the trades should be sorted by close time. But to be honest, I don't know all the details. I don't remember seeing wrong trades order, but if you think that something is wrong, give me some project so I can investigate it.
-
RE: x< and x> failposted in Bug Reports
@majestad, what about Once per bar? https://fxdreema.com/demo/mt4-once-per-bar
isp00rt, there is no need for the pink block when using those blue blocks. They have their own loops inside.
-
RE: Is this a thing?posted in Questions & Answers
Depends on what "properly" means. I made this fractals example to show that if the indicator prints arrows, Candle ID should probably be set to something bigger than 0, and also to show those Indicator Appear blocks. I don't know another built-in MetaTrader indicator that prints arrows, so I used this one

-
RE: i want help to use this indicator ?posted in Questions & Answers
I don't know, this indicator always gives me EMPTY_VALUE in all buffers
-
RE: Time Filterposted in Questions & Answers
Day is the day of the month, like now the day is 17. There is another block "Weekday filter"

