Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2010.01.06 16:13

Accelerator Oscillator (AC) - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 46

Price is the latest element to change. Prior to price changes, the market driving force changes its direction, the driving force acceleration must slow down and reach zero. After that it starts accelerating in the opposite direction until price starts changing its direction.

Acceleration/Deceleration technical indicator (AC) measures acceleration and deceleration of the current driving force. This indicator will change direction before any changes in the driving force, which will change its direction before the price. If you realize that Acceleration/Deceleration is a signal of an earlier warning, it gives you evident advantages.

The zero line is basically the spot where the driving force is at balance with the acceleration. If Acceleration/Deceleration is higher than zero, then it is usually easier for the acceleration to continue the upward movement (and vice versa in cases when it is below zero). Unlike in case with Awesome Oscillator, it is not regarded as a signal when the zero line is crossed. The only thing that needs to be done to control the market and make decisions is to watch for changes in color. Remember: Do not buy with the help of Acceleration/Deceleration, when the current column is colored red, and do not sell, when the current column is colored green.

If you enter the market in the direction of the driving force (the indicator is higher than zero, when buying, or it is lower than zero, when selling), then you need only two green columns to buy (two red columns to sell). If the driving force is directed against the position to be opened (indicator below zero for buying, or higher than zero for selling), a confirmation is needed, hence, an additional column is required. In this case the indicator is to show three red columns over the zero line for a short position and three green columns below the zero line for a long position.


AC bar chart is the difference between the value of 5/34 of the driving force bar chart and 5-period simple moving average, taken from that bar chart.



AC = AO - SMA (AO, 5)


  • MEDIAN PRICE - median price;
  • HIGH - the highest price of the bar;
  • LOW - the lowest price of the bar;
  • SMA - Simple Moving Average;
  • AO - Awesome Oscillator.

Translated from Russian by MetaQuotes Software Corp.
Original code:

MACD Signals MACD Signals

Indicator edition for new platform.

NUp1Down NUp1Down

Strategy: N bars up and one bar down. Trailing. Lot calculation based on the risk value as a percentage of free margin.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Class CalcFrac - Number of bars before and after the current High / Low (calculated fractal) Class CalcFrac - Number of bars before and after the current High / Low (calculated fractal)

Calculates fractals and lets you specify the number of bars separately before and after the current High / Low (fractal).