Candlestick Patterns Version 30

Description: The ShowMe analysis technique for RadarScreen®, Chart Analysis, and the Scanner shows when certain candlestick patterns occur for stocks, ETFs, Forex, etc. The indicator can be used to search for the following candlestick patterns: , bullish engulfing, bearish engulfing, hammer, dark cloud, piercing pattern, morning star, evening star, inverse hammer, bullish harami, bearish harami, bullish kicker, bearish kicker, shooting star, bullish railroad tracks, bearish railroad tracks, tweezer bottom, tweezer top, island reversal bottom, island reversal top, bullish and bearish marubozu, rally-base-rally, drop-base-drop, rally-base and drop-base, inside bar, three crows, three soldiers. You can have the indicator look for all the patterns or just the ones you are interesting in analyzing. This indicator will work on any time frame as well as tick charts. Alerts, if enable, will be generated for all enabled candlestick patterns.

Inputs: doji_enabled = enables(true) or disables(false) the indicator to look for the doji candlestick pattern. The default is “true”. doji_text = Allows you to customize the display text. The default is “D”. doji_color = Allows you to customize the display text’s color. The default is yellow. doji_body_percent = Allows you to customize the body size of the doji with respect to the total candlestick size from high to low. The default is “5” for 5%. bull_engulf_enabled = enables(true) or disables(false) the indicator to look for the bullish engulfing candlestick pattern. The default is “true”. bull_engulf _text = Allows you to customize the display text. The default is “E”. bull_engulf _color = Allows you to customize the display text’s color. The default is green. bear_engulf_enabled= enables(true) or disables(false) the indicator to look for the bearish engulfing candlestick pattern. The default is “true”. bear_engulf _text = Allows you to customize the display text. The default is “E”. bear _engulf _color = Allows you to customize the display text’s color. The default is red. hammer_enabled = enables(true) or disables(false) the indicator to look for the hammer candlestick pattern. The default is “true”. hammer _text = Allows you to customize the display text. The default is “H”. hammer _color = Allows you to customize the display text’s color. The default is yellow. hammer_shadow_percent = Allows you to customize the size of the hammer shadow with respect to the total candlestick size from high to low. The default is “66” for 66% and this means that the shadow must be at least 66% of the total size of the candle from high to low. A smaller number will allow more hammers to be found and a larger number will reduce the number of hammers that are found. dark_cloud_enabled = enables(true) or disables(false) the indicator to look for the dark cloud candlestick pattern. The default is “true”. dark_cloud _text = Allows you to customize the display text. The default is “DC”. dark_cloud _color = Allows you to customize the display text’s color. The default is red. piercing_pattern_enabled = enables(true) or disables(false) the indicator to look for the piercing pattern candlestick pattern. The default is “true”.

