Rejoignez notre page de fans
- Publié par:
- Vladimir Karputov
- Vues:
- 6062
- Note:
- Publié:
- 2018.10.25 15:55
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Author of the idea: josef strauss
MQL5 code author: barabashkakvn
The EA considers iAMA (Adaptive Moving Average, AMA) and iRSI (Relative Strength Index, RSI) indicators when generating a trading signal. The signal itself is formed in two steps. Let's illustrate this using "Open Buy" signal as an example:
Step 1: RSI should be less than level 30 (set in the RSI Level Down EA parameter). Step 2: Price should overcome AMA indicator. Step Length (distance in bars between Step 1 and 2) is introduced to find the optimal combination of the two indicators.
Martingale
In case of an incoming trading order, request profit for BUY abd SELL positions separately. In case of an incoming trading order:
- "Open Buy"
- if profit on BUY positions is less than 0.0, open two BUY positions
- otherwise, open one BUY position
- "Open Sell"
- if profit on SELL positions is less than 0.0, open two SELL positions
- otherwise, open one SELL position
Managing funds
For a change, I applied the following funds management system here: Profit limit for close all - when reaching a total profit for positions opened by the EA on the symbol, close all positions. In other words, we fix profit.
Remember the trading account balance during the EA launch. As soon as the trading account's current balance exceeds the saved balance by Withdrawal - withdraw the Withdrawal sum and close all positions.
EURUSD, M5:
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/21971
![Basic CCI RSI](https://c.mql5.com/i/code/expert.png)
The trading strategy based on two oscillators: iCCI (Commodity Channel Index, CCI) and iRSI (Relative Strength Index, RSI).
![Exp_XRSI_Histogram_Vol_Direct](https://c.mql5.com/i/code/expert.png)
The trading system based on XRSI_Histogram_Vol_Direct indicator signals
![Iin_MA_Signal_NRTR](https://c.mql5.com/i/code/indicator.png)
Iin_MA_Signal indicator in NRTR form
![Exp_Iin_MA_Signal_MMRec](https://c.mql5.com/i/code/expert.png)
The trading system based on the Iin_MA_Signal indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system