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

2008.08.21 08:04

Fractal_Level_Xrust - indicator for MetaTrader 4

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

votes: 1

It draws the horizontal lines at the level of the last fractal upwards and downwards.

List of external variables:

extern int TimeFrame=0;//If=0, then the current TF, or TF in minutes, the levels of fractal will be taken from this TF;
extern int Distanse=0;//The distance between the line and the fractal in points, if the value is negative then the shift is inside, if positive - outside;
extern string FrApNam="Ap";//The name of the line that corresponds the fractal upwards;
extern string FrDnNam="Dn";//The name of the line that corresponds the fractal downwards;
extern color ClAp=Blue;//The color of the line that corresonds the fractal upwards;
extern color ClDn=Red;//The color of the line that corresonds the fractal downwards;
extern bool comment=true;//Permission to comment;

The added version, changes:

The separate distances for the top and the bottom line

Removes the lines if the market position appears, the filtration by the magic number is possible.

Translated from Russian by MetaQuotes Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

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.

TP-SL_Removing TP-SL_Removing

Immediately deletes the SL/TP of all positions.

Closed_TOTAL Closed_TOTAL

Total closure of all positions (winners/losers). You can also select which are of a single instrument.