거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
3872
평가:
(15)
게시됨:
2018.10.25 15:50
업데이트됨:
2023.03.29 13:48
\MQL5\Include\ \MQL5\Indicators\
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The trading system based on TrendManager indicator signals with the possibility to set a fixed position holding time. The trade signal is formed when a bar is closing if the color of the indicator bar has changed or it has appeared after an absence. Once position holding time exceeds a preset fixed limit, the position will be closed immediately:

input bool   TimeTrade=true;      //Enabling position exit by time
input uint   nTime=12000;         //Open position holding time in minutes

For the generated EA to operate correctly, the compiled TrendManager.ex5 indicator file should be available in the <terminal_data_directory>\MQL5\Indicators folder.

Note that library file TradeAlgorithms.mqh is designed for using EAs with the brokers that offer a nonzero spread and a possibility to set Stop Loss and Take Profit simultaneously with opening a position. You can download the other versions of this library at Trade Algorithms.

Default Expert Advisor's input parameters with stops have been used during tests shown below.

Fig. 1. Examples of trades on the chart

Fig. 1. Examples of trades on the chart

Testing results for GBPJPY H4 over the year 2017:

Fig. 2. Test results chart

Fig. 2. Test results chart

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

SSL_NRTR SSL_NRTR

NRTR type trend indicator based on exiting the channel formed by averaging High and Low of the price series

TP SL Trailing TP SL Trailing

Stop loss and take profit initial setting. Trailing.

Iin_MA_Signal_Candle Iin_MA_Signal_Candle

Iin_MA_Signal indicator displaying the current trend using candles color

Previous Candle Breakdown 2 Previous Candle Breakdown 2

"Previous Candle Breakdown" Expert Advisor.