Download MetaTrader 5
To add comments, please log in or register
Do you need a trading robot? Orderit via Freelance service!
andream1977
34
andream1977 2016.07.25 09:18 

it's possible to open a profile in mt4 when i click on a button created on my chart? i found how to open a chart with the function ChartOpen(), but i need to open a profile

this is my code to open a chart on button click

void OnChartEvent(const int id,
                  const long &lparam,
                  const double &dparam,
                  const string &sparam)
   {
 if(sparam=="audcadButton") long new_chart=ChartOpen("AUDCAD",myTf);
         }

 

but i need to open a profile instead of open a chart

/
To add comments, please log in or register