All posts by admin
SWAMICHARTS
The AIQ code based on John Ehlers & Ric Way’s article in the march 2012 issue of Stocks & Comodities, “Introducing SwamiCharts,” is provided at www.TradersEdgeSystems.com/traderstips.htm.
Note that I did not attempt to replicate the SwamiCharts as displayed in Ehlers & Way’s article mainly because I am not a discretionary trader but rather focus on mechanical systems. I wanted to take the concept of multiple parameter sets for an indicator and see how this concept could be used in a trading system.
I decided to try a long-term trend-following system trading the NASDAQ 100 list of stocks using moving averages of various lengths. I created an indicator that uses five simple moving average lengths (10, 20, 50, 100, 200). If the close is above the moving average, then it gets a value of +1; otherwise, it gets a value of -1. I then simply sum the five values from the different lengths to create the SMA_SWAMI indicator. I then created a system with the indicator by entering long when the indicator is greater than or equal to 4 and exit when it drops to less than -4. I didn’t test the short side of the system, only the buy side. The code to test the short side is provided but was not tested.

!Authors: John Ehlers and Ric Way, TASC March 2012
!System author: Richard Denning 1/15/2012
!Coded by: Richard Denning 1/15/2012
!www.TradersEdgeSystems.com
!INPUTS:
buyLvl is 4.
exitBuyLvl is -4.
sellLvl is -3.
exitSellLvl is 0.
C is [close].
sma10 is simpleavg(C,10).
sma20 is simpleavg(C,20).
sma50 is simpleavg(C,50).
sma100 is simpleavg(C,100).
sma200 is simpleavg(C,200).
sig10 is iff(C > sma10,1,-1).
sig20 is iff(C > sma20,1,-1).
sig50 is iff(C > sma50,1,-1).
sig100 is iff(C > sma100,1,-1).
sig200 is iff(C > sma200,1,-1).
SMA_SWAMI is sig10 + sig20 + sig50 + sig100 + sig200.
BarsAbove is countof(C > sma10,20).
buy if SMA_SWAMI >= buyLvl and valrule(SMA_SWAMI < buyLvl,1).
exitBuy if SMA_SWAMI < exitBuyLvl.
sell if SMA_SWAMI <= sellLvl.
exitSell if SMA_SWAMI > exitSellLvl.
This email address is being protected from spambots. You need JavaScript enabled to view it.
for AIQ Systems
AIQ client portal pages
We’re trying to make things simpler! AIQ has now launched client portal pages with commonly requested items and information specifically orientated to your service with AIQ. These are accessible from the AIQ Home page from the Client Portal section on the left.
For example, TradingExpert Pro lease clients can
We have also combined all AIQ educational products, software products, data products and add on products into a simplified store front.
AIQ store can be accessed from the AIQ home page or click here
Existing client portals
TradingExpert Pro lease clients
OptionExpert clients
TradingExpert clients
In the next few weeks we will be adding more content to these portals.
Time Tested Trading Tips, February 20.
Steve Palmquist.Author of ‘The Timely Trades Letter’. ‘How to Take Money from the Markets’, and Money-Making Candlestick Patterns.
Trading should be data driven, not based on emotion, whishful thinking, or hot tips from TV hosts. To be data driven one needs to test and analyze trading tools and find out what really works, and when each tool should be used. Traders must understand which tool to use for a specific task, and have a clear understanding of how the tool works, and what can and cannot be done with it. I have extensively tested several trading systems, the results of this testing on specific trading trading tools are outlined in ‘How to Take Money from the Markets’, and Money-Making Candlestick Patterns. The testing process helps us understand how stocks usually behave after forming a specific pattern such as being outside the Bollinger Bands, showing strong distribution or accumulation, or pulling back or retracing during a trend. Understanding what a stock is most likely to do forms the beginning of a trading strategy. Trading without this information is taking unknown risks.
An Excerpt From the Timely Trades Letter…
We saw nice moves in a number of the swing trading setups from the last Letter including AAPL, AAP, TSCO, ULTA, PVX, VOXX, and AWK. Most of the setups rose above their trigger points and kept moving up into their next resistance areas, thus providing nice profitable moves. I followed the standard prioritization process outlined in previous Letters for selecting the trades I wanted to enter. I took profits on trades as they approached their upper Bollinger Band. The market is moving and so are our setups, nice week.
As noted in previous Letters one of the the sweet spots for holding swing trades is three to five days. A number of systems show interesting results just using a time stop and exiting after three to five days. The rule I use is to have a good reason to hold after three days. When the market is bullish there are often good reasons to hold such as more room to run to the next resistance area, not very extended above the fifty day moving average, moving on strong volume, etc. If its is not clear that there is a good reason to hold, then I happily take profits and move on to the next pattern that is breaking out and just starting its run. I am not trying to hold on for the last dime in every position, there is no way to do that consistently. I am trading patterns, not stocks. When a setup moves and becomes extended I would rather ride a fresh horse than one that has been running for awhile and may be tired.


