Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


InitAllIndicators.mq4 - script for MetaTrader 4

Ilnur Iksanov | English Русский 中文 Español Deutsch 日本語 Português

votes: 4
2008.09.24 06:57
2014.04.21 14:53

If it is necessary to reinitialize an indicator, a user usually calls to the window of the indicator's properties in the the current chart window and presses "OK".

In case there are a lot of indicators to be reinitialized on the screen, the manual reinitialization can take a long time.

The suggested script is intended for automating the procedure of the indicator reinitialization. When it is run, the windows of properties are called sequentially by the list of indicators, and pressing "OK" is emulated. The window of the list is closed as soon as the working of the script is finished.

Disadvantage: The called windows will flicker on the screen during the reinitialization.

Note: You should allow function calls from the system DLL for script to work: Tools -> Options -> Expert Advisors -> Allow DLL imports. It may be necessary for slow computers to increase the latency period of the pop-up windows. To do it, find the '#define PAUSE 100 ' entry and increase the value. You can completely remove this pause for fast computers, comment the Sleep() function in two places.

Translated from Russian by MetaQuotes Software Corp.
Original code:

Relax & GoToSleep - Very Interesting Indicator!!! Relax & GoToSleep - Very Interesting Indicator!!!

A very interesting indicator. It gives trading signals!!! A unique system of forecasting is based on a floating moving average!

FiboCalc FiboCalc

Indicator FiboCalc.

STLM hist STLM hist

Indicator STLM_hist.


Expert Advisor EMA_CROSS.