1 piercing_pattern _text = Allows you to customize the display text. The default is “P”. piercing_pattern _color = Allows you to customize the display text’s color. The default is green. morning_star_enabled = enables(true) or disables(false) the indicator to look for the morning star candlestick pattern. The default is “true”. morning_star _text = Allows you to customize the display text. The default is “M”. morning_star _color = Allows you to customize the display text’s color. The default is green. evening_star_enabled = enables(true) or disables(false) the indicator to look for the evening star candlestick pattern. The default is “true”. evening _star _text = Allows you to customize the display text. The default is “ES”. evening _star _color = Allows you to customize the display text’s color. The default is red. inverted_hammer_enabled = enables(true) or disables(false) the indicator to look for the inverse hammer candlestick pattern. The default is “true”. inverted_hammer _text = Allows you to customize the display text. The default is “IH”. inverted_hammer _color = Allows you to customize the display text’s color. The default is yellow. Inverted_hammer_shadow_percent = Allows you to customize the size of the shadow with respect to the total candlestick size from high to low. The default is “66” for 66% and this means that the shadow must be at least 66% of the total size of the candle from high to low. A smaller number will allow more inverted hammers to be found and a larger number will reduce the number of inverted hammers that are found. bull_harami_enabled = enables(true) or disables(false) the indicator to look for the bullish harami candlestick pattern. The default is “true”. bull_ harami _text = Allows you to customize the display text. The default is “BH”. bull_ harami _color = Allows you to customize the display text’s color. The default is green. bear_ harami _enabled = enables(true) or disables(false) the indicator to look for the bearish harami candlestick pattern. The default is “true”. bear_ harami _text = Allows you to customize the display text. The default is “BH”. bear_ harami _color = Allows you to customize the display text’s color. The default is red. bull_kicker_enabled = enables(true) or disables(false) the indicator to look for the bullish kicker candlestick pattern. The default is “true”. bull_kicker_text = Allows you to customize the display text. The default is “BK”. bull_kicker_color = Allows you to customize the display text’s color. The default is green. bear_kicker_enabled = enables(true) or disables(false) the indicator to look for the bearish kicker candlestick pattern. The default is “true”. bear_kicker_text = Allows you to customize the display text. The default is “BK”. bear_kicker_color = Allows you to customize the display text’s color. The default is red. shooting_star_enabled = enables(true) or disables(false) the indicator to look for the shooting star candlestick pattern. The default is “true”. shooting_star _text = Allows you to customize the display text. The default is “SS”. shooting_star _color = Allows you to customize the display text’s color. The default is red.

2 bull_rr_track_enabled = enables(true) or disables(false) the indicator to look for the bullish railroad track candlestick pattern. The default is “true”. bull_rr_track _text = Allows you to customize the display text. The default is “RT”.bull_rr_track _color = Allows you to customize the display text’s color. The default is green. bull_rr_track_body_length = This input defines what percentage of the overall candlestick the body must be. The comparison is (|Open-Close|/|High-Low|)>=( bull_rr_track_body_length /100). The default is 60 (60%). bull_rr_track _bar_comp = This input is used to determine how similar the two bars must be. The default is 15 (15%). This means that the size of the bars must be within 15% of each other. bull_rr_track _oc_comp = This input is used to determine how close the open and close of the two bars must be. The default is 20 (20%). This means that the close of the prior must be within 20% of the open of the current bar and the open of the prior bar must be within 20% of the close of the current bar. bear_rr_track_enabled = enables(true) or disables(false) the indicator to look for the bearish railroad track candlestick pattern. The default is “true”. bear_rr_track _text = Allows you to customize the display text. The default is “RT”. bear_rr_track _color = Allows you to customize the display text’s color. The default is red. bear_rr_track_body_length = This input defines what percentage of the overall candlestick the body must be. The comparison is (|Open-Close|/|High-Low|)>=( bear_rr_track_body_length /100). The default is 60 (60%). bear_rr_track _bar_comp = This input is used to determine how similar the two bars must be. The default is 15 (15%). This means that the size of the bars must be within 15% of each other. bear_rr_track _oc_comp = This input is used to determine how close the open and close of the two bars must be. The default is 20 (20%). This means that the open of the prior must be within 20% of the close of the current bar and the close of the prior bar must be within 20% of the open of the current bar. twzer_bot_enabled = enables(true) or disables(false) the indicator to look for the tweezer bottom candlestick pattern. The default is “true”. twzer_bot _text = Allows you to customize the display text. The default is “TB”. twzer_bot _color = Allows you to customize the display text’s color. The default is green. twzer_bot_lookback = This input controls the lookback number of bars to see if the current pattern is a local bottom. The default is '5' which means that the tweezer bottom low must be the low over the past 5 bars. twzer_top_enabled = enables(true) or disables(false) the indicator to look for the tweezer top candlestick pattern. The default is “true”. twzer_top_text = Allows you to customize the display text. The default is “TT”. twzer_top _color = Allows you to customize the display text’s color. The default is red. twzer_top_lookback = This input controls the lookback number of bars to see if the current pattern is a local top. The default is '5' which means that the tweezer top high must be the high over the past 5 bars. island_rev_bot_enabled = enables(true) or disables(false) the indicator to look for the island reversal bottom candlestick pattern. The default is “true”. island_rev_bot _text = Allows you to customize the display text. The default is “IB”. island_rev _color = Allows you to customize the display text’s color. The default is green.

3 island_rev_top_enabled = enables(true) or disables(false) the indicator to look for the island reversal top candlestick pattern. The default is “true”. island_rev_top_text = Allows you to customize the display text. The default is “IT”. island_rev_top _color = Allows you to customize the display text’s color. The default is red. bull_marubozu_enabled = enables(true) or disables(false) the indicator to look for the bullish marubozu candlestick pattern. The default is “true”. bull_marubozu _text = Allows you to customize the display text. The default is “MZ”. bull_marubozu _color = Allows you to customize the display text’s color. The default is green. bull_mz _body_percent = Allows you to customize the body size of the bullish marubozu with respect to the total candlestick size from high to low. The default is “100” for 100%. bear_marubozu_enabled = enables(true) or disables(false) the indicator to look for the bearish marubozu candlestick pattern. The default is “true”. bear _marubozu _text = Allows you to customize the display text. The default is “MZ”. bear _marubozu _color = Allows you to customize the display text’s color. The default is red. bear _mz _body_percent = Allows you to customize the body size of the bearish marubozu with respect to the total candlestick size from high to low. The default is “100” for 100%. dropBaseDrop_enabled = enables(true) or disables(false) the indicator to look for the bearish drop- base-drop candlestick pattern. The default is “true”. dropBaseDrop _text = Allows you to customize the display text. The default is “DbD”. dropBaseDrop _color = Allows you to customize the display text’s color. The default is red. dbMinRatio = Defines the ratio between the base bar in control and the exit bar(s). The default is ‘3’. rallyBaseRally_enabled = enables(true) or disables(false) the indicator to look for the bullish rally-base- rally candlestick pattern. The default is “true”. rallyBaseRally _text = Allows you to customize the display text. The default is “RbR”. rallyBaseRally _color = Allows you to customize the display text’s color. The default is green. rbMinRatio = Defines the ratio between the base bar in control and the exit bar(s). The default is ‘3’. dropBase_enabled = enables(true) or disables(false) the indicator to look for the bearish drop-base candlestick pattern. The default is “true”. dropBase _text = Allows you to customize the display text. The default is “Db”. dropBase _color = Allows you to customize the display text’s color. The default is red. rallyBase_enabled = enables(true) or disables(false) the indicator to look for the bullish rally-base candlestick pattern. The default is “true”. rallyBase _text = Allows you to customize the display text. The default is “Rb”. rallyBase _color = Allows you to customize the display text’s color. The default is green. insideBar_enabled = enables(true) or disables(false) the indicator to look for the inside bar candlestick pattern. The default is “true”. insideBar _text = Allows you to customize the display text. The default is “IB”. insideBar _color = Allows you to customize the display text’s color. The default is yellow. threeCrows_enabled = enables(true) or disables(false) the indicator to look for the three crows descending bar candlestick pattern. The default is “true”.

