@jstap Thanks for the info. There seems to be issue with variables in the studio. Any variables declared in variable tab don't seem to be working in the studio. Is there any specific thing that needs to be done to make them work in studio? Also, var declared in global area dont seem to work in builder either
Posts made by s00071609
-
RE: How to create your own custom blocks step by step??posted in Questions & Answers
-
RE: How to create your own custom blocks step by step??posted in Questions & Answers
@jstap thanks for your help. I wasnt clicking on the customs section in the builder, so i could not see it
thanks the link helped
-
RE: How to create your own custom blocks step by step??posted in Questions & Answers
@jstap Thanks will try it. What do you mean by how quick it will be, does it take lot of time to show up in builder? Just started using the studio, no idea whats happening, I am using MT5 for MT5 builder.
-
RE: How to create your own custom blocks step by step??posted in Questions & Answers
@jstap ok thanks but isnt showing for me. Could you share any code that i could paste on studio main window that shows up in builder just for testing?
thanks
-
RE: How to create your own custom blocks step by step??posted in Questions & Answers
@jstap Hey, I had a quick question. After creating a custom block, isnt it supposed to be available in the builder? I created a custom block, but cant find it under any category. Any idea why this might be happening?
-
RE: GMT Time not Working as expectedposted in Questions & Answers
@albyxx
they may have now fixed the issue. That block with gmt, local and server all returned server time, so workaround was needed, its good its working now -
RE: Show initial deposit on the chartposted in Questions & Answers
https://fxdreema.com/shared/3G9oBCClc
this should terminate if withdrawal is detected as well
-
RE: Show initial deposit on the chartposted in Questions & Answers
@s00071609
this should work for both deposit and withdrawal. If the variable deposit saved during init is not equal to on tick deposit value, it terminates
https://fxdreema.com/shared/H3I8zcqO -
RE: Show initial deposit on the chartposted in Questions & Answers
@mohsen-2
https://fxdreema.com/shared/8vrPSkKycWhen you load the EA, it calculates the total depsits on init. Then on every tick it checks if new depsosit is made and then terminates the EA
-
RE: Show initial deposit on the chartposted in Questions & Answers
@mohsen-2
it already saves the total deposits in variable totalDeposits
You need to check the expert tab, it should show the value for total deposits
It works -
RE: Show initial deposit on the chartposted in Questions & Answers
This seems to work - it gives the total deposits into the account up until now.
-
RE: Show initial deposit on the chartposted in Questions & Answers
@jstap does this work for MT5, it gives zero result for deposit
-
Request TimeOut (Both mq5 and ex5 download)posted in Bug Reports
Anyone experiencing timeout while trying to download the mq5 or ex5 files? Happens frequently. Recently I havent been able to download ex5 file. Without compiling, mq5 file download was working until today not it keeps giving timeout error. Is the server not able to to handle these requests, not sure. Its not due to bug with code, its just unable to give out report without timing out.
-
RE: Position closed block not working correctly.posted in Bug Reports
Looks like none of the OnTrade blocks work correctly. In my case specified symbol vs All symbol don't work correctly. For example, If position opened block is used for BTCUSD and there are existing positions for XAUUSD, the block runs for both. It should only be picking BTCUSD. Definately a bug and a bad one as it cannot identify symbol and which trade it relates to.
-
RE: FTP not working for \File sub foldersposted in Bug Reports
hey guys is there any way to send file without full filename. Like send all files in a folder via ftp or use some kind of windcard
-
RE: Getting MAE MFE for Each Tradeposted in Questions & Answers
@jstap I will try that but fxdreema admin tend to ignore support emails even when there are bugs in their code. Not sure this should be the case in paid products. The way I guess it might work in this current situation is to do this:
Close Time Var - Open Time Var = Unix Time Difference/60 = Minutes between order open and closed.
Then use the Highest and Lowest (candle period) to get the highest and lowest prices in that candle period. I havent tested it properly as the market is closed but so far it appear to be working fine. Number of minutes bar calculated works correctly.
What do you think, could this work without issue.
-
RE: Getting MAE MFE for Each Tradeposted in Questions & Answers
@jstap
Thanks for the advice. I tried to use the block you sent me. It still gives high and low of the current candle in any timeframe. I use MT5, this block has bug imo. It totally ignores the Start hour and End hour.

-
RE: Getting MAE MFE for Each Tradeposted in Questions & Answers
@jstap I am not talking about trade. Above block is simply a test block and has no relationship with any trade block. Shouldnt this block be giving high low during particular time period? It appears that this block does not work as it gives high low of candle, not high low of specified period. Otherwise this block could be quite useful in many scenarios. So i was checking if anyone has used this block successfully
-
RE: Getting MAE MFE for Each Tradeposted in Questions & Answers
@jstap I thought about saving the values into variable as higher prices were reached. But, if you have multiple positions it won't work unless you use arrays to store ticket id and highest price and retrieve those at position exit. No idea how array works.
Simpler concept would be to use the timestamp from Opening Time and Closing Time in OnTrade tab under Positon Closed block and get the highest and lowest price From Opening TIme to Closing Time. This concept will work.
Problem is the block highest/lowest price (time period) seem to have bug or I am doing something wrong. The block below is supposed to give the highest and lowest price between the time specified. Looks like it is giving highest and lowest price of the candle. If you set the timeframe to H4, it will give high and low of H4 candle which is weird. I wonder if anyone has been using this block or have some workaround.
.