Can a Indicator read information of other account?

 

Hello.


I am needing make a indicator that show the open orders or running orders.

My question is if this indicator can red these open orders of other account?


Do you understand my point? We have 2 accounts. A and B.

A is the account with the open orders. And B is the account with the indicator.

This Indicator on B account need show the open orders of the A account.


Thanks, regards.

Neri CF

 
NeriCF:

Hello.


I am needing make a indicator that show the open orders or running orders.

My question is if this indicator can red these open orders of other account?


Do you understand my point? We have 2 accounts. A and B.

A is the account with the open orders. And B is the account with the indicator.

This Indicator on B account need show the open orders of the A account.


Thanks, regards.

Neri CF

I don't think so... Since you can only have 1 running/logged in account per terminal... No...
 
NeriCF:

Can a Indicator read information of other account?

Maybe you could have two terminals running on the same machine.

Terminal A could write open order information to a file through an EA.

Terminal B could read information from that file through the Indicator.

It sounds rather klunky, but this might be a possible approach.

 
Yes, my idea is the same.
Make a EA that save the file on a hosted place.

And the indicator read the data of this place.
Similar to the FFCalendar with forex factory.

But I put the post for see different ideas.
Or maybe can I send the info as a signal or alert to the other account.
 
NeriCF:
Yes, my idea is the same.
Make a EA that save the file on a hosted place.

And the indicator read the data of this place.
Similar to the FFCalendar with forex factory.

But I put the post for see different ideas.
Or maybe can I send the info as a signal or alert to the other account.

If you have a per machine limitation, you can use webRequests to play with sockets... never did something similar, but once in the past read this article...

;)

Working with sockets in MQL, or How to become a signal provider
Working with sockets in MQL, or How to become a signal provider
  • www.mql5.com
Sockets… What in our IT world could possibly exist without them? Dating back to 1982, and hardly changed up to the present time, they smoothly work for us every second. This is the foundation of network, the nerve endings of the Matrix we all live in. In the morning, you turn on the MetaTrader terminal, and it immediately creates sockets and...
 

Thanks per your response.


It is better on speed that a Trade Copier?

Using sockets.


Other option is use a Trade Copier with a file where the save each open order.

And the Indicator read this file and put on a panel.

 
NeriCF:

Thanks per your response.


It is better on speed that a Trade Copier?

Using sockets.


Other option is use a Trade Copier with a file where the save each open order.

And the Indicator read this file and put on a panel.

I never used sockets... it is a more expanded idea if you have, for example, to share information to 2 separate machines where a local storage could not be shared...

Using a shared file storage is probably much easier and faster - and also probably more reliable (avoiding connection errors)...

;)

 
Minions Labs:

I never used sockets... it is a more expanded idea if you have, for example, to share information to 2 separate machines where a local storage could not be shared...

Using a shared file storage is probably much easier and faster - and also probably more reliable (avoiding connection errors)...

;)

Sharing file as a copier? That use a CSV file or a hosted file as the forex factory calendar indicator.

I am seeing the different options. Now I can list. IP protocol, Shared File, and WebServer.