Traders' Tips from TASC Magazine
Coding Candlesticks (II)
In my article in this issue, "Coding Candlesticks (II)," I continue with a discussion of my method for quantitatively analyzing candlestick charts, a discussion I began in the November 1999 issue of STOCKS & COMMODITIES with my original article, "Coding Candlesticks". My approach is to assign values to each candlestick, so that candlestick charting will lend itself better to analysis with indicators, pattern recognition, and trading systems.
Here is the code for the CandleWeight indicator I discuss in this month's article.
If(CLOSE=OPEN,1,0) * If(Fml("ushd")>=Fml("lshd"),64,-64)+
If(CLOSE=OPEN,0,1) *
If(CLOSE>OPEN,1,-1) * (If(Fml("body")<=Fml("thBot_b"),80,0)
+If(Fml("body")>Fml("ThBot_b") AND Fml("body") <=
Fml(THTop_b"),96,0)+
If(Fml("body")>Fml(ThTop_b"),112,0)) + If(CLOSE>=OPEN,-
4,4)*(If(Fml("Lshd")=0,3,0)+If(Fml("lshd")<Fml("ThBot_l") AND
Fml("lshd")>0,2,0)+
If(Fml("lshd")>Fml("thBot_l") AND Fml("lshd")<=FML("ThTop_l")
AND Fml("lshd")>0,1,0))+If(CLOSE>=OPEN,1,-1)*(
If(Fml("ushd")>0 AND Fml("ushd")<=Fml("ThBot_u"),4,0)+If(
Fml("ushd")>Fml("ThBot_u") AND Fml("ushd")<=
Fml("thTop_u"),8,0)+If(Fml("ushd")>Fml("ThTop_u"),12,0))
Contents
- Affine transformation
- Anticipating Moving Average Crossovers
- At Last! A Trend-Friendly Oscillator
- Average True Range or Standard Deviation
- Balance of Market Power
- Between Price and Volume
- Bollinger Band Targets
- BONUS ISSUE: Mutual Fund Screen
- Boosting Profitability - the AIM Indicator
- Breakout_Range2
- Bridging the Gap, Linking Point & Figure and Bar Charts
- Buff Up Your Moving Averages
- Bull and Bear Balance Indicator
- Candlestick Filtering
- Coding Candlesticks (II)
- Confirming the Price Trend
- Creating Multi-Colored Indicators in MetaStock
- Darvas-Style Trading and Something Darvas
- Deviation Oscillator
- Directional Breakout
- Ehlers Filters
- Elastic Volume Weighted Moving Average
- Finding Key Reversals
- Fisher Transform
- FVE - %b
- FVE - lin reg slope
- FVE - Storz's divergence
- FVE w/ linear regression slope
- High Low Strategy
- High Tech Mesa Adaptive Moving Averages
- Hilbert Indicators Tell You When to Trade
- Holding Overnight Positions
- Hot Zones
- How Smooth is Your Data Smoother
- Ichimoku Charts
- Index of Chart Sentiment
- Laguerre Filter
- Laguerre RSI
- MACD of Relative Strength
- Moving Average Crossovers
- Moving Average: Long on Talk, Sort on Action
- Normalization
- Now's The Time To Trade Crude
- Pivot point Strategy
- Profit with ETFs
- Quicken Your Averages
- Red-Green Strategy
- Refining the Hilbert Indicator
- Regularization
- Relative Performance Charting
- RSI Bands
- Squelch Those Whipsaws
- sRSI - Original
- sRSI - Using Wilders
- Stochastics
- Tandem Studies on Market Movement
- Targeting Your Pattern
- TC 2000 Scans
- The Average Peak Excursion
- The Cocked Gun Revisited
- The Inverse Fisher Transform
- The Self-Adjusting RSI
- The Truth about Volatility
- The Wilson Relative Price Channel
- Thrust Oscillator
- Trade Against the Gap
- Trade Into the Gap
- Trade the Swing Price
- Trend Continuation Factor
- Trend Quality Indicator
- Trend Trigger Factor
- TrendIV & Volume - Buy Signal
- TrendIV & Volume - Sell Signal
- Triggering Your Trading System
- Using Money Flow to Stay with the Trend
- Using Volume to Detect Shifts In Power
- Volatility System
- VWAP for Support and Resistance
- When and When not to Trade