STOCKS & COMMODITIES magazine. The Traders' Magazine
Request Information
From Advertisers
Traders.com
Stocks &
Commodities

  • Subscribers' Area
  • Current Issue

  •    - Opening Position
       - Letters to S&C
       - Traders' Tips
       - Futures Liquidity
       - News & Products
       - Books
       - Cover Art

  • Free Articles
  • Article Abstracts
    1996-Present
  • Complete Articles
    1982-Present
  • Novice Traders' Notebook
  • Glossary
  • Subscribe
  • Renew
  • Free Trial
  • Search
  • Working
    Money
    Traders.com
    Advantage
    Traders'
    Resource
    Online Store
    Message Boards
    Article Code
    Free Newsletter
    Products
    Search
    Help
    Subscribe
    Renew
    Contact Us
    Home

    Enter search terms:


    Products
    Small Book Image for Store.Traders.comStore.Traders.com
    Purchase past articles on hundreds of topics, along with software, books, and magazine subscriptions over a secure web connection. Click Here

     
    Search Products:

    @ Online Store!
    S&C Magazine Subscriber Login
    S&C Free Trial Issue
    S&C Volume Books
    S&C Magazine
    S&C on DVD
    Software
    Articles
    FREE ARTICLES! (while they last)
    Bennett McDowell
    VisualTrader 4.0
    Forex Volatility Patterns
    Stock Trading Success
    Market Dynamics
    Bill And Justine Williams
    StrategyDesk
    Profiting From The Gartley
    Elwave 8
    Steve Nison's Profiting In ...
    Best Choice Software
    High Growth Stock Investor
    Daytrading With TheStockBandit ...
    The Trading Plan
    Support & Resistance ...
    eSignal 10 and Advanced GET ...
    Trading By Tape-Reading
    Buying Straddles
    Trading With The Directional Ratio
    NeuroShell Trader 5
    GTS Pro
    Between Price And Volume
    Point & Figure for Forex
    Direct Pro
    A Window to Our Workshop
    Profitunity Home Study Course
    Adrienne Toghraie
    MultiCharts 2 (Part 2)
    MESA8
    ChartSmart
    MultiCharts 2 (Part 1)
    C. Kirk of TheKirkReport.com
    StrataSearch 3.0
    IBFX-GPS
    Random Walk Trading
    OmniTrader
    Traders' Resource
    Advisory Services
    Books
    Brokerage
    Consultants
    Courses & Seminars
    Data Services
    Exchanges
    Hardware
    Mutual Funds
    Online Trading Services
    Publications & Newsletters
    Software
    Trading Systems

    Information Directory
    S&C Tour
    S&C Magazine
    Resources
    Products
    Subscribe
    This Month's Issue
    Home | S&C Magazine | Working Money | Traders' Resource | Message-Boards | Store

    SYSTEM DESIGN



    Unlock Your Coding Potential

    Finding Key Reversals

    by Massimiliano Scorpio


    Running this statistical test before creating a system can prove to be helpful.

    After spending several years analyzing traditional indicators and developing moving averages and oscillator-based systems, I have found that nothing works better in forecasting price movements than price itself. This discovery led me to focus my efforts into searching for and studying price configurations that could be useful in predicting the next movements in price. I started creating systems in 1996 using what was then Omega Research's EasyLanguage and tried to test several strategies, writing numerous programs and solving many problems that popped up before I could translate my ideas into a single mechanical strategy. A couple of years ago, I decided to build a library of my favorite patterns and setups to use as a basis for creating a system, and to statistically test if there was indeed something to work on. This preparatory exercise turned out to be very useful, and I would like to share it with my fellow traders.

    THE STEPS

    Before designing a system, you need to write down what pattern you wish to write a program for. Describe your inputs and outputs, and the conditions that would be valid if you were trading that pattern. Once you have created a system, you will need to test it on historical data to determine if it would have been successful in the past. When testing the system, you can select charts of any market, but testing it on at least 10 to 15 noncorrelated markets will make your results more reliable and valid.

    The first step to writing an EasyLanguage function is to list all the patterns you want to test. As an example, I will show you how to write a function for a key reversal up day. The EasyLanguage code for the function can be seen in sidebar 1. A key reversal up day is represented by a bar where the low is lower than the previous low and the close is higher than the previous close. You need to add the condition the actual close must also be lower than the high, as displayed in Figure 1.

    FIGURE 1: KEY REVERSAL UP. This is a key reversal up, visually stated.

    Next, you need to create a signal program, including the function, using the "print" statement as can be seen in sidebar 2. If there is a key reversal up, my objective is to determine how many times the high of the next bar will be equal to or greater than the previous high. If I find the results satisfactory, next I need to build a system where I would buy the key reversal bar at the close and sell the position at the next bar at the previous high for a profit (Figure 2). (See Traders' Tips on page 98.)

    FIGURE 2: KEY REVERSAL SETUP. If the setup works, it is possible to buy on close and sell next bar at today's high.

    ...Continued in the December 2001 issue of Technical Analysis of STOCKS & COMMODITIES


    Excerpted from an article originally published in the December 2001 issue of Technical Analysis of STOCKS & COMMODITIES magazine. All rights reserved. © Copyright 2001, Technical Analysis, Inc.



    Return to December 2001 Contents

    Technical Analysis, Inc.

    [Home | Working Money Magazine | S&C Magazine | Traders.com Advantage | Online Store]
    [Traders' Resource | Add a Product to Traders' Resource | Message Boards]
    [Subscribe/Renew | Free Trial Issue | Article Code | Search | Help Files]
    Departments: [Advertising | Editorial | Circulation | Employment | Contact Us]

    Copyright © 1996-2008 Technical Analysis, Inc. All rights reserved. Read our privacy statement.

    Technical Analysis, Inc.
    Subscribe! Free E-mail Newsletter.
    First: Last:
    E-mail: