Indicator ADX_with_Alert
The description:
The indicator ADX, its lines can be smoothed. The indicator can create Alert, play a sound file or display on the chart a vertical line, when line ADX crosses a horizontal level from below upwards and/or when lines +DI and -DI are crossed. The horizontal level can be moved by means of the mouse (double click on a line and a method "drag and drop").
Parameters:
ADX_Period = the period of indicator ADX.
ADX_AppPrice = the price used for calculation of indicator ADX. Possible values: 0 - Close price; 1 - Open price; 2 - High price; 3 - Low price; 4 - Median price; 5 - Typical price; 6 - Weighted price.
SignalOnlyAfterCloseBar = the mode of signal; true - check a signal only at the first tick of a bar on value of the closed bar, false - check a signal at every tick.
UseSmooth_ADX = defines a mode of use averaging for line ADX; true - averaging of line ADX, false - without averaging.
ADX_MASmooth_Period = the period of MA; value should be more than 0. This parameter is used only if the parameter UseSmooth_ADX is equal true.
ADX_MASmooth_Method = the method of MA. Possible values: 0 - Simple MovingAverage, 1 - Exponential MovingAverage, 2 - Smoothed MovingAverage, 3 - Linear weighted MovingAverage. This parameter is used only if the parameter UseSmooth_ADX is equal true.
UseSmooth_DI = defines a mode of use averaging for lines +DI and -DI; true - averaging of lines, false - without averaging.
DI_MASmooth_Period = the period of MA; value should be more than 0. This parameter is used only if the parameter UseSmooth_DI is equal true.
DI_MASmooth_Method = the method of MA. Possible values: 0 - Simple MovingAverage, 1 - Exponential MovingAverage, 2 - Smoothed MovingAverage, 3 - Linear weighted MovingAverage. This parameter is used only if the parameter UseSmooth_DI is equal true.
UseSignal_ADX = enable/disable all Alerts at signal from line ADX.
Level = the value of horizontal level, at which crossing by line ADX the signal is formed.
LevelColor = the color of horizontal level.
ADX_EmailAlert = enable/disable to send a e-mail at signal from line ADX.
ADX_PopUpAler = enable/disable to create Alert (popup-window) at signal from line ADX.
ADX_SoundAlert = enable/disable to play sound-file at signal from line ADX.
ADX_SoundFile_Buy = the name of sound-file, that will play at signal from line ADX (for buy).
ADX_SoundFile_Sell = the name of sound-file, that will play at signal from line ADX (for sell).
ADX_DrawVertLine = enable/disable to draw on chart a vertical line at signal from line ADX.
ADX_VLineColor_Buy = the color of vertical line, that will draw at signal from line ADX (for buy).
ADX_VLineColor_Sell = the color of vertical line, that will draw at signal from line ADX (for sell).
UseSignal_DI = enable/disable all Alerts at signal from lines DI.
DI_EmailAlert = enable/disable to send a e-mail at signal from lines DI.
DI_PopUpAler = enable/disable to create Alert (popup-window) at signal from lines DI.
DI_SoundAlert = enable/disable to play sound-file at signal from lines DI.
DI_SoundFile_Buy = the name of sound-file, that will play at signal from lines DI (for buy).
DI_SoundFile_Sell = the name of sound-file, that will play at signal from lines DI (for sell).
DI_DrawVertLine = enable/disable to draw on chart a vertical line at signal from lines DI.
DI_VLineColor_Buy = the color of vertical line, that will draw at signal from lines DI (for buy).
DI_VLineColor_Sell = the color of vertical line, that will draw at signal from lines DI (for sell).
The status: Free-of-charge, it is possible to download the source-file.
Platform: MetaTrader 4.
Frequently asked questions:
How I can run a indicator ?
How I can determine that there was a error at execution of the indicator ?
How I can change parameters of the indicator ?
|