How to get an indicator value from C++ program

 

Hi,


i was wondering if there is a way to get an indicator value from C++ program,


for example, writing this code in C++ program :


double RetVal = MQ4_iCustom(NULL, 0, "SampleInd",13,1,0);


so that i can do analysis on charts using my C++ programs,

it is ok if i can use the metatrader client functions or API, i just want to get a value, thats all.


Thanks.

 
You can save the values from indicator in a .csv file in real time and then read them from your programm..
 
use *.mq4 send to a dll, and then your program get it from dll
Reason: