당사 팬 페이지에 가입하십시오
- 조회수:
- 6094
- 평가:
- 게시됨:
- 2013.02.27 13:19
- 업데이트됨:
- 2016.11.22 07:32
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The Expert Advisor to perform global Take Profit for all open positions. It closes all positions, if current positions' profit exceeds the maximum fixed level in MaxProfit input parameter of the Expert Advisor.
When the condition of exceeding the specified profit is performed on all open positions, the Expert Advisor saves the information about this fact into terminal global variable and only after that on the basis of this information exits all open positions.
Why so and not directly on the signal? The thing is that the process of closing positions requires several time and that is why it can be interrupted in real life due to any reason. In this situation the Expert Advisor closes positions in any situation by the fact of exceeding the surplus. As all positions are closed, terminal global variable will be deleted!
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/1539

The Expert Advisor to perform global Stop Loss on all open positions

Show minutes and seconds left before new candle is appeared.

The simplest semaphore signal indicator based on different period Moving Averages

The fractal adaptive Moving Average by John Ehlers. Version 1.1 7/17/2006