MJ Indicators Help Info

AL4STOkMTF2MAPrice_0.00.mq4 File Reference


Detailed Description

Author:
Copyright (c) 2011, MJ
Version:
0.00

$$$ NOTE $$$: If you post the indicator somewhere or mail it to a friend: please include also the info file so that they may benefit from it too. THANKS


ALSTOkMTFMAPrice multiple similar indicators have the same documentation as they differ only in the number of STO or/and MA.

ALSTOkMTFUpDnMAOrderMATouchPrice_Multiple_main.gif


SHORT DESCRIPTION: ALopBarTouchMaZone (ALERT Chart Bar touches the MA Zone (Zone between (incl MA themself) two MA's)

Is a MTF ALERT indicator with multiple STO and multiple MA. If enabled the MA lines can be plotted - the STOk Lines can not be plotted at all as it uses the chart window.

ALERT OPTION: This is a combined alerter using three separate parts (each can be separately enabled but at least two parts must be used)



COMPARE TO OTHER INDICATORS: it can not so easily be compared with any other standard indicators. Especially because it mixes a number of Alerts and additionally ueses some MTF aspects.



OTHER INPUT VARIABLES

Other Input Parameters which are specific to this Indicators etc....



_____________1_____________ = "<<< STOk SETTINGS >>>"



*bEnableSTOkUpDnAlert: IF True: the STOk Direction UpDn Part of the combined Alert is enabled.

________STOk1________= "== STOk1 DEFINITION =="

iMTFResourceIntervalSTOk1: STOk1: is the original MTF Time Frame Interval (Period 5=M5, 15=M15, 30=M30, 60=H1, 240=H4, 1440=D1, 10080=W1, 43200=MN1). IMPORTANT: it must be greater than the chart period. which eliminates the M1

*iSTOk1KPeriod: STOk1: specifies the number of periods to use when calculating the initial % k(fast).

*iSTOk1KSlowing: STOk1: specifies the number of periods over which the % k line is to be smoothed.


"== STOk2 DEFINITION =="

iMTFResourceIntervalSTOk2: STOk2: is the original MTF Time Frame Interval (Period 5=M5, 15=M15, 30=M30, 60=H1, 240=H4, 1440=D1, 10080=W1, 43200=MN1). IMPORTANT: it must be greater than the chart period. which eliminates the M1

*iSTOk2KPeriod: STOk2: specifies the number of periods to use when calculating the initial % k(fast).

*iSTOk2KSlowing: STOk2: specifies the number of periods over which the % k line is to be smoothed.


"== STOk3 DEFINITION =="

iMTFResourceIntervalSTOk3: STOk3: is the original MTF Time Frame Interval (Period 5=M5, 15=M15, 30=M30, 60=H1, 240=H4, 1440=D1, 10080=W1, 43200=MN1). IMPORTANT: it must be greater than the chart period. which eliminates the M1

*iSTOk3KPeriod: STOk3: specifies the number of periods to use when calculating the initial % k(fast).

*iSTOk3KSlowing: STOk3: specifies the number of periods over which the % k line is to be smoothed.


"== STOk4 DEFINITION =="

iMTFResourceIntervalSTOk4: STOk4: is the original MTF Time Frame Interval (Period 5=M5, 15=M15, 30=M30, 60=H1, 240=H4, 1440=D1, 10080=W1, 43200=MN1). IMPORTANT: it must be greater than the chart period. which eliminates the M1

*iSTOk4KPeriod: STOk4: specifies the number of periods to use when calculating the initial % k(fast).

*iSTOk4KSlowing: STOk4: specifies the number of periods over which the % k line is to be smoothed.


"== STOk5 DEFINITION =="

iMTFResourceIntervalSTOk5: STOk5: is the original MTF Time Frame Interval (Period 5=M5, 15=M15, 30=M30, 60=H1, 240=H4, 1440=D1, 10080=W1, 43200=MN1). IMPORTANT: it must be greater than the chart period. which eliminates the M1

*iSTOk5KPeriod: STOk5: specifies the number of periods to use when calculating the initial % k(fast).

*iSTOk5KSlowing: STOk5: specifies the number of periods over which the % k line is to be smoothed.



_____________2_____________ = "<<< MA SETTINGS >>>"



*bPlotMALines: If TRUE: we also plot the MA Lines.

*bEnableMAOrderAlert: IF True: the MA Order Part of the combined Alert is enabled. Note one can still plot the MA's even if this is disabled - it is only in regard to the combined Alert.

"== MA1 DEFINITION =="

*iMA1Method: MA1: Method: 0=SMA, 1=EMA.

*iMA1Period: MA1: Averaging period for calculation.

*iMA1LineStyle: MA1: Line Style: 0=Solid, 1=Dash, 2=Dot, 3=DashDot, 4=DashDotDot.

*iMA1LineWidth: MA1: Line width. Valid values are: 1,2,3,4,5. BUT it seems it accepts also individual higher numbers which is quite useful.

*cMALine: MA1: Line color. Can not be None Color


"== MA2 DEFINITION =="

*iMA2Method: MA2: Method: 0=SMA, 1=EMA.

*iMA2Period: MA2: Averaging period for calculation.

*iMA2LineStyle: MA2: Line Style: 0=Solid, 1=Dash, 2=Dot, 3=DashDot, 4=DashDotDot.

*iMA2LineWidth: MA2: Line width. Valid values are: 1,2,3,4,5. BUT it seems it accepts also individual higher numbers which is quite useful.

*cMALine: MA2: Line color. Can not be None Color


"== MA3 DEFINITION =="

*iMA3Method: MA3: Method: 0=SMA, 1=EMA.

*iMA3Period: MA3: Averaging period for calculation.

*iMA3LineStyle: MA3: Line Style: 0=Solid, 1=Dash, 2=Dot, 3=DashDot, 4=DashDotDot.

*iMA3LineWidth: MA3: Line width. Valid values are: 1,2,3,4,5. BUT it seems it accepts also individual higher numbers which is quite useful.

*cMALine: MA3: Line color. Can not be None Color


"== MA4 DEFINITION =="

*iMA4Method: MA4: Method: 0=SMA, 1=EMA.

*iMA4Period: MA4: Averaging period for calculation.

*iMA4LineStyle: MA4: Line Style: 0=Solid, 1=Dash, 2=Dot, 3=DashDot, 4=DashDotDot.

*iMA4LineWidth: MA4: Line width. Valid values are: 1,2,3,4,5. BUT it seems it accepts also individual higher numbers which is quite useful.

*cMALine: MA4: Line color. Can not be None Color


"== MA5 DEFINITION =="

*iMA5Method: MA5: Method: 0=SMA, 1=EMA.

*iMA5Period: MA5: Averaging period for calculation.

*iMA5LineStyle: MA5: Line Style: 0=Solid, 1=Dash, 2=Dot, 3=DashDot, 4=DashDotDot.

*iMA5LineWidth: MA5: Line width. Valid values are: 1,2,3,4,5. BUT it seems it accepts also individual higher numbers which is quite useful.

*cMALine: MA5: Line color. Can not be None Color


"== MATouchPrice DEFINITION =="

*bEnableMATouchPriceAlert: IF True: the MATouchPrice Part of the combined Alert is enabled. NOTE: one can still plot the MA's even if this is disabled - it is only in regard to the combined Alert.

iWhichMAForTouchPrice: integer (1 = MA1) defining which of the MA's is used for the check if it touches the Price.

dMAPricePipDistance: The distance in pips: How close the MA must be to the current price



_____________3_____________ = "<<< ALERT SETTINGS >>>"

*bPastAlertsOn: * Main On/Off alert option for Past data Alerts. If it is false: there is no alert for Past Data no matter what the other Alert settings are.

*bLiveAlertsOn: Main On/Off alert option for Live Alerts. If it is false: there is no alert no matter what the other Alert settings are.

*iAlertOptionWhen: Alert Option When to Alert:

*bPopUpAlert: If there is an valid Alert: send a PopUp Alert.

*bSoundAlert: If there is an valid Alert: play a Sound Alert.

*sAlertSoundFileName: Name of the Soundfile used for bSoundAlert.

*bEmailAlert: If there is an valid Alert: send an Email Alert (must be correctly configured in MT4 Client).

*bWriteFileAlert: If there is an valid Alert: write it to a AlertFile. (Might fill up your harddisk if not watched) Files are created in MT4:" experts/files: (Notes: Files can only be opened in the terminal_directory\experts\files folder (terminal_directory\tester\files if for expert testing) or in its subfolders)."

*bVLineAlert: If there is an valid Alert: create a VLine on the Chart Bar (Note in case more than one Alert happens we only update the VLine: this means in case an indicator uses different colors fo up and Down Signals only te last one will be recognizable with VLines.

*iAlertVLineStyle: VLine Alerts Line Style: 0=Solid, 1=Dash, 2=Dot, 3=DashDot, 4=DashDotDot.

*iAlertVLineWidth: VLine Alerts width. Valid values are: 1,2,3,4,5. BUT it seems it accepts also individual higher numbers which is quite useful.

*cAlertVLineColorUP: VLine Alerts UP Color value to set/get object color.

*cAlertVLineColorDN: VLine Alerts DOWN Color value to set/get object color.

*bAlertVLineBack: If TRUE: VLine Alerts are Drawn in Background. Boolean value to set/get background drawing flag for object.

*iAlertVLineSubWindowNum: Index of the window where the object will be added. Window index must exceed or equal to 0 and be less than WindowsTotal(). 0 is main chart window.

dMAPricePipDistance: The distance in pips: How close the SMA must be to the current price

===== END OF ===== OTHER INPUT VARIABLES =====