Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Indicatori

Four clicks to draw an arc-shaped channel - indicatore per MetaTrader 5

Visualizzazioni:
10055
Valutazioni:
(47)
Pubblicato:
2018.01.22 10:03
Aggiornato:
2018.07.31 13:24
Arc.mq5 (23.49 KB) visualizza
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

This tool is what the standard MetaTrader 5 objects miss. To edit a formed line, click on it (at the edges or in the center of the line) until a dotted line appears. Then move the cursor without pressing a button.

The indicator has a simple animated button. Its size and transparency changes, when the mouse pointer is moved closer to it.

This implementation is mostly a training material and an attempt to inspire MetaTrader 5 developers to add the same functionality to the standard set of MetaTrader 5 objects. It is not implemented as a class. The following features have not been implemented: saving and passing of parameters in case of timeframe switch, multi-channel and smoothing functionality, channel extension to the right of the last bar. A version with full functionality can be implemented on demand.

This is a cross-platform code, which can also be used in MetaTrader 4. I apologize for not adding comments.

The arc is drawn according to the following formula:

Price = a+b*n+c*n²

where a, b, c are coefficients, and n is the bar number.

In fact, it is a polynomial of degree 2. Three points are enough to calculate the a, b, c coefficients.

Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/19580

ma-shift Puria method ma-shift Puria method

The Expert Advisor is based on Puria method with a few changes. It uses two iMA (Moving Average, MA) indicators and one iMACD (Moving Average Convergence/Divergence, MACD).

Momo_trades Momo_trades

The Expert Advisor trades based on the signals of iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD). The minimum distance between the price and the MA indicator is taken into account.

Dealers Trade v 7.91 ZeroLag MACD Dealers Trade v 7.91 ZeroLag MACD

A further development of code "Dealers Trade v 7.74 MACD" (https://www.mql5.com/en/code/19535). "Zero-lag MACD" (https://www.mql5.com/en/code/170) is used. When the number of positions increases, the following is also increased: step between positions, lot size, take profit (martingale).

DojiTrader DojiTrader

The Expert Advisor trades using the "Japanese Doji Candlestick" pattern.