What about "Trailing pending orders"? https://fxdreema.com/demo/mt4-trailing-pending-orders
Posts made by fxDreema
-
RE: Modifying pending orders?posted in Questions & Answers
-
RE: I need help but i do not know where to startposted in Questions & Answers
The desktop version is 1 year old and I removed it's link (/desktop), but there are still people using it and I rarely receive complaints. I think it should be working, but I would also recommend the online version, because this is the one I actively support. But I don't know what are your problems exactly.
The /examples section contans few basic examples and this is more like a tutorial. Each example has description and if you understand those examples, you understand how the most important things work. Or at least this is what I believe

-
RE: Problem with Candle and Or logicposted in Questions & Answers
Nope. Try the block called "Indicator moves within limits"
-
RE: self updating/refreshing grid, compare two groups of tradesposted in Questions & Answers
If you delete only block 2176, then the block below 949 is now on top level and it now runs on every tick
-
RE: Close all every profit 10%posted in Questions & Answers
The block you are using now calculates the profit made out of a group of trades. This is not the actual account profit (Equity minus Balance).
If you want to work with the account Equity, then use the Condition block. Something like this:http://prntscr.com/chp8ps
But if you still want to use the blue block, then in "Profit amount" you can use the native functions AccountEquity() or AccountProfit(). For example, you can try with value such as: AccountBalance() * 0.1. If the balance is 1000, then the result of this calculation will be 100. -
RE: No trade nearby - case 1: and case 2: something missingposted in Bug Reports
%(#FF0000)[(price <= OrderOpenPrice()) || ( ...]
You want to use this, because you want each Buy trade to be created above all other Buy trades? But then this block turns from "No trade nearby" to something else. Now "No trade nearby" means that you can have trades located far away above or below the current price, not only above or only below. Do you actually want to get the maximum OpenPrice in a group of trades and compare it with the current price?
-
RE: Heiken Ashi Indicatorposted in Questions & Answers
try something like this: http://prntscr.com/cgjhxm
-
RE: Constant or variable in More Settings/Adjustposted in Questions & Answers
Well, the word "pips" is a keyword defined by me, but it only works after a numeric value. If you have "variablepips", the whole thing is considered as a variable name. After all, you may really want to name some variable like that, for example "SLpips" or "TPpips". In the same time I'm not sure whether something like (variable)pips would work. I guess no, but I can't tell for sure.
I don't really recommend using this function toDigits(), because I may decide to change it in future. It can stay the same for years as well, I can't give any guarantee

-
RE: count consecutive stop lossposted in Questions & Answers
First look at the available Money management methods, maybe some will fit your needs: https://fxdreema.com/help/-/working%20w ... management
The block "Check consecutive losses" counts how many loss trades there were in a row, but it doesn't calculate the total amount of losses in money or pips. If you want to calculate certain value in a group of trades, you can try the "Bucket" blocks. "For each..." (pink) blocks also can be used, but I made those "Bucket" blocks to be used when people work with multiple trades and want to extract certain value out of them.
-
RE: Please make an example EA, using custom indicator from Forex-TSD, in the examples sectionposted in Questions & Answers
- You download the indicator and make sure that you have the .mq4 or .ex4 file in "/Indicators". The .ex4 file is generated from the .mq4 file
- "Upload" the indicator to fxDreema. It's not really uploading, only the input parameters are read and stored, as well as the name of the indicator and it's buffers. The name of the indicator MUST be the same as the file name. When you click on "My Indicators" there is extra explanation about the process of adding new indicators
- Try the indicator in "Trace" block, just like that: https://fxdreema.com/demo/mt4-trace-multiple With this block you can "see" what kind of values the indicator is giving to the EA. If something doesn't work, look at the error logs and try to correct the input parameters of the indicator in "My Indicators" if needed.
- Use the indicator in "Condition" or in the blocks from "Conditions for Indicators" category. Each block in this category is specific, better read its description
-
RE: self updating/refreshing grid, compare two groups of tradesposted in Questions & Answers
Blocks you want to delete? I think you want to say "to turn off". Well, the EA is kinda big and you know my opinion about big EAs :))
-
RE: I need help but i do not know where to startposted in Questions & Answers
It's easier to put few blocks and make strategy with pending orders, but then it's harder to see what is going on on the chart and in the logs. Maybe this is personal choice and depends on the strategy
-
RE: I need help but i do not know where to startposted in Questions & Answers
There is no programming, only logic. I don't understand your xml anyway
Look at how many posts I have, over 5000 now. I lost all my will to think about complex strategies. And my idea from the start was to help people to understand the EA builder, not to make their strategies. There is always someone asking me to make his strategy, people want to pay me to do that, but this is not something that I want to do and I always reject these offers. I just want to help people to understand the tool, so they can then work on their strategies alone. And there are over 200 people with active subscription at this moment. Imagine what would happen if I have to build more than 200 new strategies every week or every month
This is what I want from you - to try to make something, to see how blocks work, to experiment, and if you have some very specific question to ask me. My mind just stops to work when some complex question is on the table 
-
RE: How can the TP be "hidden"posted in Questions & Answers
No, I did it this way - both stops on none of them
-
RE: Any explanation for a single missed execution of a condition?posted in Questions & Answers
This enPrices enumeration is available only in the scope of the indicator, the EA is not aware of it. But you can use "int" instead with values such as 0, 1, 2... For example, pr_close is 0, pr_open is 1 and so on.
-
RE: Stuck on a simple MA EAposted in General Discussions
Use the "Adjust" field in the Condition block. Put something like "+0.0005" or even "+5pips" in there. A little bit more information about this you can find in the description of the Condition block.
-
RE: Any explanation for a single missed execution of a condition?posted in Questions & Answers
____If you understand why this happens like that, tell me[/quote:bzitg6fd]
I have no idea and canβt even make sense why the tick that crossed above the 0 from below was not captured by the EA. [/quote:bzitg6fd]
Because ticks are not captured. When you use the crossover in "Condition", the values of 2 candles are compared. Here are more details: https://fxdreema.com/demo/mt4-crossover-indicators Well, you have 0 on the right side, so the conditions are:SolarWind[0] > 0 AND SolarWind[1] < 0
(where [0] means the indicator's value from candle 0 and [1] is the indicator's value from the previous candle)
But because the indicator repaints for candle [1], the moment is skipped.
Here is another kind of crossover - https://fxdreema.com/demo/mt4-price-vs-indicator - this one compares the current value with the value of the previous tick
-
RE: counters status after MT4 restartposted in Questions & Answers
If you cnange the parameters of the EA, I think the memory remains, but I'm not sure. If you remove the EA completely and then add it again to the chart, the memory is lost
-
RE: property labelposted in Questions & Answers
These are hard coded, I mean they are not an option. But in the .mq4/.mq5 file these can be easily edited, they are located at the top of the code