Metatrader reading live trading tick data from my server - page 2

 
Mal3x:
No I should apologize for not clearing this up. The live tick data is scraped from a payed account by a custom script. So i get the tick data from there in to my database where I can do whatever I want with it. The broker that my client is using does not support MT and my client would like to have some custom indicators programmed based on the live data. And the broker provides only a web interface for trading.

Sorry, I have to go after this, hope other forumers helps you. So now you have 2 questions ...

1. How to get that data from your server to your computer, on every tick ?

2. How to read that data from your MetaTrader ?

... right ? :D

 
onewithzachy:

Sorry, I have to go after this, hope other forumers helps you. So now you have 2 questions ...

1. How to get that data from your server to your computer, on every tick ?

2. How to read that data from your MetaTrader ?

... right ? :D

Hi,


1. How to get the tick data to my computer is not a problem.

2. How to read this data from my MetaTrader is a problem :)

 
Mal3x:

Hi,


1. How to get the tick data to my computer is not a problem.

2. How to read this data from my MetaTrader is a problem :)

I suppose you have control over this data, you could turn it into a file and then use files functions to read it. Create CI, read the file, draw on the chart, however you gonna need tick from the chart to run the CI.
 

Yes i have control over this data.

I see here this method https://docs.mql4.com/files/FileOpenHistory it seems to be just what I was looking for.

 
Mal3x:

Yes i have control over this data.

I see here this method https://docs.mql4.com/files/FileOpenHistory it seems to be just what I was looking for.

Ah yes ... I never use that, that's why in my previous reply I said "... however you gonna need tick from the chart to run the CI. ... ", LOL @ me.

Try to experiment with https://docs.mql4.com/files/FileReadArray

Write the CI, if there's anything we can not do, don't hesitate to ask.

And no, that's not a typo ;)

:D

Reason: