I can see what you have now. No trade -> Condition -> Close trades. But if you don't have trades, then "No trade" does not pass and there is no way to reach "Close trades" 
Posts made by fxDreema
-
RE: Close trade using MA crossoverposted in Questions & Answers
-
RE: Bug in TRAILING STOP in MQL5 Versionposted in Bug Reports
It works for me
I don't see anything wrong in your video. Do you have error messages in the logs?By the way, they lately allowed us to open multiple trades at the same time in MT5, just like MT4. If your account is like this, it will probably not work. These days I was trying to modify a position on such account,but there are problems and I still don't know how to fix them properly

How do you make this video?
-
RE: Bug in TRAILING STOP in MQL5 Versionposted in Bug Reports
Haha, I just learned that there is Refresh button and I can reload the list of experts without restarting MetaTrader

I was testing this for Buy, maybe the problem is in Sells, I will check this -
RE: Bug in TRAILING STOP in MQL5 Versionposted in Bug Reports
No, I did nothing. I also told you in the emails that it works for me. But MT5 is shit and I'm not surprised that something does not work for someone. But what... I can't easily tell if I don't see the problem. So I need more information, maybe some screenshots?
-
RE: Trailing stops EAposted in Questions & Answers
If you have no action from this EA, then I think you want to modify manually opened trades. Each EA is set by default to NOT work with manually opened trades, or trades made by other EA. There are 2 ways to deal with this: http://prntscr.com/bmqvx6
http://image.prntscr.com/image/1c9c270f57244fa98668f69a3730cf2b.png -
RE: Number of tradesposted in Questions & Answers
"Once per bar" (just before Buy now/Sell now) will allow only 1 trade per bar, but it can't count 3 bars. Then, maybe you can have "Check trades count" to limit the number of trades to 3 at a time.
There are other ways, it depends. Like, there are few block in a category named "Counters". -
RE: Please help to close positions after reaching profit / lossposted in Questions & Answers
You want the profit made by few history trades + the current unrealized profit? I think that "Check profit (period of time)" can help with this.
Or if you want to get the actual value, then Buckets. Unfortunately there is no Bucket block for both - closed positions and the current position, so there are two separate values. Try this - https://fxdreema.com/shared/Pra5mTsZ
-
RE: arrow for a trading signal ?posted in Questions & Answers
Nothing, who cares about the color
So, how do you want to select that arrow? I guess that it's name is automatically generated and you can't get it by name. But you can select it with "For each Object" like the example here - https://fxdreema.com/demo/mt4-object-in-loop Of course, this is only an example, I'm not saying that you must check the color. But you can see what's inside the "Condition" block, and in this block the price of the object is mentioned. -
RE: Bug in TRAILING STOP in MQL5 Versionposted in Bug Reports
This is what I tried:
http://prntscr.com/bmqdi4
And this is how it worked:
http://prntscr.com/bmqdbhI got some modifications. I don't know what does not work. I need more information, what I am missing here?
shafqat, I never tried the built-in trailing stop, but the block should work. There are so many settings, because people wanted them.
-
RE: Rising and falling candlesposted in Bug Reports
You use "Indicator rise" and "Indicator fall" with 0 pips for rise or fall. What is the idea here?
-
RE: if my condition complete I want create 2 orders only buy or sell - how I do thatposted in Questions & Answers
One "Buy now" block makes 1 trade when it runs once. There are ways to make a block to run multiple times, but if you want to quickly make 2 Buy trades, just connect another one "Buy now". I wonder why you want to make 2 Buy trades at the same time, but I guess that I'm still trying to decide what you want to do. So I will say this again - if you want me to help you, make your questions as simple as possible and with all the information I need to know.
-
RE: I do not understand a parameter inside TRAILING STOPposted in Questions & Answers
As you can see, I still have problems with my eyes
I think it looks ok now.But if there are problems with the logic itself... I just tried some simple examples and I think it works for me. If you think that it doesn't work for you, tell me what you expect to see.
-
RE: if my condition complete I want create 2 orders only buy or sell - how I do thatposted in Questions & Answers
Again, what do you mean by "orders"? Pending orders or running orders? And 2 orders.. ok, but make them at the same time or what? Just tell me the whole story.
-
RE: if my condition complete I want create 2 orders only buy or sell - how I do thatposted in Questions & Answers
I still don't understand you.
Condition = this block checks two value at the present moment. This is simply IF logic. Nothing starts here, nothing will complete. This block simply asks if one value is bigger or lower than another value at the given time.
2 or 3 or 5... what you mean by "orders" - pending orders?
-
RE: Arrow placmentposted in Questions & Answers
For the Price, put something like +0.0010 or +10pips in the Adjust field. But depending on the zoom of the chart, even with such offset it will look ugly sometimes

Also try this Anchor parameter. To be honest, I always forhet what it does and when this Anchor means, but it's responsible for the positioning. -
RE: WHY when create order buy or sell dont create new order before close last order ?posted in Questions & Answers
Ok, I understand the conditions to open trades. But I don't fully understand how you want to close them. Do they have SL/TP or they must be closed by the opposite condition?
Otherwise the amount of trades that can be created depends on the blocks above Buy now/Sell now blocks. I mean, blocks like "No trade". You probably use such block. Take a look at it's settings.
-
RE: I do not understand a parameter inside TRAILING STOPposted in Questions & Answers
This parameter was not meant to be there, I just removed it. The problem was only visual. It looks that the last time I did something for this block, I forgot to remove it. I remember that I was trying to add all options for Trailing Stop that are available in MQL4, but something did not worked as I expected. Now the parameter is gone and it will not confuse you. But I expect the block to work anyway... does it work?
I'm better now. I was not very paralysed from the beginning, so it was easier for me to recover. Well, my right eye is still slower, but at least I can close it and it doesn't bother me anymore. Today was probably the first day when I felt like normal. But I will be ok. If you ever see someone with this problem, tell him/her to find information in YouTube and to not be afraid. There are many people who posted vlogs of their Bell's Palsy there. Some of them recovered realy slowly, but in most cases this is only temporary problem and should be gone in less than a month.
I think the reason I got this was that I have long hair and very often I go to sleep after shower with wet hair. This is never a good idea
-
RE: arrow for a trading signal ?posted in Questions & Answers
Most probably yes. First, you should check if the indicator can give you signal in the normal way, through its buffers. Then, if the buffers are useless you can work with the objects. But this is a long story. I made two examples to show the two basic ways of working with objects - https://fxdreema.com/examples/#Chart-Objects
-
RE: I do not understand a parameter inside TRAILING STOPposted in Questions & Answers
Crazy, this parameter should not be visible. I will take a look at what is wrong with this block.
-
RE: No trade/orde funtion troubleposted in Questions & Answers
I don't see problems in the blocks. Here I used Group 2 in both blocks and everything works. If I change the Group in one of the blocks, then I get many many sells. https://fxdreema.com/shared/qQ1lazXxc
Maybe the problem is that you use "No trade/order". I don't know your strategy, but this block passes when there are no trades AND no pending orders with the specified attributes. This particular blocks looks at the pending orders as well. Maybe you don't really want that?