My friends, I want to place a command in the code below to add the "TDI" indicator on the chart when the click is done. How to add the code to the following code?
//....................................... if (id == CHARTEVENT_OBJECT_CLICK) { string clickedChartObject = sparam; if (clickedChartObject == obj_name[4]) { string name = "name_" ;
i follow your suggest Marco , but now i have another problem , where is all indicator? o_O i try to look in folder indicator but exist only example folder and when i try to put them some indicator in the navigator (also after restart ) not visualize nothing o_O whats wrong ?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
My friends, I want to place a command in the code below to add the "TDI" indicator on the chart when the click is done.
How to add the code to the following code?
//.......................................
if (id == CHARTEVENT_OBJECT_CLICK) {
string clickedChartObject = sparam;
if (clickedChartObject == obj_name[4]) {
string name = "name_" ;
}
}
thankz at all the new verson with my metatrader 1170 not work return me error
2019.01.09 21:50:48.961 cannot open file 'C:\Users\pc\AppData\Roaming\MetaQuotes\Terminal\B6FECCFE53E01D2BAC26AAD9B14029A8\MQL4\indicators\.ex4' [123]
give me thesame error with Gregory code and Kray some suggestions ?
Use MT5 and
ChartIndicatorAdd();i follow your suggest Marco , but now i have another problem , where is all indicator? o_O i try to look in folder indicator but exist only example folder and when i try to put them some indicator in the navigator (also after restart ) not visualize nothing o_O whats wrong ?
thankz again
Please show your code if you want help.
It takes the indicator handle to add the indicator to the chart.
Thanks @Georgiy Liashchenko it's working great! Is there a way to load the set file or the settings that I want?
Thanks @Georgiy Liashchenko it's working great! Is there a way to load the set file or the settings that I want?
Please my EA is working but nothing is showing on my mt4. Help me fix it please.
Then how do you know that it is working?