MJ Indicators Help Info

THLineAlerter_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


THLineAlerter_main.gif


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

Is a CHART ALERT indicator with up to 3 Objects (TrendLine or HLine) Alert. I settled for 3 as this gives all possibilities: above, below and in front.

ALERT OPTION: When the current Price touches (or is near - adjustable distance to the object). It also Alerts if the price breaks through.



COMPARE TO OTHER INDICATORS: NONE



OTHER INPUT VARIABLES

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



_____________1_____________ = "<<< OBJLine SETTINGS >>>"




"== OBJ1 DEFINITION =="

*sOBJ1LineName: OBJ1: ObjectName of an existing TrendLine or HLine. e.g. double-click click the HLine: HLine properties: Name. Now copy the Obj Name and past it here.

*dOBJ1PipDistance: OBJ1: A Distance to the OBJ Line. If the Price reaches the Distance it triggers already the alert. 0.0: means price must touch the Obj line or break through it.


"== OBJ2 DEFINITION =="

*sOBJ2LineName: OBJ2: ObjectName of an existing TrendLine or HLine. e.g. double-click click the HLine: HLine properties: Name. Now copy the Obj Name and past it here.

*dOBJ2PipDistance: OBJ2: A Distance to the OBJ Line. If the Price reaches the Distance it triggers already the alert. 0.0: means price must touch the Obj line or break through it.


"== OBJ3 DEFINITION =="

*sOBJ3LineName: OBJ3: ObjectName of an existing TrendLine or HLine. e.g. double-click click the HLine: HLine properties: Name. Now copy the Obj Name and past it here.

*dOBJ3PipDistance: OBJ3: A Distance to the OBJ Line. If the Price reaches the Distance it triggers already the alert. 0.0: means price must touch the Obj line or break through it.



_____________2_____________ = "<<< 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.

*cAlertVLineColor: VLine Alerts UP 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.

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