Join our fan page
- Views:
- 2720
- Rating:
- Published:
- 2018.12.18 19:18
- Updated:
- 2023.03.29 13:48
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The trading system based on the signals of the XWPR_Histogram_Vol indicator. The signal is formed when a bar is closing if there is breakthrough of an overbought/oversold level. Since there are two levels, each of the levels has its own position with its own magic number and size for a breakthrough:
input uint Magic1=555; //Magic number for normal signal orders input uint Magic2=777; //Magic number for strong signal orders input double MM1=0.1; //Share of financial resources from the deposit in a trade (normal signal) input double MM2=0.2; //Share of financial resources from the deposit in a trade (strong signal)
For the generated EA to operate correctly, the compiled XWPR_Histogram_Vol.ex5 indicator file should be available in the <terminal_data_directory>\MQL5\Indicators folder.
Default Expert Advisor's input parameters have been used during tests shown below. Stop Loss and Take Profit have not been used during the tests.
Fig. 1. Examples of trades on the chart
Testing results for 2017 on EURJPY H4:
Fig. 2. Test results chart
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22480

The trading system based on XWPR_Histogram_Vol_Direct indicator signals

Two identical trading systems (for long and short positions) based on the signals of the VortexIndicator indicator, which can be configured in different ways within one Expert Advisor

The trading system based on TimeZonePivotsOpenSystem indicator signals with the possibility to set a fixed position holding time

The trading system based on Hans_Indicator_Cloud_System indicator signals with the possibility to set a fixed position holding time