Home
    Product
    Support
    Purchase
    Company

Advanced trading software with proprietary analytics and artificial intelligence

Support Center
Publications
Tradecision FAQs
Improvian Consulting
Contact Support Team
Knowledgebase
Collection of Indicators
Custom Indicators
Custom Studies
TASC Traders' Tips
Active Trader Strategies
Golden Trading Rules
Trader’s Quiz

Custom Indicators
Name: Modeling the Market = Building Trading Strategies
Description:

In his article “Modeling the Market = Building Trading Strategies”, John F. Ehlers illustrates the value of modeling the market while developing comprehensive trading strategies. By using the Tradecision Indicator Builder, one can create the Cyclic Component, Instantaneous Trendline, and Market Model indicators and use them to build trading strategies that combine the techniques with other indicator-based and money-management rules.

Note: You can use the Tradecision Optimization wizard to find the best parameters for your trading system.   

The following is the code for the above indicators.
 
Cyclic Component

Input
     Price: "Price", (H + l) / 2;
     Length: "Length", 20;
end_input

var
   Alpha := (1 – Sin (360 / Length)) / Cos (360 / Length);
   HP := 0;
   SmoothHP := 0;
end_var

if (HistorySize > 1) then
   HP := 0.5 * (1 + alpha) * (Price - Price\1\) + Alpha * HP\1\;
else
   HP := 0;

if (HistorySize + 1) < 4 then
   SmoothHP := Price - Price\1\;
else
   SmoothHP := (HP + 2 * HP\1\ + 2 * HP\2\ + HP\3\) / 6;
     
if HistorySize = 0 then
   SmoothHP := 0;

return SmoothHP;

Instantaneous Trendline

Input
     Price: "Price", (H + l) / 2;
     Length: "Length", 20;
end_input

var
   SMA := SMA(Price, Length);
   Slope := Price - Price\Length - 1\;
   SmoothSlope := (Slope + 2 * Slope\1\ + 2 * Slope\2\ + Slope\3\) / 6;
   ITrend := SMA + 0.5 * SmoothSlope;
end_var

return ITrend;

Market Model

Input
     Price: "Price",(H +l) /2 ;
     Length: "Length", 20;
end_input

var
   Sma := SMA(Price, Length);
   Slope := Price - Price\Length - 1\;
   SmoothSlope := (Slope + 2 * Slope\1\ + 2 * Slope\2\ + Slope\3\) / 6;
   ITrend := SMA + 0.5 * SmoothSlope;
   Alpha := (1 - Sin(360 / Length)) / Cos(360 / Length);
   HP := 0;
   SmoothHP := 0;
end_var

 

if (HistorySize > 1) then
   HP := 0.5 * (1 + alpha) * (Price - Price\1\) + Alpha * HP\1\;
else
   HP := 0;

if (HistorySize + 1) < 4 then
   SmoothHP := Price - Price\1\;
else
   SmoothHP := (HP + 2 * HP\1\ + 2 * HP\2\ + HP\3\) / 6;
     
if HistorySize = 0 then
   SmoothHP := 0;

return ITrend + SmoothHP;



Function Name:


Cyclic Component ()

Instantaneous Trendline ()

Market Model ()

 



Download to import into Tradecision.

How to use this indicator in Tradecision:
  1. Click Download.
  2. Save this indicator in a safe location on your hard drive.
  3. Open Tradecision and in the Tools menu click Indicator Builder.
  4. In the Indicator Builder dialog, click Import, locate the saved file and then click OK.
The indicator will be added to the Custom Indicators list.
 
Empirical Mode Decomposition
The 350 Swing Trade
The Vortex Indicator
Making The Most Of A Trend With The Disparity Index
A Seasonal System For Soybean Futures
Volume-Weighted Macd Histogram
Pivot Detector Oscillator, Simplified
Combining DMI and Moving Average for a EUR/USD trading system
Trailing Resistance &nd Support Stops
Average True Range Trailing Stops
Using Initial Stop Methods
Profit With High Relative Strength Mutual Funds
Trading Trendline Breaks, part 2
Building A Trading Template
Volume Price Confirmation Indicator
Rectangles
Trongone moving average (TMA)
Adjusted Rate of Change
MA crossovers, part 2
MA crossovers
The Fourier indicator
Stochastics with Long Term EMA filter strategy
Active Trendline Indicator
Relative Spread Strength Indicator
Trading With An Adaptive Price Zone
Modeling the Market = Building Trading Strategies
The Wilson Relative Price Channels
Harnessing The (Mis)Behavior Of Markets
Cross-Market Evaluations with Normalized Average True Range
The Average Peak Excursion
Trading Trends With Bollinger Bands Z (BBZ)
The Self-Adjusted RSI
Swiss Army Knife Indicator
Directional Down
Directional Up
Volatility Profit Indicator
Volatility Trailing Stop Indicator
Trend Trigger Factor
TRsV
Normalized RSI with IFT
Linear Regression Reversal Indicator
Bull and Bear Balance Indicator
Regularized EMA
FVE - lin reg slope
Laguerre Filter
Laguerre RSI
Deviation Oscillator
Average True Range Bands HA line
Average True Range Bands LA line
Elastic Volume Weighted Moving Average
Standard Deviation Bands H line
Standard Deviation Bands L line
Ehlers Filters
Buff Up Your Moving Averages
Balance of Market Power
Breakout Range 2
TargetPrice
Modified Moving Average
Stochastics D
Stochastics K
Tradecision Reviews
Video Tours
Discussion Boards
Chat with a live Rep
Ask a question
(510) 931 7808

Site Map   |   Terms of Use   |   Privacy Policy   |   Risk Warning
Forex, equities or futures trading involves substantial risk of loss and is not suitable for all investors.
Copyright © 2001-2010 Alyuda Research.  All rights reserved