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.06.08 09:24
Scripts

Drag and Drop Support and Resistance "segment lines" with color differentiation - script for MetaTrader 4

| English Español Português 日本語 Deutsch

Views:
17307
Rating:
votes: 5

NEW REVISION:

*********************

DROP_RESISTANCE_SEGMENT_LINE_Rev1 and DROP_SUPPORT_SEGMENT_LINE_Rev1: Both scripts have been revised. With the new revision the scripts will work also when MT4 is not connected to server. The old version could only work when the platform was connected to server.

*********************

If you want to draw several resistance and support lines as a "little segment line", differentiating the color of both types of line. (example, all Resistance Lines: Magenta color // all Support Lines: Blue color) but you don’t want to change the color of the horizontal line using the “properties button”, each time a new line has been created, you can use these scripts:

DROP_RESISTANCE_SEGMENT_LINE.mq4: You just need to drag and drop this script in the place of the chart where you want to draw a resistance line. The horizontal line will be drawn with the color and the width wanted.

DROP_SUPPORT_SEGMENT_LINE.mq4: You just need to drag and drop this script in the place of the chart where you want to draw a support line. The horizontal line will be drawn with the color and the width wanted.

Parameters that you can modify on both scripts:

You can easily change the following parameters by editing the script code:

- Color of the Segment Line.
- Width of the Segment line
- Length of the Segment line.

- Change Segment Line to Ray (full Horizontal Line)

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.

Holt's double exponential smoothing trend Holt's double exponential smoothing trend

Holt's double exponential smoothing - the trend component (mt4 version).

Holt's double exponential smoothing (mt4 version) Holt's double exponential smoothing (mt4 version)

Holt's double exponential smoothing with linear forecasting.