I want to do some logging on open and close of Orders.
OnTrade triggers with TradeClose for example but how can I select exactly the one that triggered the event?
Posts made by MetaTrader
-
How to get the TicketNumber or select the trade which triggered OnTradeposted in Questions & Answers
-
Ugly behaviour on accidently scrollingposted in Questions & Answers
The Online-Builder has an ugly behaviour:
Upfront I must say I use a MacMagic Mouse with my Windows PC but it happens also with my touchpad and I guess with a wheelmouse as well.When I scroll a little bit with an open input Dialog of a box or with the variables pop-out open a random number in one of the input areas is increased or decreased or if there is none it creates a number in a random input field.
That often happens when I accidently scroll a little bit on updating the Block-Dialog and caused random errors.
Please could you fix that or tell us how to disable?
-
RE: how to declare parameters for custom blocksposted in Questions & Answers
Thanks a lot for clarifying
-
how to declare parameters for custom blocksposted in Questions & Answers
Hi
i declare the parameters in the box top right. then it seems I have to declare them at the source again.
At compile time i get this warning:
declaration of 'myvar' hides member declaration at line 540could you please explain how to define parameters and what is the meaning of the yellow arrow?
thx
-
RE: Custom Block Help -> TypeError : Cannot read property 'trim' of undefinedposted in Questions & Answers
Hi any Idea how to solve this?
-
RE: How to stop FXdreema from automatically updating my expert in local computerposted in Questions & Answers
Its never updating locally if you do not press the Buttons for generating ex4 or mql4
-
RE: Custom blocks seem to be disabledposted in Bug Reports
Ok I "fixed" it: Its because the Name of my EA was longer than ... so the left menu is extended and overlayed by the center div
Shortening the name helps me out -
RE: Custom blocks seem to be disabledposted in Bug Reports
Ok I found the reason, the div #blocksContainerInit.blocksContainer is overlaying the button.
I use full hd 1920*1080 resolution on 24" monitorsThats what the Inspector shows me when I try inspect the button.

So the button is ok but the container is wrong
when i remove the section with id="content-center" for testing fom DOM then the button is free and working
-
RE: Custom blocks seem to be disabledposted in Bug Reports
Addidtionally I disabled all Addons with FF and its still not working. It was working and since a couple of days its not. It is broken since you restored the lost projects. Or maybe 1 or 2 days later.
I didn't change anything on my side, no modification to VirusScanner or Firewall no modification to my browser tools. Must be on Serverside. -
RE: Custom Block Help -> TypeError : Cannot read property 'trim' of undefinedposted in Questions & Answers
Yes thats it
When i tried to submit an image fxdreema was down -
RE: Custom blocks seem to be disabledposted in Bug Reports
@fxdreema said in Custom blocks seem to be disabled:
some frames are not
Hmmm I opened the developer tools / console and there is no JS triggered when I click on custom.
There is no hand symbol like on the system buttonWould be great if you can fix it.
I do not run Norton and I disabled eset node for testing
-
RE: Custom blocks seem to be disabledposted in Bug Reports
I tested with chrome and with current FireFox. Its not working for both browsers
-
Custom blocks seem to be disabledposted in Bug Reports
I cannot choose Custom anymore. Its not showing a hand anymore and I can not click anymore.
Please make that working again soon
Thanks in advance
-
RE: Custom Block Help -> TypeError : Cannot read property 'trim' of undefinedposted in Questions & Answers
Yes when I click on the ? of custom blocks
-
RE: how to prevent slippageposted in Questions & Answers
Just for understanding:
Slippage is the difference between the quote you get with last tick and the price you pay with next tick, when you place the order. Some brokers offer to execute without slippage but I would never trade there.It would be suicide for the broker if he sell at quote price if the market prices moves away very fast. It will open the door for arbitrage trading.What can you do?
- At first there is a slippage allowance in the buy and sell blocks. That mention you can limit the slippage on order execution. If the market is more away than ... your order will not become executed.
- Place pending orders and allow a small slippage. You can look for brokers who guarantie to execute pending orders at the given price (maybe on some conditions)
No slippage will only work on slow market movements, thats why lets say you place pending order at 1.11111 and one tick the market is at 1.11110 so the order is not triggered yet. One tick later the price is at 1.11112 and without slippage the order will not be triggered because the price is away. In fast moveing markets (the only markets to make profit) its hard to hit exactly your price.
-
Links to users broken in shoutboxposted in Bug Reports
Links to the user profiles in shoutbox are wrong they go to
https://fxdreema.com/user/some_name
instead of
https://fxdreema.com/forum/user/some_nameso it redirects to main page.
-
RE: Suggested improvement when working on the systemposted in Bug Reports
Great idea!
BTW the shoutbox is damn small and when you try to scroll up it becomes much smaller.
-
RE: Current Block number in Custom Blocksposted in Questions & Answers
@fxdreema said in Current Block number in Custom Blocks:
ly. It gives you the block number. Or I'm not sure, to be honest :))) Because now there are at least two different sets of block numbers
But I'm currently usingThanks I will modify my code. What do you think about taking my loop as a Standard Block
I guess I am not allone with the need to have a simple loop and knowing the current iteration -
Wishlist: Font for Block "Comment"posted in Questions & Answers
I use the Status and a Comment and that looks ugly!

Would be great to have a way to change the Font not only the color