Forum

Display an indicator

Hello, I am learning to code in mql5 and I would like to know how to display the indicators on the graph? And how to remove the Moving Average indicator (20) when I test. int BolBandsHandle; int OnInit () { BolBandsHandle = iBands ( NULL , PERIOD_H4 , 20 , 0 , 2 , PRICE_CLOSE );

[MQL5] relaunch the EA every 4h

hello, I would like to know how to relaunch my EA every 4 hours after the 4 hour candle has closed in mql5

[MQL5] Open several charts

Hello, I would like to know how to open several charts in mql5 ? I tried to do this but there is only one graph that opens (I run the code I execute the program by doing ctrl + f5) //+------------------------------------------------------------------+ //| Expert initialization function

browse all the currencies available

Hello, I would like to know how to browse all the currencies available for my EA in mql5 . void OnTick () { for ( int i= 0 ;i< SymbolsTotal ( 1 );i++) { Print ( "SYMBOL: " , SymbolName (i, 1 ), " Found At: " ,i); } } When i test it (F5), i select in Settings -> Symbols -> All