It all depends on how the trades are placed, you could, for example, place 4 trades instead of 1 with 1/4 lot size, then use a group number specific to this group of trades, then when you want to close some, close and check the running number, close another until the correct number of trades are running.
Posts made by jstap
-
RE: Close partially, least profitable tradeposted in Questions & Answers
-
RE: TARGET PROFIT FOR THE DAY RECOVERYposted in Questions & Answers
check profit < above placing trade blocks, check profit > above a close trades block.
-
RE: TARGET PROFIT FOR THE DAY RECOVERYposted in Questions & Answers
Check profit (period of time)< place trade, > close all trades
-
RE: Hello, how can I specify the supply and demand areas in the chart, for example, the beginning and end of swingsposted in Questions & Answers
This is very specific, to start you need to decide what you class as defining this, and then you can work out how to define it.
-
RE: value "range of candle id" doesnt work in indicator crossover line (conditon block)posted in Questions & Answers
So1 is different to 2, 3, 4, and then indicator crosses. test each condition separately, then you will know where the problem is.
-
RE: Get lot size from last closed with spesific profit or lose amountposted in Questions & Answers
Blue block check last trade profit, pink for each closed trade, looking at 1, modify a variable (call it what you want) in loop get lot size
-
RE: How to read the buffers of this custom indicator (mq5)?posted in Questions & Answers
Unfortunately some arrows are drawn in a way that means they are not visible in the object list,, Without this you cannot use.
-
RE: How to read the buffers of this custom indicator (mq5)?posted in Questions & Answers
Have you clicked on list all?
-
RE: How to read the buffers of this custom indicator (mq5)?posted in Questions & Answers
Open the object list, double click the object and see what values you have
-
RE: How to read the buffers of this custom indicator (mq5)?posted in Questions & Answers
Maybe some indicators are not coded correctly, if you have the object on the chart, see if you have it in the object list, and try to use that.
-
RE: Change Fibonacci level's labelsposted in Questions & Answers
It is possible but difficult, you would need to get the value using a formula, then draw a trend line on the relevant value and place, and then write the relevant text.
-
RE: How to read the buffers of this custom indicator (mq5)?posted in Questions & Answers
With those buffers it needs to be a constant value, if large or 0, then when indicator appears it changes to the opposite, this is what would make the block react. If it is constantly changing or fixed this would be the price value, if this value is not showing by itself I know or no way the indicator can be used.
-
RE: How to read the buffers of this custom indicator (mq5)?posted in Questions & Answers
From your picture, are you getting the 3 values that are printed in your comments?
-
RE: How to read the buffers of this custom indicator (mq5)?posted in Questions & Answers
Sounds like an indicator problem, do you have values in the data window?
-
RE: Break even differenceposted in Questions & Answers
I cannot help then, it looks like the admin is correcting some mt5 code. may be worth going to the main page and contacting him.
-
RE: Break even differenceposted in Questions & Answers
Is this copied blocks from your MT4 project, or fresh mt5 blocks?
-
RE: How to read the buffers of this custom indicator (mq5)?posted in Questions & Answers
Why is indicator is visible at the top? To check values you only need what is in the picture. If you open your data window, then the comment values should match this.

-
RE: Position closed block not working correctly.posted in Bug Reports
Yes, the new build has changed a few things, but the only way of knowing if that is the problem is to test other options also specified means to be specific. So without selecting something specific, it can't be.
-
RE: how to fix the condition in bollinger bandposted in Questions & Answers
You would need to add a shared link to look at,
-
RE: How to read the buffers of this custom indicator (mq5)?posted in Questions & Answers
I cannot see what is in your comment, add a shared link, by the looks of the picture that is not how to check buffers.