거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
5627
평가:
(29)
게시됨:
2017.03.02 11:57
업데이트됨:
2018.02.15 17:36
New Martin.mq5 (45.72 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The Expert Advisor only works on accounts with hedging! (Read here about the hedging option: MetaTrader 5 now features hedging option)

Inspired by "Martin damped" (in Russian).

The New Martin Expert Advisor opens two opposite positions upon start. OnTradeTransaction handling. When Take Profit triggers, it opens a position (one position) in the same direction. The intersection of two MA indicators is a signal to open a position of a larger lot.

Open two opposite positions at start

Then wait for the activation of TakeProfit (processing of trading transactions in OnTradeTransaction):

  • If a BUY position was closed, open (no only one) BUY position
  • If a Sell position was closed, open (no only one) Sell position

New Martin algorithm

Then we have a losing position

How to eliminate it: waiting for the intersection of two MAs.

New Martin crossing

And open a position with an increased lot in the direction of the losing position.

The balance increases while equity does not grow

The method used: "Loss percent" (difference between equity and balance) is configured in the EA's inputs. It is calculated as follows:

New Martin formula


 

 

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

TDI-2_Cloud_HTF TDI-2_Cloud_HTF

The TDI-2 indicator with the timeframe selection option available in input parameters.

NRTR_Gator_HTF NRTR_Gator_HTF

The NRTR_Gator indicator with the timeframe selection option available in the input parameters.

SilverTrend v3 SilverTrend v3

SilverTrend v3 - trading based on the analysis of the High, Low and Close prices of bars.

aChartsAndMW5Class aChartsAndMW5Class

The class allows to easily determine from your MQL5 programs any changes in the Market Watch window (change of symbol sorting, adding, deleting a symbol or a set of symbols), as well as opening and closure of charts, and the availability of the one click trading option on the current chart, on which the program is running.