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

Exp_BrainTrend2_AbsolutelyNoLagLwma_MMRec - MetaTrader 5용 expert

조회수:
4117
평가:
(14)
게시됨:
2018.07.13 16:10
\MQL5\Include\ \MQL5\Indicators\
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Two independent trading systems using indicators BrainTrend2 and AbsolutelyNoLagLWMA within one EA, with an option of changing the size of the future trade depending on the results of the previous ones for this trading system Signals to open trades by trading systems are formed when a bar is closing, if the trend has changed, displayed through changing the color of any of those two indicators.

To manage the volumes of the positions to be opened, the blocks of the EA inputs were added. For example, in the system using indicator BrainTrend2_V2:

input uint    A_BuyLossMMTriger=2;  //A number of losing Buy positions to reduce MM
input uint    A_SellLossMMTriger=2; //A number of losing Sell positions to reduce MM
input double  A_SmallMM=0.01;       //A Share of the deposit in a deal, when losing
input double  A_MM=0.1;             //A Share of the deposit in a deal for normal trading

With such inputs and if there are two last trades within the same trading direction, the EA will open the next trade in the same direction with the lot size of as little as 0.01. Should at least one of two last trades be non-losing, then the position volume will be 0.1.

Inputs for the trading system using AbsolutelyNoLagLwma are absolutely the same:

input uint    B_BuyLossMMTriger=2;  //B number of losing Buy positions to reduce MM
input uint    B_SellLossMMTriger=2; //B number of losing Sell positions to reduce MM
input double  B_SmallMM=0.01;       //B Share of the deposit in a deal, when losing
input double  B_MM=0.01;            //B Share of the deposit in a deal, when losing

For the generated EA to operate correctly, the compiled files of indicators BrainTrend2_V2.ex5 and AbsolutelyNoLagLwma.ex5 must be in the <terminal_data_directory>\MQL5\Indicators folder.

In testing shown below, the EA's default inputs were used with stops.

Fig 1. Exemplary trades in the chart

Fig 1. Exemplary trades in the chart

Test results for GBPJPY H6 over the year 2016:

Fig. 2. Testing results chart

Fig. 2. Testing results chart

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

Virtual Trailing Stop Virtual Trailing Stop

Virtual Trailing Stop.

Exp_SilverTrend_ColorJFatl_Digit_MMRec Exp_SilverTrend_ColorJFatl_Digit_MMRec

Two independent trading systems using indicators SilverTrend_V2 and ColorJFatl_Digit within one EA, with an option of changing the size of the future trade depending on the results of the previous ones for this trading system.

DEMA_Range_Channel DEMA_Range_Channel

A channel formed by two Double Exponential Moving Averages based on averaged High and Low timeseries

3 Rules MACD 3 Rules MACD

Traditional MACD made stronger with 3 additional rules/filters.