4 threeCrows _text = Allows you to customize the display text. The default is “3C”. threeCrows _color = Allows you to customize the display text’s color. The default is red. threeCrows _ratio = Allows you to set the minimum accepted ratio of candlestick body vs (high-low) range. The default is 25 for 25%. threeSoldiers_enabled = enables(true) or disables(false) the indicator to look for the three soldiers ascending bar candlestick pattern. The default is “true”. threeSoldiers _text = Allows you to customize the display text. The default is “3S”. threeSoldiers _color = Allows you to customize the display text’s color. The default is green. threeSoldiers _ratio = Allows you to set the minimum accepted ratio of candlestick body vs (high-low) range. The default is 25 for 25%. barsBack: This input is for use in the Scanner. This input allows you to look for candlestick patterns that occurred X bars back in time. The default is 0 so that the patterns that occur on the current bar are displayed. For example, assuming you are using the Scanner examining daily data. If you would like to find the patterns that occurred on the previous trading day you would set barsBack=1. If you would like to look for patterns that occurred 6 trading days ago you would set barsBack=6. Remember that the current day is numbered 0, one trading day back is 1, two trading days back is 2, etc. backTest: This input is specifically used for using this indicator as part of a backtest. The default is ‘false’. When this indicator is set to ‘true’ the candlestick information will only be displayed in a Chart Analysis window when a bar is clicked on after the commentary is selected. showBullishBelowCndl: This input allows you to display the text for bullish candlestick patterns below the candle that creates the pattern, if you wish. The default is 'false' to maintain the original behavior. Set this input to 'true' to display bullish candles below the appropriate candlestick.

TextStringFontSize: This input allows you to set the font size of the chart analysis display. The default is 10.0. maxTextLabelsToDisplay: This input allows you to set the maximum number of candlestick text labels to be displayed on a chart. The default is 100. printOffset: This input allows you to control where the text is displayed in the Chart window. If the value is set to zero (zero is the default) an internal algorithm will be used to decide where to place the text. If you set this value to a non-zero number then the text will be displayed using this value. For text that is displayed above the candles it will be placed at the high+printOffset. For text that is displayed below the candles it will be displayed at low-printOffset. useIntraBarUpdate: when set to 'true' this allows for the candlestick patterns to be calculated before the bar completes. As candlestick patterns are recognized they will be displayed. The default is 'false'.

Important Notes:  The Candlestick Pattern ShowMe works for all time frames and tick charts.  The Candlestick Pattern ShowMe works for RadarScreen®, Chart Analysis, and the Scanner.  The Commentary window that is available with Chart Analysis shows the current bar’s candlestick patter, if any, as well as a history of candlestick patterns.

5

Uses:  Can be used to see candlestick patterns as they occur.  Can be used to scan for stocks, ETFs, etc. that have a particular candlestick pattern using the Scanner. You can scan for patterns that have occurred several bars back as well as on the most recently completed bar.  Can be used to see the history of candlestick patterns that have formed over time by using the Commentary feature on the Chart Analysis window.

Settings:  Each candlestick pattern can be either enabled (true) or disabled (false) to allow you to have complete control over what candlestick patterns are displayed/searched for by the indicator. The default is that all are searched for since all the settings are defaulted to “true”. However, we have found it useful to separate the candlestick patterns into bullish and bearish. For example, you might want to set up a scan to find just bullish patterns or just bearish patterns.  The display text can be set to whatever text is desired. The defaults are shown above in the “Inputs” section.  All patterns should be considered in the context of the current trend, if there is one. Patterns that can be either bearish or bullish have been set with a default color of yellow. The patterns that are inherently bullish are defaulted to green and the patterns that are inherently bearish are defaulted to red. You can change the color of the displayed text for any of the candlestick patterns, if you would like to do so.

6

Display:  Radarscreen®: o The first column is named “Curr Pattern” and shows the candlestick pattern that has been identified for the current bar, if there is one. If no candlestick pattern has been identified an empty string will be shown. o The second column is named “Pattern Active” and shows if a candlestick pattern is present. o The third column is named “Reversal Possible” and shows if a reversal of trend is possible based on the current candlestick pattern.

7

 Chart Analysis: o The chart analysis window will show all candlestick patterns that have been identified. The text for the patterns will be show above/below the candlesticks. The commentary window can be used to see a history of all candlestick patterns that have been detected as well as a brief description of the candlestick pattern that is present on the current candlestick, if one has been identified.

