Login Page - Create Account

Technical Studies Reference


Bill Williams Fractal Signals

The study calculates and displays the Bill Williams Fractal signals.

The formulas are described below. The [n] notation refers to the bar ahead or behind from the bar currently being calculated. A positive n refers to a bar ahead and a negative n refers to a bar behind the current bar. == means equals.

A buy fractal signal will be given when the following is true.

		( 
		BarHigh[Index] > BarHigh[1] 
		and BarHigh[1] > BarHigh[2] 
		and BarHigh > BarHigh[-1] 
		and BarHigh[-1] > BarHigh[-2] 
		and BarLow >= BarLow[1]
		and BarLow >= BarLow[-1] 
		and BarLow[-1] > BarLow[-2]
		) 
		
		OR
		
		( 
		and BarHigh > BarHigh[2] 
		and BarHigh > BarHigh[3] 
		and BarHigh > BarHigh[-1] 
		and BarHigh > BarHigh[-2]
		and BarHigh == BarHigh[1]
		) 
		OR
		
		( 
		and BarHigh > BarHigh[3] 
		and BarHigh > BarHigh[4] 
		and BarHigh > BarHigh[-1] 
		and BarHigh > BarHigh[-2] 
		and BarHigh == BarHigh[1] 
		and BarHigh[1] == BarHigh[2]
    

A sell fractal signal will be given when the following is true.

		( 
		BarLow < BarLow[1]
		and BarLow[1] < BarLow[2]
		and BarLow < BarLow[-1]
		and BarLow < BarLow[-2] 
		) 
		||
		( 
		BarLow < BarLow[2]
		and BarLow < BarLow[3]
		and BarLow < BarLow[-1]
		and BarLow < BarLow[-2]
		and BarLow == BarLow[1]
		) 
		||
		( 
		BarLow < BarLow[3] 
		and BarLow < BarLow[4] 
		and BarLow < BarLow[-1] 
		and BarLow < BarLow[-2] 
		and BarLow == BarLow[1] 
		and BarLow[1] == BarLow[2]
		)
    

Inputs

  • Arrow Offset Percentage: This is a percentage where 1 equals 1%. This specifies a percentage of the High to Low range of a bar which is used to offset the Up and Down triangles (default Subgraph Draw Style) from the High and Low of a bar, respectively.

*Last modified Friday, 21st April, 2017.