Download MetaTrader 5

how to open a profile form button click

To add comments, please log in or register
andream1977
52
andream1977  

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