When MT4 sent request to broker to open a position
is there a code to pinpoint exact time (using indicator) when the request was sent?
Thank you.
you should read the log file in \\MT4 folder\expert\ log file or \\MT4 folder\log file
you should read the log file in \\MT4 folder\expert\ log file or \\MT4 folder\log file
That is good but I mean for example how
to put in Comment the exact time when
a request to open a position was sent.
external: "permvar.dll", int, "PVInit",LPSTR; external: "permvar.dll", int, "PVValue",int,LPSTR,int; external: "permvar.dll", int, "PVGetValue",int,LPSTR; . . . int PV=0; void Init { ..... PV=PVInit("MyEaOrderTimes"); } . . void Start() { // Send Order to Broker ticket=OrderSend(.......); // Store it on permanent variable storage with ticket id PVValue(PV,DoubleToStr(ticket,0),TimeCurrent()); }
you can do something like that. You have to use free of charge addon PermVar
fx1.net,
first of all I am impressed with your very good website about AddOns, a very
useful stuff.
But I meant a bit different.
If an EA sends request to broker to make a trade as OrderSend(...),
can an indicator on the chart write to Comment the moment of the start of sending
of the request.
If an EA sends request to broker to make a trade as OrderSend(...),
can an indicator on the chart write to Comment the moment of the start of sending
of the request.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
When MT4 sent request to broker to open a position
is there a code to pinpoint exact time (using indicator) when the request was sent?
Thank you.