MJ Indicators Help Info

FRACKind5MAOrder_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


FRACKind2MAOrder - FRACKind5MAOrder have the same documentation as they differ only in the number of MA.

FRACKindMAOrder__2-5MA_main.gif


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

Is a CHART indicator to search for Fractals kind pattern filtered by MA Order and is based on the idea of Bill Williams: - with some deviations.

FILTER:



COMPARE TO OTHER INDICATORS: it can easily be compared with the MT4 MA: just apply SMAs/EMAs with the same Period and set: Applied to: open and manually check the order.


Description: Bill Williams: Book:"Trading Chaos" (Page 135, 136)

 The Initiating Fractal Pattern: A fractal pattern on a bar chart(of any time span) consists of a minimum of five consecutive bars. Our working definition of this initiating fractals is that
 the middle bar must have a higher high (or lower low) than the two preceding bars and the two following bars. ....

 It is important to note the following restrictions:
  - 1. If a bar's high is parallel to the middle or high(low) bar, it does not count as one of the five bars in the fractal because it does not have a lower high ( higher low) than the middle bar.
  - 2. Two adjacent fractals may share bars.

 In an up fractal, we are interested only in the bar's high. In a down fractal, we are interested only in the bar's low.

This particular FRACKind is a small deviation from the above standard definition:



OTHER INPUT VARIABLES

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



_____________1_____________ = "<<< FRACKind SETTINGS >>>"



IMPORTANT: We use for parameters to control the FRACKind (Kind of FRACTALS) pattern search:

*iBarsBeforeMid: Number of Bars Before the _FracMidBarSHIFT to be considered: Standard Fractals use: 2.

*bBarsBeforeOrder: If TRUE: the Bars before the _FracMidBarSHIFT must be in order:

*iBarsAfterMid: Number of Bars After the _FracMidBarSHIFT to be considered: Standard Fractals use: 2.

*bBarsAfterOrder: If TRUE: the Bars after the _FracMidBarSHIFT must be in order:

*bPlotOnlyMAOrderTypFrac: If TRUE: we plot if MA Order is UP - only UP Frac, if MA Order is DOWN: Only Down Frac. If FALSE: we plot UP and Down Frac when the MA are stuck in Order.



_____________1_____________ = "<<< MA SETTINGS >>>"



*bPlotMALines: If TRUE: we also plot the Ma Filter Lines.

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



_____________3______________ = "<<< PLOT FRACKind SETTINGS >>>"



**dFracUPOffsetPoint: :</b TRUE: we plot if MA Order is UP - only UP Frac, if MA Order is DOWN: Only Down Frac. If FALSE: we plot UP and Down Frac when the MA are stuck in Order.

"== FRAC UP Arrow =="

*dFracUPOffsetPoint: Offset to move the FRAC UP Arrow above the Bar High

*iArrowUPWingdingsNum: FRAC UP Arrow Wingdings Font Symbols Numbers.

*iArrowUPSize: FRAC UP Arrow Size.

*cArrowUP: FRAC UP Arrow Color.


"== FRAC DOWN Arrow =="

*dFracDNOffsetPoint: Offset to move the FRAC DOWN Arrow below the Bar Low

*iArrowDNWingdingsNum: FRAC DOWN Arrow Wingdings Font Symbols Numbers.

*iArrowDNSize: FRAC DOWN Arrow Size.

*cArrowDN: FRAC DOWN Arrow Color.

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