Forum

Indicator can access buffers but EA cannot ?

Hello, I have written a small piece of code (regarding MACD ) and I can access global buffers from the indicator but I cannot do it with the same piece of code in EA. WHY ? This is the piece of code from indicator init() fun that i don't use in EA: int init() { //---- drawing settings

Why Expert advisor is leaving the start() function ?

Hello everyone, I have to ask you because I am tired of looking for a mistake in here. I have this code and have no idea why it is leaving the start () function after the big (main) for loop. EDIT: And second thing is - even if (sometimes it happens) program gets through the for loop i get ordersend

How to download data from MT server in real-time in C++ program?

Hello everyone, I have a small problem with MetaTrader. I want to write an app in C++ that will download data from MetaTrader server in realtime and then save it in my program as a variable. Any ideas how to do it ? I have already written a version that obtains the data from .csv file with