These blocks are just some ot my old ideas, but the way they are... they should be indicators, not functions in the EA. So I have plans to remove them and not trying to do the indicator's job in the EA again. Why not... first of all, it's not the optimal way, each of these blocks is surrounded with code that is trying to prevent the main code inside to work all the time. But I can't offer builder for indicators, so I'm leaving them for now 
Posts made by fxDreema
-
RE: How to recognize spikesposted in Questions & Answers
-
RE: self updating/refreshing grid, compare two groups of tradesposted in Questions & Answers
The minimum value comes from the broker, I have seen minimum values of 0.01, 0.1 or even 1. Also the lot step. So I guess it depends on the broker only, I don't know if there is some hardcoded limit in MetaTrader itself. But I set it to take the minimum available lot if lower is requested, so if you put 0 as a lot size, you should see what is the minimum.
-
RE: Fxdreema Connector Pluginposted in Bug Reports
No luck, the extension was rejected because NPAPI plugin is used to make the browser able to write files to the local file system. This was the only way I was able to find back in the day. Now...
http://prntscr.com/4zt9s8
http://prntscr.com/4zt9nv
http://www.chromium.org/developers/npapi-deprecation...they say Good Bye to NPAPI. They listed some alternatives, but I was not able to find this exactly. So... I don't know. At least it's still working under Firefox (I'm working with it personally). The local version is also alternative.
-
RE: Fxdreema Connector Pluginposted in Bug Reports
it looks that I can't even install it anymore. Well, I can in developer mode and I have no problems that way. I will see what I can do with this google store

-
RE: How can I Close the Buy position when the Sell posi. starts?posted in Questions & Answers
This is for CCI, but the same idea: https://fxdreema.com/shared/bkV80cXlc
-
RE: How we compile our diagram for bugs?posted in Bug Reports
There is no Start button, but you can imagine that it exists somewhere and causes the event to happen. The main event is "on Tick", you can see above. There are no "must" rules, you can connect any block, but there are some basics that you should follow
You can check some examples here: http://fxdreema.com/examples
-
RE: Looking for max account amountposted in Questions & Answers
No, this is another way to manage volume sizes where the volume is calculated using the value of free margin. Basically, the volume size does not depend on the last trade's volume (as in Martingale), it depends on the broker settings and the money you have. But as I know that you work in Binary Options environment, I'm not sure if you can use that anyway... but you can try, I don't know what the outcome will be.
-
RE: The strategy from scratch questions and problemsposted in Questions & Answers
If you only want to show that information, use the custom indicator "iExposure", it comes with MetaTrader. Otherwise we talked about this issue these days here: topic/2556
-
RE: Using the trailing stop blockposted in Questions & Answers
I don't see anything about Break Even and spread in the Trailing Stop block
It's always better to ask me the correct question.If the trade is Buy: Trailing Stop puts SL at "Stop" pips below the current price (Ask), on every "Step" pips move of the price, and only if the price is at least "Start" pips above the trade's open price (there is some profit).
It's the same for Sells, but the opposite, and Bid is used.The above link will put SL 100 pips below Ask when Ask is 200 pips from the open price, then it will do that again when the price goes 100 more pips above... then after 100 more pips. Try it.
-
RE: Loading... build 089posted in Bug Reports
Probably something went wrong while doing this, but anyway. Find a file named ".lastloaded.fxdb", open it with a text editor and write the project ID you want to load. Some project that exists as a folder in the same folder where ".lastloaded.fxdb" is.
-
RE: Looking for max account amountposted in Questions & Answers
uchiha, you have mistake in block 5. "Global Variables in MT4" - these are not the same global variables for the expert advisor. Unfortunately they call these "global variables", hit F3 in MetaTrader and you will see where they are. On the left side of this block you should use Value -> Numeric.
-
RE: Using the trailing stop blockposted in Questions & Answers
The idea of Break Even is to close the trade on profit or with 0 profit, but it's tricky to achieve that 0 profit. The way I realized it in the Break Even block is the easiest possible - to put SL at the open price, but in this case... you know, slippage, commissions, something else can make the trade with small negative profit. The other way is to track the profit of the trade, and when it becomes 0 - to close it. But It's a little bit harder to make it and I guess there will be the same problems, because the EA will close the trade and... slippage, changed price, things like this.
I normally don't think about the spread while making some project in fxDreema. When the trade is Sell, this is considered. I mean... it decides when to use Ask, when to use Bid.
Anyway, you have blocks that should run on every tick after blocks that should run rarely. In short, your custom break even does not have the chance to work. And I still think that it's much better to use the Break Even block, with that "BEP offset mode" option if needed.
-
RE: self updating/refreshing grid, compare two groups of tradesposted in Questions & Answers
I understand. Now there is only one block (Check current unrealized profit) that can check these values, but it collects and uses that data inside, it can't be used from outside.
Otherwise I have idea to make some block similar to the pink "For each..." blocks, but to create list of trades, and then in "Condition" to use that list to calculate various things, like the sum of all profits.
-
RE: Looking for max account amountposted in Questions & Answers
This calculation will give you the value of 50, which is not a lot size and can't be used directly.
Look at the money managements, there are some. I think you want to use "Freeze % of Balance", which calculates the lot size based on the broker settings... try it and look at how the value of free margin changes. Or you want to use this "Risk % of Balance", which calculates the lot size so for the given stop-loss to lose certain amount of money.
-
RE: Using the trailing stop blockposted in Questions & Answers
What is this - buy and sell on every tick
And then doing some custom things. There is a block for break even, and yes, it allows you to set SL at some pips from the open price, why don't you try it.I still don't like these green and red blocks at the top in "on Tick"

-
RE: Block Promptposted in Questions & Answers
When blocks are connected in parallel... just see this example project: https://fxdreema.com/demo/blocks-execution-order
-
RE: candel wick + body problemposted in Questions & Answers
Block 2 is not connected to anything, in this case it does not work, it is not even included to the final file. This is one of the basic rules for now, I may change this in future, but now it is still actual
So, just connect that block before block 1. -
RE: self updating/refreshing grid, compare two groups of tradesposted in Questions & Answers
If you only want to see the value, there is an indicator called "รฏExposure" that comes with MetaTrader. I will add some functionalities to get values like this in future, but I also have other things to do, so... Otherwise you can always set some Variable and make some loop to collect data from multiple trades. The idea is:
- define your variable, for example "myvar"
- on every tick...
- set the variable to 0
- start a loop, so on each trade...
- set the variable like this: myvar = myvar + whatever
- use that variable after the loop