Forum

Run or Attach automatic a Script after call ChartOpen() in Mql5

I load many symbols and send quotes and indicator data to database, but I need when I call ChartOpen() command automatic run a script or I need read MqlRates from another window with chartId. There are someway to do It

Pass Array to iCustom

To call a Custom Moving Average .............. .............. int avg= iCustom ( NULL ,pPeriodo,Indicator_Directory_And_Name, 3 , // Period 0 , // Offset MODE_SMA , // Calculation method

Export data to file of metatrader and calculate a value to each line with specific indicator

I need to force indicator calculate values for indicators with buffer array of quotes customized. This link show how can I export basic information of all quote and symbols of metatrader, https://www.mql5.com/en/articles/502 but this example only show how I can export a basic data like Open, close