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

The Expert Advisor increases the volume of an open position if profit in points from the last trade increases a threshold fixed in the EA inputs.

The data on addings are stored in a string comment to a position in the following format: number of addings/last trade price/last trade volume.

Trades are made when a new bar appears.

//+----------------------------------------------+
//| Input parameters of the EA indicator         |
//+----------------------------------------------+
input double MM=0.1; //Share of a deposit in an added deal
input MarginMode MMMode=LOT; //lot value detection method
input uint OldProfit=300; //profit of a previous trade in points for adding
input uint PosTotal=10; //number of added trades
input uint StopLoss_=1000; //stop loss in points
input uint TakeProfit_=2000; //take profit in points
input int Deviation_=10; //max price deviation in points
//+----------------------------------------------+

Fig. 1. Examples of trades on the chart

Fig. 1. Examples of trades on the chart

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

Exp_TralingStop Exp_TralingStop

The Expert Advisor moves a stop loss to a predefined fixed distance from the current price.

Scalpel EA Scalpel EA

Scalpel EA for MetaTrader 5

Waddah_Attar_Trend_Alert Waddah_Attar_Trend_Alert

Waddah_Attar_Trend indicator features alerts, emails and push notifications.

EMA CROSS EMA CROSS

Crossing of the two iMAs.