PSS Chart Pattern Recognition Engine (PssCPRE)

The "Chart Pattern Recognition Engine (PssCPRE)" allows you automatically detect sophisticated price and pivot patterns in Charts.
Detailed Example  PatternList  ConfigDetails 

Examples of provided Chart Patterns
Gartley (Bullish/Bearish)
Butterfly (Bullish/Bearish)`
Stackzone (Bullish/Bearish)
AB=CD (Bullish/Bearish)
Bat (Bullish/Bearish)
Crab (Bullish/Bearish)
5-0 (Bullish/Bearish)
Shark (Bullish/Bearish)
Drive3 (Bullish/Bearish)
Cypher (Bullish/Bearish)

You simply define the details in a small pattern configuration file with the retracement ranges etc.
The "Chart Pattern Recognition Engine (PssCPRE)" will process each bar and check for new pivots were the condition(s) you specify are fulfilled.
The "Chart Pattern Recognition Engine (PssCPRE)" can then be easily integrated within a trading strategy or indicator!

Detailed Example: Gartley Bullish

Here is an actual example of a Gartley Bullish formation (CRMT Feb 21, 2003):
  
The pattern configuration file(PR_GartleyBull.txt) defines the details of the expected formation (details below) and has several sections:
Symbols: Calc: Cond: Result: DiagStart:
XABCD
Low
DRatio1=BA/XA
DRatio2=BC/BA
DRatio3=DC/BC
C1=DRatio1|50,78.6|
C2=DRatio2|38.2,88.6|
C3=DRatio3|127,161.8|
AND=C1,C2,C3 ;20030101
5 Points
Wait for Low
Define 3 Ratios Define 3 Conditions Define final Result Optional diag start date
Detailed Diagnostics 
You can switch the detailed diagnostics on - by simply specifying a start date (Jan 1st, 2012) (remove the semicolon): 
DiagStart: 
20030101

New Pivot detecetd:
When a new Pivot is detected - the engine shows in the log file the detailed diagnostics:
Diagnostics - Bar#708[02/21/2003 16:00]: O=7.6700, H=7.7800, L=7.6700, C=7.7700, Vol=31350 - 5 KeyPoints (Max 19):

List of Pivot Points:

PivotPt-X: Bar= 616, Prc= 6.4100, Dir=-1, Type=2, Exp=0, Show=0 (Bar#617[10/10/2002 16:00]: O=6.5000, H= 6.7300, L=6.4100, C=6.6300, Vol=66750)
PivotPt-A: Bar= 664, Prc=10.0000, Dir=+1, Type=2, Exp=0, Show=0 (Bar#665[12/18/2002 16:00]: O=9.4300, H=10.0000, L=9.4300, C=9.9300, Vol=60750)
PivotPt-B: Bar= 671, Prc= 8.0000, Dir=-1, Type=2, Exp=0, Show=0 (Bar#672[12/30/2002 16:00]: O=8.1300, H= 8.4600, L=8.0000, C=8.4100, Vol=27450)
PivotPt-C: Bar= 685, Prc= 9.0700, Dir=+1, Type=2, Exp=0, Show=0 (Bar#686[01/21/2003 16:00]: O=8.6700, H= 9.0700, L=8.6700, C=9.0000, Vol=25950)
PivotPt-D: Bar= 705, Prc= 7.6300, Dir=-1, Type=2, Exp=0, Show=0 (Bar#706[02/19/2003 16:00]: O=7.7900, H= 7.7900, L=7.6300, C=7.6700, Vol=6975)
List of calculated Ratios:
Var=DRatio1 , Formula=BA/XA Res= 55.7103 Var1= 2.0000, Var2= 3.5900
Var=DRatio2 , Formula=BC/BA Res= 53.5000 Var1= 1.0700, Var2= 2.0000
Var=DRatio3 , Formula=DC/BC Res= 134.5794 Var1= 1.4400, Var2= 1.0700
List of Conditions check if in specified Range:
Cond: InRange : Var= 55.7103(DRatio1 ), Min= 50.0000, Max= 78.6000
Cond: InRange : Var= 53.5000(DRatio2 ), Min= 38.2000, Max= 88.6000
Cond: InRange : Var= 134.5794(DRatio3 ), Min= 127.0000, Max= 161.8000
Final overall Result:
CalcPattern: Result=1, Type=A(And) Cnt=3(Max=3)

Chart Pattern configuration file

Symbols:
XABCD
Defines the pivot letters/symbols
used for each pivot
Calc:
DRatio1=BA/XA
DRatio2=BC/BA
DRatio3=DC/BC
DRatio4=X/D
Defines which ratios are calculated - using the symbols for the pivot points above
Cond:
C1=DRatio1|50,78.6|
C2=DRatio2|38.2,88.6|
C3=DRatio3|127,161.8|
C4=DRatio4|105,140|
Defines condition(s) and the expected range(s) for a given Ratio
Result:
AND=C1,C2,C3,C4
Defines which condition(s) need to be true for the overall result to be successful (true = 100%)
Output:
C1
C2
C3
C4
DRatio1
DRatio2
DRatio3
DRatio4
Defines which values are show in the chart.
The Conditions (C1,C2,C3 etc) are shown as 0%(False or 100%(True)

 

DiagStart:
20030320
Optional switch to turn on diagnostic - showing logging with additional information from the specified starting date (YYYYMMDD)

EasyLanguage code: PSS_I_PPRes   PR_TRD.txt  
You can of cause use the "Chart Pivot Pattern Recognition Engine" for trading inside a strategy! - PR_TRD.txt  
Simply check for main result of 100% - shown in the chart as "PRVal01"
Check if the new bar has triggered (value jumps from 0 to 100):  
if arrVal1[0] = 100 THEN
    Buy next bar at market;


Order the Chart Pivot Pattern Recognition Engine here   


Provided Chart Recognition Patterns:

Gartley 
Gartley Bullish (PR_GartleyBull.txt) - CRMT Daily May 2003: Workspace: TradeStation(PR_GA1.tsw)  MultiCharts(PR_GA1.wsp) 
   
Gartley Bearish (PR_GartleyBear.txt) - ADI Daily Apr 2010: Workspace: TradeStation(PR_GA2.tsw)  MultiCharts(PR_GA2.wsp) 
   
Butterfly
    
Butterfly Bullish (PR_ButterflyBull.txt) - ACET Daily June 2010: Workspace: TradeStation(PR_BF1.tsw)  MultiCharts(PR_BF1.wsp) 
   
Butterfly Bearish (PR_ButterflyBear.txt) - ADI Daily Oct 2011: Workspace: TradeStation(PR_BF2.tsw)  MultiCharts(PR_BF2.wsp) 
     
Stackzone Bullish (PR_StackzoneBull.txt) - AFSI Daily Sep 2011: Workspace: TradeStation(PR_SZ1.tsw)  MultiCharts(PR_SZ1.wsp)   Ref 
 
Stackzone Bearish (PR_StackzoneBear.txt) - ADI Feb 2003: Workspace: TradeStation(PR_SZ2.tsw)  MultiCharts(PR_SZ2.wsp)   Ref 
  
AB=CD Bullish (PR_ABCDBull.txt) - ABAX Daily Oct 2012: Workspace: TradeStation(PR_AB1.tsw)  MultiCharts(PR_AB1.wsp)   Ref 
   
AB=CD Bearish (PR_ABCDBear.txt) - SLAB Daily Jul 2013: Workspace: TradeStation(PR_AB2.tsw)  MultiCharts(PR_AB2.wsp)   Ref 
   
Bat Bullish (PR_BatBull.txt) - CSFL Daily Dec 2014: Workspace: TradeStation(PR_BA1.tsw)  MultiCharts(PR_AB1.wsp)   Ref 
   
Bat Bearish (PR_BatBear.txt) - AMWD Daily Aug 2004: Workspace: TradeStation(PR_BA2.tsw)  MultiCharts(PR_AB2.wsp)   Ref 
     
Crab Bullish (PR_CrabBull.txt) - AVAV Daily Feb 2013: Workspace: TradeStation(PR_CR1.tsw)  MultiCharts(PR_AB1.wsp)   Ref 
    
Crab Bearish (PR_CrabBear.txt) - AKAM Daily Feb 2014: Workspace: TradeStation(PR_CR2.tsw)  MultiCharts(PR_CB2.wsp)   Ref 
   
50 Bullish (PR_50Bull.txt) - CME Daily Jul 2014: Workspace: TradeStation(PR_5O1.tsw)  MultiCharts(PR_5O1.wsp)   
      
50 Bearish (PR_50Bear.txt) - EXLS Daily Jun 2014: Workspace: TradeStation(PR_5O2.tsw)  MultiCharts(PR_5O2.wsp)   
      
Shark Bullish (PR_SharkBull.txt) - BPOP Daily Feb 2015: Workspace: TradeStation(PR_SH1.tsw)  MultiCharts(PR_SH1.wsp)   
        
Shark Bearish (PR_SharkBear.txt) - CA Daily Mar 2014: Workspace: TradeStation(PR_SH2.tsw)  MultiCharts(PR_SH2.wsp)   
         
Drive3 Bullish (PR_DriveBull.txt) - NTAP Daily Jul 2004: Workspace: TradeStation(PR_DR1.tsw)  MultiCharts(PR_DR1.wsp)   
        
Drive3 Bearish (PR_DriveBear.txt) - CATM Daily Jul 2012: Workspace: TradeStation(PR_DR2.tsw)  MultiCharts(PR_DR2.wsp)   
         

___________________________________________________________________
More Products

The following powerful Tools and Indicators are available from ProfessionelSoftwareSolutions:

Professionel Software Solutions Products:  The following powerful utilities are available:

Trading Simulator (PssTrdSim)  
Allows you to replay/trade and  test your interactive trading skills (any market and timeframe)
Eichberger Bands (PssEichB)
Eichberger Bands - the improved Bollinger Bands without the lag and overshoots
Diamond Backtesting and Walk Forward Manager (BTWFMgr)  
State of the art powerful "Swiss army knife" when it comes to optimizing and analyzing your trading strategies -also with walk forward backtesting 
Universal Trend Detection System (UNITRDES)  
"Never miss a trend again" - detects and displays the trend in any timeframe and market!
Trading Performance Analyzer (TrdPerfAna)
Details analysis and optimization of your live or back tested TradeStation® Strategy Results
Check out the Overview sample here
Portfolio Backtesting Sequence Manager (BTSeqMgr)
Save hours by running backtests for your Portfolio - automatically in a customizable series of backtests with BTSeqMgr
for any list of symbols(Portfolio) and timeframes (overnight or over a weekend) in TradeStation®

Bar Countdown Utility
Alerts you when the current bar closes and real-time and of the time left.

Internet Connection Monitor
Alerts immediately when you Internet connections drops,
so you can avoid very costly missed orders - because your trading strategy did not send your orders

We also offer any custom programming you might need for Multicharts and TradeStation® 

I    
"Neither TradeStation Technologies nor any of its affiliates has reviewed, certified, endorsed, approved,
disapproved or recommended, and neither does or will review, certify, endorse, approve, disapprove or
recommend, any product or service that offers training, education or consulting regarding the use of EasyLanguage®."

_____________________________________________________________________
TradeStation® and EasyLanguage® are registered trademarks of TradeStation Technologies, Inc.

© Copyright 1994-2015, Burkhard Eichberger, Professional Software Solutions
All Rights Reserved Worldwide.

TradeStation,EasyLanguage,Custom,Programming,Stock,Futures,Trading,Strategy,Consulting,Long,Short,Entry,Buy,Sell,Target,STop,StopLoss