Rejoignez notre page de fans
- Vues:
- 3899
- Note:
- Publié:
- 2018.06.18 12:33
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Indicator BrainTrend2 that generates alerts and sends e-mails and Push-messages when the indicator changes its color. Candlesticks with the trend are colored brightly, and those against the trend are colored darkly.
//+----------------------------------------------+ //| Indicator input parameters | //+----------------------------------------------+ input uint ATR_Period=7; input uint NumberofBar=1; // Bar number for the signal input bool SoundON=true; // Enable alerts input uint NumberofAlerts=2; // Number of alerts input bool EMailON=false; // Enable mailing the signal input bool PushON=false; // Enable sending the signal to mobile devices
Fig.1. Indicator BrainTrend2_V2
Fig.2. Alerting
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/20838

Positions are opened pseudorandomly. In case of loss (closing by Stop Loss and negative profit), Martingale is applied.

The inverted chart of the current financial instrument, displaying Ask and Bid price levels.

Indicator BrainTrend2Stop with the timeframe selection option available in input parameters.

Working with pending orders Buy Stop and Sell Stop. A channel of two indicators iMA (Moving Average, MA).