MetaStock™ Zone Tworzenie Sytemów Trader Shop Forum & FAQ Artykuły Linki Elliott Waves EasyLanguage™ Zone

 

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 one or both of the indicators in conjunction with other analytical techniques, such as trendlines, to identify trading opportunities on your charts.

The first indicator, the Adx/MovAvg Combo, is a relatively simple indicator based on 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;

 

t-i-ADX_MovAvg_Combo.gif
Source / From: TOP
http://www.traders.com

Ten i inne materiały na tej stronie zostały zamieszczone zostały jedynie w celach edukacyjnych, nie ponoszę żadnej odpowiedzialno¶ci za ich stosowanie.

Gra na giełdzie niesie ze sob± ryzyko poważnych strat finansowych!