Adaptive lookback indicators - page 128

To add comments, please log in or register
FX_ Hedge
39
FX_ Hedge  
iandm80:

Hi,

Anyone who can help me with this indi? Can we make it MTF?

Than

Page 126 / Post #1251   Anyone see this request yet?
Sergey Golubev
Moderator
105218
Sergey Golubev  

Some good indicators were posted today:

------------------

And this is whole the story - 

Forum on trading, automated trading systems and testing trading strategies

Advanced links/threads/tools

Sergey Golubev, 2012.09.05 13:45

Adaptive lookback indicators

Of adaptive lookback

The Adaptive Lookback (period finder) is truly a market-driven indicator used to determine the variable lookback period for many different indicators, instead of a traditional, fixed figure.

It is based on the frequency of market swings - the time between swing highs or swing lows. A swing high is defined as two consecutive higher highs followed by two consecutive lower highs; a swing low is defined by two consecutive lower lows followed by two consecutive higher lows. As swing points typically accompany reversals, they occur more frequently in choppier and volatile markets than in trends.

Adaptive lookback period is determined as :

  1. Determine the initial number of swing points (swingCount parameter) to use in the calculation.
  2. Count the number of price bars it takes for thenswing points to form.
  3. Divide step 2 by step 1 and round the result.

Interpretation

This makes the variable lookback period grow in calm or trending markets, and shorten in range-bound and volatile markets. For a trend-following system you would like the opposite to prevent being whipsawed, therefore this indicator and it's usage as a period modifier is more suitable for short-term traders and counter-trend systems (so, in all systems where maximal speed of reaction and signaling is required).

Experiment with applying the adaptive lookback period to different indicators and you'll see how more responsive they become in volatile markets. Some of the experiments are going to be posted on this thread with immediate comparison to "non-adaptive" counterparts

Forum threads

  • Key thread with indicators (for MT4 and MT5):
    - lb - swing points indicator for MT4 -the post: the basic indicator (simply showing swing points). You will notice that it draws the "peak" with 2 bars displacement. That is done in   order to avoid any any kind of repainting (no lag is added to swing points finding thought);
    - alb - periods indicator for MT4 -the post: he "next step" : periods already calculated;
    - alb - RSI indicator for MT4 -the post: RSI made adaptive with a help of alb period finder;
    - alb - swing points indicator for MT5 -the post;
    - alb - periods indicator for MT5 -the post;
    - alb - RSI indicator for MT5 - the post;
    - alb - stochastic and alb_speed - stochastic indicators for MT5 -the post;
    - alb - stochastic for MT4 -the post;
    - Adaptive lookback moving average indicator for MT4 -the post;
    - Adaptive lookback moving average indicator for MT5 -the post;
    - speed version of alb indicators for MT5 -the post;
    - alb - TriangularMA price zone for MT4 -the post;
    - and much more indicators such as alb TriangularMA price zone mtf & alerts_v2c, alb - cci ds jurik, alb - wpr ds jurik, alb Phase Change Index on jurik indicator, Adaptive lookback TMA, zig zag swing, adaptive Gann High-Low activator jma Heiken Ashi arrows using Hilbert Transform, adaptive Gann High-Low activator jma Heiken Ashi arrows-1 indicator, Gann high low activator - Jurik smoothed- mtf indicator for Metatrader 5, Gann high low activator - Jurik smoothed channel - mtf indicator for Metatrader 5, adaptive Smoothed RSI, alb NonLagMA, NonLag ma indicator for Metatrader 5, NonLag ma - mtf & alerts indicator for MT5, Adaptive Macd color mtf-alerts-arrows indicator, and so on -the thread

The articles

CodeBase

============


Jox90
559
Jox90  

I have a question for programmers of this thread:

Since many fractals count in the lookback period mean price is ranging, would it be possible to build an indicator that can detect ranging markets using adaptive lookback??

Donnuel
11
Donnuel  
Mladen Rakic:
  • that code is not used in the code posted at this thread
  • regardless of that, removing "extern" is making it fixed (user can not change it from parameter inputs) - that hardly makes it more flexible
  • TIMEFRAME is user defined (ie: not mql reserved word - you were probably using some code that become non-compatible when new mt4 builds were launched). ENUM_TIMEFRAMES is something completely different

Hi Mladen.
Please could you convert this BAT atr trailing stop indicator to a trailing stop EA . the trailing stop should be based on the same logic of this attached BAT atr stop indicator but the trailing stop should be hidden.
Other features are:

..hidden trailing stop loss that is "1 spread"away from BAT atr stop indicator trailing line.
..Trailing start point
...Fixed Hard stop loss/Broker's stop loss
..Breakeven point + break even profit. ..(Here the broker's stop loss is brought to break even plus specified amount of pips.
 It should manage all trades in the same chart   symbol. 

Thanks a lot
Files:
To add comments, please log in or register