It seesm to be doing what is described I need to test further with greater pools of open trades. but it is great THANKS!
Posts made by holygrailfx
-
RE: select open order farthest awayposted in Questions & Answers
-
RE: select open order farthest awayposted in Questions & Answers
@jstap Thanks! Impressive
I will test this week and lot you know -
select open order farthest awayposted in Questions & Answers
I want ot select an open sell order from a bunch of open orders with the following characteristic, irrespective of size I want to select the order that is the fartest away from current price.
Any easy way to do that?
-
RE: Terminal or GLOBAL Variablesposted in Questions & Answers
Anybody I suggestion how to easily add a Time Frame stamp as well as currency pair?
I want my global variables to look like EURUSD_M15_someother text
adding TF in mql5 adds a lot of conversion errors.
-
RE: Terminal or GLOBAL Variablesposted in Questions & Answers
I have been playing around
this seems to work
https://fxdreema.com/shared/lViYgDCxdanybody suggestions for improvement?
-
RE: Terminal or GLOBAL Variablesposted in Questions & Answers
@l'andorrà a day ago
thanks for the support
Let's hope some REAL programmer can explain .... -
Terminal or GLOBAL Variablesposted in Questions & Answers
can somebody share an easy way to autoimatically add the symbol to global variables created by an EA. This is needed to distinguish different GV for each pair on which the same EA is attached.
Can anybody help?
-
Display flags in commentsposted in Questions & Answers
@fxDreema said in Memory stuff:
Flags are similar to Variables. You can't display their state and I don't remember even thinking about this, but this is a good idea. Where to print such information is another question
You can try this "Change Status to" thing that each block has.Very old comment! but I am looking to show the status of myflags as comments, but in the dropdown for " value" I find boolean, but no flag.
Yopu seem to think it was a good idea back in 2015, any progress adding it?
-
Terminal Variablesposted in Questions & Answers
I need to set some values in Terminal Variables/Global Variables in MT4 speak. I need to automatically label each Terminal Variable, with its currency pair and TimeFrame. So for example I name the Terminal Variable, BT_open, the EA would then create the follwoing according to curreny pair en Timeframe involved. BT_open_EURUSD/M5 ; BT_open_EURUSD/M15; BT_open_GBPUSD/M5 etcetra
Can anyone tell me how to do this?
-
Counter and Global Varposted in Questions & Answers
I use counters and pass after counter and reset blocks in my EA. I want to be able to pass the counter variable as a global variable in order to be able to pick up the last state of the counter when a EA gets disconnected and reattached.
In short can the counters be made into global terminal variables?
If so how? Or can you ad the choice to your pulldown menu?
Thanks
gideon
-
select most or least profitable trade in loopposted in Questions & Answers
Re: How to Select "Least profitable trade"?
I have looked at this very old topic, and tried to implement, but I cant make it work
I am trying to select the most profitable trade in order to apply a specific target
A pink block , select most/least profitable trade in loop, would be very welcome!
Or an example of working setup!Thanks for this great piece of software!
-
Check Type Last Openedposted in Questions & Answers
There exist a check for the last closed trade, can you add a check for type of the last opened trade?
-
RE: weighted average open Priceposted in Questions & Answers
@timmyhanke
Sorry I dont understand your suggestion?What I want is that for example the two set of trades should give the same average openprice if the calculation is adjusted for lotsize: average price is 1.2000, however fxdreema gives 1.15 for basket 1 and 1.2 for basket 2!
Example tradebasket 1
1 buy lotsize 1 @ 1.0000
1 buy lotsize 2 @ 1.3000Example trade basket 2
1 buy lotsize 1 @ 1.0000
1 buy lotsize 1 @ 1.3000
1 buy lotsize 1 @ 1.3000 -
RE: weighted average open Priceposted in Questions & Answers
FXDREEMA can you please confirm this is true?
and you let me know whether you plan to add this weighted average open price calculation, if yes when? and if not can you provide a solution on how to calculate thisTHanks
-
weighted average open Priceposted in Questions & Answers
In the bucket calculations, it is possible to calculate the average open price for multiple open orders. Which is great and works perfectly if all open orders have the same lotsize, but when lot sizes of the different orders are different for each order, the openprice is not adjusted for the fact that the orders do not have the same weight. Correct right?
Could you please add an option in the buckets to calculate a weighted open price for multiple orders - weighted for each lotsize?
Thanks hope my question is clear
Gideon
-
Comment text colorposted in Questions & Answers
Could you add the possibility to easily change the color of the text, I assumed it was logical to be able to do that, but I cannot find it
Thanks for pointing me to it if it exist already or adding the option if it does notG
-
Average spread > fixed levelposted in Questions & Answers
How would I create a block to check whether the average spread measured over the last 6 minutes exceeds a fixed threshold level?
Thanks
-
RE: Logs and FileSizeposted in Questions & Answers
yeah, sorry, it is primarily spread comments
I am guessing they come from the build in spread function -
RE: Logs and FileSizeposted in Questions & Answers
Is there anyway I can limit the size of the logfiles created. yesterday it created a log of 7.5GB!!
Thanks
-
RE: New Warning when compilingposted in Bug Reports
'F' - unrecognized character escape sequence $$$$$$$$5april.mq4 10887 46
which is part of the following sequence
//-- ftp errors case 4260: e = "FTP server is not specified"; break; case 4261: e = "FTP login is not specified"; break; case 4262: e = "FTP connection failed"; break; case 4263: e = "FTP connection closed"; break; case 4264: e = "FTP path not found on server"; break; case 4265: e = "File not found in the MQL4\Files directory to send on FTP server"; break; case 4266: e = "Common error during FTP data transmission"; break;I guess that it should be MQL4/Files
Cheers