거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

Exp_Skyscraper_Fix_ColorAML_MMRec - MetaTrader 5용 expert

조회수:
2377
평가:
(10)
게시됨:
2018.10.25 18:08
\MQL5\Include\ \MQL5\Indicators\
ColorAML.mq5 (15.22 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Two independent trading systems using Skyscraper_Fix and ColorAML indicators within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system. Trading signals are formed when a bar closes if a trend has changed (which is displayed by any of the two indicators changing its color).

The blocks of input EA variables are added for managing volumes of opened positions. For example, for a system applying the Skyscraper_Fix indicator:

input uint    A_BuyLossMMTriger=2;  //A number of losing Buy deals to reduce MM
input uint    A_SellLossMMTriger=2; //A number of losing Sell deals to reduce MM
input double  A_SmallMM=0.01;       //A share of a deposit in a deal in case of loss
input double  A_MM=0.1;             //A share of a deposit in a deal during normal trading

In case of such inputs and if the last two trades in one direction were loss-making, the EA opens the next trade in the same direction having the volume of 0.01 lot. If at least one of the two last trades is not loss-making, the position volume is 0.1.

The similar inputs are also available for the trading system using ColorAML:

input uint    B_BuyLossMMTriger=2;  //B number of losing Buy deals to reduce MM
input uint    B_SellLossMMTriger=2; //B number of losing Sell deals to reduce MM
input double  B_SmallMM=0.01;       //B share of a deposit in a deal in case of loss
input double  B_MM=0.1;             //B share of a deposit in a deal

For the generated EA to operate correctly, the compiled files of the Skyscraper_Fix.ex5 and ColorAML.ex5 indicators should be present in the <terminal_data_directory>\MQL5\Indicators.

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

Fig. 1. Examples of trades on the chart

Test results for GBPJPY H4 over the year 2016:

Fig. 2. Test results chart

Fig. 2. Test results chart

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/22372

Skyscraper_Fix_Cld_HTF Skyscraper_Fix_Cld_HTF

Skyscraper_Fix_Cld indicator with the timeframe selection option available in input parameters

Breakout_RSI Breakout_RSI

Breakout RSI indicator

Average_True_Range_Bands Average_True_Range_Bands

Average True Range Bands indicator

AhrensMACD AhrensMACD

Ahrens MACD