당사 팬 페이지에 가입하십시오
BreakOut15 - MetaTrader 5용 expert
- 게시자:
- Vladimir Karputov
- 조회수:
- 5260
- 평가:
- 게시됨:
- 2018.07.09 10:29
- 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Idea by: Scriptor.
MQL5 code by: Vladimir Karputov.
As soon as a signal appears to open BUY or SELL, a price level will be defined. As soon as the price crosses this price level, a new position will be opened.
- Signal to open BUY: MA Fast on bar #0 > MA Slow on bar #0;
- Signal to open SELL: MA Fast on bar #0 < MA Slow on bar #0.
When defining a signal, the working time range is re-checked (if only Start Hour and Stop Hour are not equal to "-1").
Positions are closed by the opposite signal. If parameter Friday Close Hour is not equal to "-1", your positions will be closed forcedly at Friday Close Hour on Friday.
Inputs
- Working timeframe - timeframe to calculate the indicators;
- Stop Loss - stop loss ("0" disables the parameter);
- Take Profit - take profit ("0" disables the parameter);
- Trailing Stop - trailing ("0" disables the parameter);
- Trailing Step - trailing step.
- Start Hour - starting the time range (hours); "-1" disables BOTH parameters: Start Hour and Stop Hour;
- Stop Hour - ending the time range (hours), "-1" disables BOTH parameters: Start Hour and Stop Hour;
- Friday Close Hour - closing on Friday (hours), "-1" disables the parameter;
- BreakOut Level - break-out level;
- Lots - lot size is constant, parameter Risk having to be equal to "0";
- Risk - lot size is dynamic, in risk percents per trade, parameter Lots having to be equal to "0";
- magic number - unique identifier for the EA.
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/17057
Working with indicator iMA (Moving Average, MA) with a rigidly defined timeframe: D1.
MACD Stochastic 2iMACD (Moving Average Convergence/Divergence, MACD) with adjustable timeframes and a Stochastic of the current timeframe.
A trading system that only trades on resverse and from Thursday to Friday only.
EES HedgerThis utility tracks positions opened manually or by another EA for the current symbol and opens an opposite position. Opening the positions is tracked in OnTradeTransaction.