Forum

Can't open file in Tester

Hi everyone, When I attach my EA to the chart it can create and read files no problem. In the tester, I can create files, but when trying to read them I get ERR_CANNOT_OPEN_FILE. //function to save results to file void save_results() { for ( int i= 0 ;i<TDs;i++) { string

Read CSV file

Hello, Sorry there are a million topics on this already but I've read through heaps of them and can't get it to work. I directly copied the example from the documentation, but changed from a bin to a csv. //--- parameters for data reading string InpFileName= "hi.csv" ; // file name string

ChartOpen not working in backtesting

Hi everyone, While backtesting my EA in visualisation mode, I want it to draw many diagrams with shapes, lines, text, numbers etc. that are periodically updated during the testing period. I figured the best way to do this was to open a new chart for each diagram, and use a canvas on each chart to

Which brokers provide SYMBOL_SESSION_BUY_ORDERS_VOLUME data?

Hello, I've opened demo accounts with 4 different brokers and none of them provide data for the following functions: SymbolInfoInteger(_Symbol,SYMBOL_SESSION_BUY_ORDERS); SymbolInfoInteger(_Symbol,SYMBOL_SESSION_SELL_ORDERS); SymbolInfoDouble(_Symbol,SYMBOL_SESSION_BUY_ORDERS_VOLUME);

Why is my SymbolInfoSessionQuote returning false?

Hi everyone, I'm quite new to EA programming. I'm trying to check that all my symbols are open and will be open for at least 10 minutes before I open any positions. My code is below: //check if all symbols open now and for the next 10 minutes datetime start; datetime finish; datetime