Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 21362
- Rating:
- Published:
- 2013.05.24 09:17
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator specifies on trend and lateral movements of the price.
The description of adjustments:
- period_fast - Period of averaging for calculation fast sliding average;
- period_slow - Period of averaging for calculation slow sliding average;
- ma_shift - Shift of the indicator concerning the price diagram;
- ma_method - Method of averaging.
Can be any of meanings(importance) of methods sliding average (Moving Average)
- 0 - (SMA) Simple sliding average.
- 1 - (EMA) sliding average. SMMA
- 2 - (SMMA) Smoothed sliding average. LWMA
- 3 - (LWMA) Linearly - is weighed sliding average.
applied_price - Used price. There can be any of price constants:
- 0 - (CLOSE) the Price of closing.
- 1 - (OPEN) the Price of opening.
- 2 - (HIGH) a Ceiling price.
- 3 - (LOW) a floor Price.
- 4 - (MEDIAN) the Average price, (high+low) /2.
- 5 - (TYPICAL) the Typical price, (high+low+close) /3.
- 6 - (WEIGHTED) the Weighed price of closing, (high+low+close+close) /4.

The moving average that divides the prices for classes. The classes with extreme price get bigger weight (importance)

Drag and drop wave counts.

I wrote a new indicator to find the range bound period, then we can place order when the price break the range bound.
![[EA] - Charles-1.3.7](https://c.mql5.com/i/code/expert.png)
Improvements to the previous version.