I'm not sure I understand... Your pending order is placed at some price and then this pending order is triggered on the server, but with the spread at the time.
Posts made by fxDreema
-
RE: important questions about pending order ?posted in Questions & Answers
-
RE: Need logic helpposted in Questions & Answers
You are asking programming questions, but I'm not sure that you will understand what is going on even if we tell you

i3 is just some temporary variable that is used in these "for" loops as an index. For each iteration of the loop this variable contains different value. 199, 198, 197... 2, 1, 0. Why this variable is called i3, I don't know.
Those "Long" and "Short" variables are just variables that are set to true (or not). They are not even defined in this code, so you would get error messages because of that. The whole code was bigger and these variables were used somewhere for some logic. Here in this example they do exactly nothing.
Arrayresize() is a function to resize an array. But do you know what is an array...
ArraySetSeries() - better read the documentation for this function. Even I don't understand it fully

-
RE: bolinger aplicado a un indicadorposted in Questions & Answers
You want to be able to draw BB over another indicator? Well, I'm not very good at writing custom indicators, but I guess that you can call iBands() in a custom indicator and print it somehow.
If you only want to compare the value of BB with the value of another indicator, then the other indicator should have similar kind of values (something around the current price).
Or if you want to apply BB over another indicator (Previous indicator's data), you can do that manually, but not in the EA, at least not in fxDreema. In the past I tried to find a way to do that in an EA, but without success.
-
RE: ea stop making orders at 162000$posted in Questions & Answers
Take a look at the logs, the answer should be there. Maybe you reached some limit, this is what I think the problem is
-
RE: pending orders eaposted in Questions & Answers
Right now I'm looking at your projects and I don't see any project that creates pending orders. So I don't know, I guess that if you want to delete a pending order somehow, you should use some block to do that. For pending orders you can also set expiration time, which works at the broker and does not require the EA to be working all the time.
-
RE: Compilation error correctionposted in Bug Reports
These are warnings, not errors. They are not fatal, everything most probably works fine even with these warnings.
-
RE: PENDING ORDERS NOT OPEN - ONCE AN HOURposted in Bug Reports
Well, I think this is not a bug, I guess that it's just the way you connected your blocks
-
RE: How create 1-2-3 breakout based on Zigzag?posted in Questions & Answers
Well, you can play with the Zig-Zag indicator that is in the list of built-in indicators. This indicator comes with MetaTrader as an example indicator, but long time ago I decided to add some options to it. But to be honest, I have no idea how this indicator should be used

-
RE: Hedgeposted in Questions & Answers
Probably, but I hate this word with passion. I always say that, I think that hedging (in the same currency) is just overcomplicated martingale. Years ago I have made some example for some stupid strategy Sure-Fire and I posted it maybe more than 10 times in the forum. But again... I think it's better to forget about this overcomplicated recursive strategy that is not magical.
-
RE: Profit > last x previous losing trades.posted in Questions & Answers
Those last 10 losing trades are consecutive, or the last known losing trades, even if they are 2 months old? Because I feel that you would not like it if you are searching for the last known losing trades... well, depends on what is the chance to have losing trades.
-
RE: close at martingale,,posted in Questions & Answers
What is Martingale? Double on loss, reset on win. Very simple, but "win" and "loss" are something realized, a closed trade. You are closing 3 trades at a time.. Let's say that this is not exactly Martingale. But anyway, when you are working with this option, remember that the next lot size is decided after looking at the lot size of the latest trade. As your last closed trade is a loss, the next one comes with 2x lot size.
-
RE: replyposted in Questions & Answers
What is the problem here? This looks like martingale, but not exactly
-
RE: Check Ageposted in Questions & Answers
MetaTrader options... I don't see checked checkboxes or constants in this EA...
-
RE: Speed candles indicator helpposted in Questions & Answers
I don't think that this would work: http://prntscr.com/feswi3
On the left side you have a numeric value and you are trying to compare that value with text. "+50%" is basically the same as ""Hello my friend" in this situation. I guess that MQL4 translates this text into 1, but I'm not sure. It's not correct anyway, you should compare numeric data with numeric data.
If you still want to use that text, you can try to convert it into numeric value. But you need to remove "%" and extract only the first 2 symbols (with StringSubstr()) and convert them into "double" value (with StringToDouble())
-
RE: Hide the visual modeposted in Questions & Answers
I know there is a function to hide indicators in MQL4 - HideTestIndicators(). But this is not added to fxDreema, because it's MQL4 only and I don't want to add things that work only in one language anymore.
if you want to stop the whole EA when someone tries to backtest it, you can do that in "on Init". Connect the block who checks for testing and then the Terminate block.
-
RE: CLEAN THE CHARTposted in Questions & Answers
There is a block to delete all objects. I think these particular objects has names that start with "fxd", so you can connect that block in "on Deinit", set it to clear all objects with this prefix and it should work

-
RE: Converting MQ4 to C#posted in Questions & Answers
I don't know, I know very little C#, I am JavaScript fan

-
RE: how if i want , if my candle close > from my orders buy ?posted in Questions & Answers
Mmmm.... what? English lessons?

-
RE: MT5 Opening multiple indicators with the same parametersposted in Bug Reports
Make sure that the number of parameters of the indicator that is added in fxDreema, and also their type is correct