8

 Scanner: o The scanner can be used to find stocks, ETFs, etc. that have particular candlestick patterns. When in the scan criteria tab of the scanner the “Pattern Active” column is used to determine if any of the desired candlestick patterns are present. When you add the “Candlestick Patterns” indicator to the search criteria select “Pattern Active” with “Operator” set to TRUE. Once this is done, then you can expand the indicator inputs with the “+” and set the enable input to “true” for all patterns to search for. o The scanner can be configured to display all candlestick patterns that are found. In order to do this, you must configure the “Curr Pattern” column to be displayed by selecting “Display” in the “Operator” column of the scanner scan criteria tab. Once this is done, then you can expand the indicator inputs with the “+” and set the enable input to “true” for all patterns that you would like to be displayed. Most likely, you will want to set the input values to be the same as you configured the scan for the “Pattern Active” column. o The figures below show an example configuration of the scanner that will search all stocks that have a closing value of at least $20 and a daily of at least 1M shares and that have a bullish candlestick pattern that occurred today (barsBack=0).

Figure 1 – the Candlestick Patterns “Pattern Active” column is used as a scan criteria and the “Curr Pattern” column is set to display any detected candlestick patterns.

9

Figure 2 – The inputs for the “Poss Reverse” column are set to find bullish candlestick patterns. Note, only a portion of the inputs are shown.

NOTE: Use the same settings for the “Curr Pattern” setup as well so that you can display the results of the scan.

10

Contact Info: If you have any questions or suggestions I would very much like to hear from you.

My email is: [email protected] Website: www.historicstockdata.com

Legal Information:

Disclaimer: The risk of trading can be substantial and each investor and/or trader must consider whether this is a suitable investment. Past performance, whether actual or indicated by simulated historical tests of indicators, is not indicative of future results. All information on our website (www.historicstockdata.com) and in this document is for educational purposes only and is not intended to give you financial advice. Any statements about income, expressed or implied, does NOT represent a guarantee. Your actual trading may result in losses as no trading system is guaranteed. By being on our website or accessing this document, you accept full responsibility for your actions, trades, profit and loss. You also agree to hold www.historicstockdata.com or any authorized distributors harmless in any and all ways. The usage of this website and/or document constitutes acceptance of these terms and the user agreement.

Commodity Futures Trading Commission (CFTC) Rule 4.41 HYPOTHETICAL PERFORMANCE RESULTS HAVE MANY INHERENT LIMITATIONS, SOME OF WHICH ARE DESCRIBED BELOW. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN. IN FACT, THERE ARE FREQUENTLY SHARP DIFFERENCES BETWEEN HYPOTHETICAL PERFORMANCE RESULTS AND THE ACTUAL RESULTS SUBSEQUENTLY ACHIEVED BY ANY PARTICULAR TRADING PROGRAM. ONE OF THE LIMITATIONS OF HYPOTHETICAL PERFORMANCE RESULTS IS THAT THEY ARE GENERALLY PREPARED WITH THE BENEFIT OF HINDSIGHT. IN ADDITION, HYPOTHETICAL TRADING DOES NOT INVOLVE FINANCIAL RISK, AND NO HYPOTHETICAL TRADING RECORD CAN COMPLETELY ACCOUNT FOR THE IMPACT OF FINANCIAL RISK IN ACTUAL TRADING. FOR EXAMPLE, THE ABILITY TO WITHSTAND LOSSES OR ADHERE TO A PARTICULAR TRADING PROGRAM IN SPITE OF TRADING LOSSES ARE MATERIAL POINTS WHICH CAN ALSO ADVERSELY AFFECT ACTUAL TRADING RESULTS. THERE ARE NUMEROUS OTHER FACTORS RELATED TO THE MARKETS IN GENERAL OR TO THE IMPLEMENTATION OF ANY SPECIFIC TRADING PROGRAM WHICH CANNOT BE FULLY ACCOUNTED FOR IN THE PREPARATION OF HYPOTHETICAL PERFORMANCE RESULTS AND ALL OF WHICH CAN ADVERSELY AFFECT ACTUAL TRADING RESULTS.

11