MJ Indicators Help Info

ALop6STOkUpDnObOs_MTF_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


ALop1STOkUpDnObOs_MTF - ALop8STOkUpDnObOs_MTF have the same documentation as they differ only in the number of STOk.

ALopSTOkUpDnObOs_MTF__1-8STOk_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 STO based on bar open price. Only the % k Line is calculated. NOTE: this is a deviation from the standard. Only the live (wiggling) part is using the last tick price(closing price)

ALERT OPTION: UP: ALL MTF STOk up. DOWN: ALL MTF STOk down.



COMPARE TO OTHER INDICATORS: it can not so easily be compared with any other standard indicators as it is a MTF version.
Best way to compare it is to use the opSTOk1 (which is a single Chart Interval version by me) on a chart with the period set to the same as one uses for iMTFResourceInterval.



OTHER INPUT VARIABLES

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



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



*bPlotSTOkLines: If TRUE: we also plot the STOk Lines.

________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.

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

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

*cSTOk1Line: STOk1: Line color.

*dSTOk1LevelOb: STOk1: Level when the STOk is at or above is considered as overbought: UP. Can also be set to something above 100 so that the True Direction is always used.

*dSTOk1LevelOs: STOk1: Level when the STOk is at or below is considered as oversold: DOWN. Can also be set to something below 0 so that the True Direction is always used.

*bSTOk1DisregardLevelObOs: STOk1: if True: than if the STOk is in the Ob or Os Level Zone it is considered neighter UP nor DOWN


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

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

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

*cSTOk2Line: STOk2: Line color.

*dSTOk2LevelOb: STOK2: Level when the STOk is at or above is considered as overbought: UP. Can also be set to something above 100 so that the True Direction is always used.

*dSTOk2LevelOs: STOK2: Level when the STOk is at or below is considered as oversold: DOWN. Can also be set to something below 0 so that the True Direction is always used.

*bSTOk2DisregardLevelObOs: STOK2: if True: than if the STOk is in the Ob or Os Level Zone it is considered neighter UP nor DOWN


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

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

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

*cSTOk3Line: STOk3: Line color.

*dSTOk3LevelOb: STOK3: Level when the STOk is at or above is considered as overbought: UP. Can also be set to something above 100 so that the True Direction is always used.

*dSTOk3LevelOs: STOK3: Level when the STOk is at or below is considered as oversold: DOWN. Can also be set to something below 0 so that the True Direction is always used.

*bSTOk3DisregardLevelObOs: STOK3: if True: than if the STOk is in the Ob or Os Level Zone it is considered neighter UP nor DOWN


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

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

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

*cSTOk4Line: STOk4: Line color.

*dSTOk4LevelOb: STOK4: Level when the STOk is at or above is considered as overbought: UP. Can also be set to something above 100 so that the True Direction is always used.

*dSTOk4LevelOs: STOK4: Level when the STOk is at or below is considered as oversold: DOWN. Can also be set to something below 0 so that the True Direction is always used.

*bSTOk4DisregardLevelObOs: STOK4: if True: than if the STOk is in the Ob or Os Level Zone it is considered neighter UP nor DOWN


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

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

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

*cSTOk5Line: STOk5: Line color.

*dSTOk5LevelOb: STOK5: Level when the STOk is at or above is considered as overbought: UP. Can also be set to something above 100 so that the True Direction is always used.

*dSTOk5LevelOs: STOK5: Level when the STOk is at or below is considered as oversold: DOWN. Can also be set to something below 0 so that the True Direction is always used.

*bSTOk5DisregardLevelObOs: STOK5: if True: than if the STOk is in the Ob or Os Level Zone it is considered neighter UP nor DOWN


"== STOk6 DEFINITION =="

iMTFResourceIntervalSTOk6: STOk6: 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

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

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

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

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

*cSTOk6Line: STOk6: Line color.

*dSTOk6LevelOb: STOK6: Level when the STOk is at or above is considered as overbought: UP. Can also be set to something above 100 so that the True Direction is always used.

*dSTOk6LevelOs: STOK6: Level when the STOk is at or below is considered as oversold: DOWN. Can also be set to something below 0 so that the True Direction is always used.

*bSTOk6DisregardLevelObOs: STOK6: if True: than if the STOk is in the Ob or Os Level Zone it is considered neighter UP nor DOWN


"== STOk7 DEFINITION =="

iMTFResourceIntervalSTOk7: STOk7: 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

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

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

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

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

*cSTOk7Line: STOk7: Line color.

*dSTOk7LevelOb: STOK7: Level when the STOk is at or above is considered as overbought: UP. Can also be set to something above 100 so that the True Direction is always used.

*dSTOk7LevelOs: STOK7: Level when the STOk is at or below is considered as oversold: DOWN. Can also be set to something below 0 so that the True Direction is always used.

*bSTOk7DisregardLevelObOs: STOK7: if True: than if the STOk is in the Ob or Os Level Zone it is considered neighter UP nor DOWN


"== STOk8 DEFINITION =="

iMTFResourceIntervalSTOk8: STOk8: 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

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

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

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

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

*cSTOk8Line: STOk8: Line color.

*dSTOk8LevelOb: STOK8: Level when the STOk is at or above is considered as overbought: UP. Can also be set to something above 100 so that the True Direction is always used.

*dSTOk8LevelOs: STOK8: Level when the STOk is at or below is considered as oversold: DOWN. Can also be set to something below 0 so that the True Direction is always used.

*bSTOk8DisregardLevelObOs: STOK8: if True: than if the STOk is in the Ob or Os Level Zone it is considered neighter UP nor DOWN



_____________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.

*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.

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