Tuesday, September 07, 2010

Pattern Bullish Match [PBUM]

Descripton
Summary:
This analyst script is used to determine whether a specified bullish pattern has been found.

Values:
1. 0 - No pattern detected.
2. 100 - The bullish pattern has been detected.


Variables
TypeIdentifierDescription
Integer_patternKeyUse for the bullish pattern key to search for.

OnAnalysis
Function Parameters
TypeIdentifierDescription
IntegerbarIndex
Implementation
	 ' Check whether a pattern match exists.
	If (PatternMatch(_patternKey, barIndex) > 0) Then
		Return 100
	End If
	Return 0

OnInitialize
Function Parameters
TypeIdentifierDescription
PatternpatternKeyUse for the bullish pattern key to search for.
Implementation
	 ' Assign a script parameter to a script variable.
	_patternKey = patternKey

Copyright © 2010 IQBroker, LLC. All rights reserved.