당사 팬 페이지에 가입하십시오
- 게시자:
- Vladimir Karputov
- 조회수:
- 4149
- 평가:
- 게시됨:
- 2018.06.18 10:32
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Idea by: Alex.
MQL5 code by: Vladimir Karputov.
The EA trades on several candlestick patterns. For positions BUY and SELL, there must be the separate settings of Take Profit, Stop Loss, and Trailing. There must not be no more than one position in the market, so the EA can run on both hedging and netting accounts.
Along with determining the patterns, there is one setting (Off "Main timeframe") that can enable/disable determining a trend by bar #1 on Main timeframe. An example of how the Off "Main timeframe" setting influences for EURUSD,H1:
Fig. 1. Parameter "Off "Main timeframe"" == true
Fig. 2. Parameter "Off "Main timeframe"" == false
Input parameters
- Stop Loss Buy - Stop Loss for BUY positions;
- Take Profit Buy - Take Profit for BUY positions;
- Trailing Stop Buy - Trailing for BUY positions;
- Stop Loss Sell - Stop Loss for SELL positions;
- Take Profit Sell - Take Profit for SELL positions;
- Trailing Stop Sell - Trailing for SELL positions;
- Trailing Step - trailing step (common for BUY and SELL);
- Lots - position volume, permanent (if the value is above zero, then the "Risk" parameter MUST be equal to zero);
- Risk - the position volume is calculated automatically, in the risk percents (if the value is above zero, then the "Lots" parameter MUST be equal to zero);
- Off "Main timeframe" - disabling parameter "Main timeframe";
- Main timeframe - the main timeframe to determine the trend;
- magic number - unique identifier for the EA.
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/20824
![Night Flat Trade](https://c.mql5.com/i/code/expert.png)
The EA works in the quietest hours (upon closing the American session and before opening the Asian session).
![ASCtrend_NRTR_HTF](https://c.mql5.com/i/code/indicator.png)
Indicator ASCtrend_NRTR with the timeframe selection option available in input parameters, alerting and sending e-mails and push-messages when the indicator changes its color.
![MACD and SAR](https://c.mql5.com/i/code/expert.png)
A trading system based on indicators MACD and SAR. The signal receiving formula is completely optimizable.
![ATR_Normalize_Histogram](https://c.mql5.com/i/code/indicator.png)
A typical oscillator using Average True Range in form of a multicolor histogram.