Has anyone found a workaround for this? I am trying to exactly as manu22 writes in the original post, and the "check profit unrealised" is not optimal..
Posts made by PipTheRipper
-
RE: Trailing TP group of trades money amountposted in Questions & Answers
-
check loss -> close tradesposted in Questions & Answers
Hi, im trying to use the "check loss" block, to close all open orders once a certain % drawdown is happening. For some reason, its not working. Can anyone see what im doing wrong?

-
RE: add to positionposted in Questions & Answers
anyone knows how to get around this? I have tried so many different ways, and i simply cant get it to do what i want it to..
-
RE: add to positionposted in Questions & Answers
Great, thank you.! One step closer
Now the ea opens the second position. But not more than that. I want it to open a new position every time the last order is negative 20 pips. So if position 1 is negative 20, open a second position, if position 1 is negative 40 pips and position 2 is negative 20 pips, open a third position etc. Any idea what is missing? -
add to positionposted in Questions & Answers
Hi, I'm trying to do something really simple, but somehow I cant get it to work.
I want to add X % to position every time the last opened position is Y pips in negative. Like a dollar cost avarege system. Every time price goes against the last position by Y pips X % is added to the position.
All orders will be closed when the total sum of pips (of the basket of trades) is in profit by 10 pips.
Here is a link to the project https://fxdreema.com/shared/eO8iegwkd
Can sombody see what im doing wrong?
-
drawing horizontal lineposted in Questions & Answers
i have been trying to draw horizontal lines at the highest price and the lowest price during a daily time period. For example draw line at high and low between 5am and 10am.
I am not able to only draw from beginning till end of the period. See below how the ea draws the lines through the whole chart.

Here is the fxdreema link: https://fxdreema.com/shared/quau29Jic
I would like to draw a line that only plots during the time period, and will draw new lines everyday above/below the time period. So the lines should not go through the whole chart. See screenshot below.

Or a box around the time period using time and high/low coordinates to plot the box would also work..
Any suggestions?
-
RE: stop orders above/below last x candlesposted in Questions & Answers
New question. How can i specify that im only interested in pending stop orders? Dont find a way to do this, and it results in the ea also opening pending limit orders..
-
inputsposted in Questions & Answers
Hi, i dont understand why these inputs show up in the user interface. The inp223_StopLossMode, inp223_TakeProfitMode etc.
Does anyone know why this happens?
-
RE: stop orders above/below last x candlesposted in Questions & Answers
Something seems to not work properly. I am trying to place a sell stop below last 10 candles and a buy stop above last 10 candles. However, when i place the ea on a chart it opens the pending orders at seemingly random places. Any idea why this is happening?


-
stop orders above/below last x candlesposted in Questions & Answers
Hi, what is the smartest way of setting buy or sell stop orders at latest wing points.
For example, set buy stop order at the high of the last 10 candles and a sell stop order at the low of last 10 candles.
Cheers
-
GMTposted in Questions & Answers
Hi, regarding the different time options provided in the blocks, for example the "time filter" block. If i choose the option "GMT" does that mean that the ea will work the same on any broker, without the user setting the gmt offset? I assume so since GMT is always GMT no matter the timezone of the broker, but i would like to get this confirmed.
-
RE: Max and miniumum stop loss / take profitposted in Questions & Answers
i found a way to do it, if anyone else looks for the same type of max/min stop loss values, you can and example of how the max stop loss works. https://fxdreema.com/shared/2iS0KTZwc
-
RE: Max and miniumum stop loss / take profitposted in Questions & Answers
The idea is to not use fixed stop loss per default, but place the stop loss based on swing highs or swing lows per default..
But sometimes one of the previous five candles will be massive. Lets say its 200 pips due to some news release or something.
In this case, to protect against setting a large stop loss i would use the max stop loss value.
The same goes for minimum stop loss. In some cases the low of the last five candles is only 5 pips away. And again, to protect against setting way to small stop loss, the minimum stop loss value overrides the dafault stop loss.
Its a protective mechanism to not place stop losses that are too wide or too narrow. Most of the time the ea will simply set the stop loss below or above the swing lows/highs (last five candles) but in those instances where the distance to the swing high or low is either way too large or way too small, the max and minimum stop loss values overrides the default stop loss settings..
If its too complicated we can go over it together when we meet on skype for the course class..
Cheers
-
RE: Order IDposted in Questions & Answers
sorry, my bad, its actually working fine. The issue was one of the conditions in one of the groups did never take place.. Thanks
-
RE: Max and miniumum stop loss / take profitposted in Questions & Answers
Almost.. the stop loss for a buy order in this strategy is placed at the low of the last 5 candles. However, if the low of the last five candles exceeds 20 pips (the max stop loss) then the ea places the stop loss 20 pips away. So yes, the stop loss never exceeeds 20 pips, no matter how far away the default stop loss level(below/above 5 last candles) is.
The same goes for minimum stop loss level. If the low of the last five candles is 10 pips away, but i set minimum stop loss to 15 pips, then the stop loss will be placed at 15 pips from entry price.
another example would be a stop loss based on atr. If atr is 60 at entry price, but i set max stop loss to 40, then stop loss is placed 40 pips away.
So in other words the max and minimum stop loss overrides the default stop loss rules. The stop loss will never exceed the max stop loss pip value, and will never be smaller then the minimum stop loss pip value.
Hope its clear.
THANKS!!
-
RE: Order IDposted in Questions & Answers
Thanks, appreciate it.
I tried using the group function, but i must do it wrong. The EA only opens trades from group 2 now. On the screenshot you can see i have two strategies (group 1 and 2).
For each "no trade, "sell now", "if trade" and "close trade" i have specified the group (1 and 2), but somehow its not working. Can you see what im doing wrong? Cheers
