Автор:
Разместил:   Дата: 2005-09-09 09:27
Комментарии: (0)   Рейтинг:

ADX / MovAvg Combo by Daniel Chesler

Here are two indicators to assist readers in identifying some of the classic chart patterns, as discussed in Daniel Chesler's 'Identifying significant chart formations' elsewhere in this issue. Ideally, you will use o­ne or both of the indicators in conjunction with other analytical techniques, such as trendlines, to identify trading opportunities o­n your charts.

The first indicator, the Adx/MovAvg Combo, is a relatively simple indicator based o­n the average directional movement indicator (ADX) and moving average calculation. This indicator plots a 50-bar moving average and triggers both visual and audio alerts when a conspicuous decrease occurs in the ADX below a specified level, which in this case is 15. The indicator code to be entered in the TradeStation Power Editor follows. Suggestions for the format settings for this indicator are given after the code.

Type: Indicator, Name: ADX / MovAvg Combo

Inputs:
Price(Close),
AvgLen(50),
ADXLen(14),
Level(15);

Vars:
AvgVal(0);
AvgVal = Average(Price, AvgLen);

Plot1(AvgVal, "M_Average");

IF ADX(ADXLen) < Level Then Begin Plot2 (AvgVal, "ADX_Level");
IF CheckAlert Then Alert = True;

End;



 
Реклама:

Rambler's Top100

Страница создана за 0.036 секунды