Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Vues:
7572
Note:
(25)
Publié:
2017.03.02 11:49
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Trading on a new bar only. Trading rules are simple — on the new bar, compare the value of the main line on bar (1) and bar (2):

If MAIN_LINE MACD (1) > MAIN_LINE MACD (2) -> Buy,

If MAIN_LINE MACD (1) < MAIN_LINE MACD (2) -> Sell.

When a signal opposite to open positions is received, close all positions.

 

The code can be seen as a test of the theory: if MACD is greater than the previous value, we can buy. As you can seen, the theory in this form is completely a failure. It requires additional filters and protection of positions. 

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/17425

TDSGlobal TDSGlobal

The Expert Advisor uses the MACD, OsMA and WPR indicators. The Expert Advisor is configured to trade on the D1 timeframe with USDCHF, GBPUSD, USDJPY and EURUSD

Fractal_TRIX_HTF Fractal_TRIX_HTF

The Fractal_TRIX indicator with the timeframe selection option available in the input parameters.

Open Interest Open Interest

The indicator shows t he parameter "Total volume of open positions - SYMBOL_SESSION_INTEREST".

Session Buy Sell Orders Volume Session Buy Sell Orders Volume

A histogram of minimum and maximum values of the following parameters: SYMBOL_SESSION_BUY_ORDERS_VOLUME - "Total current volume of buy orders" and SYMBOL_SESSION_SELL_ORDERS_VOLUME - "Total current volume of sell orders".