I want to use a indicator in an EA,
this indicator has some input settings that I want to change it by EA and then EA use it for take positions,
below picture is input settings of indicator,
my problem is How I can use iCustom function for set value of drop down menu?
for example How can fill ENTER SETTING OF INDICAROE in below code?
iCustom(Symbol(),TIMEFRAME,"Indicator Name", __ENTER SETTING OF INDICAROE__,0,0)
All predefined timeframes of charts have unique identifiers. The PERIOD_CURRENT identifier means the current period of a chart, at which a mql5-program is running.
So you can fill in one of these parameters.
The function linked to, opens a hidden chart for the symbol/TF in question (if
not already open,) thus updating history, and temporarily placing the symbol on
Market Watch (if not already there,) so SymbolInfoDouble(symbol, SYMBOL_BID) or MarketInfo(symbol, MODE_BID) don't also return zero the first
Then you are probably NOT using iCustom() correctly.
You are using MT5.
Perhaps you should read the manual, especially the examples. How To Ask Questions The Smart Way. 2004 How To Interpret Answers. RTFM and STFW: How To Tell You've Seriously Screwed Up.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.