Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Scripts

InitAllIndicators.mq4 - script for MetaTrader 4

Views:
6730
Rating:
(5)
Published:
2008.09.24 06:57
Updated:
2014.04.21 14:53
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 Ltd.
Original code: https://www.mql5.com/ru/code/8370

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.

EMA CROSS EMA CROSS

Expert Advisor EMA_CROSS.