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

Real author: Andrey Mishustin

The Expert Advisor calculates the maximum lot size that can be used to open a position using the entire free margin available on the deposit. The calculated value is displayed in the upper right chart corner by default.

This Expert Advisor was first implemented in MQL4 and published in Code Base at mql4.com on 21.06.2012.


Expert Advisor input parameters:

//+------------------------------------------------+ 
//|  Expert Advisor input parameters               |
//+------------------------------------------------+ 
input ENUM_POSITION_TYPE PosType=POSITION_TYPE_BUY;    // Position type
//---- indicator display settings
input string Symbols_Sirname="MAX_LOT_Label_";         // Name for the indicator labels
input color IndName_Color=clrMediumSlateBlue;          // Indicator color
input uint Font_Size=15;                               // Indicator font size
input uint X_=15;                                      // Horizontal offset
input int Y_=15;                                       // Vertical offset
input ENUM_BASE_CORNER  WhatCorner=CORNER_RIGHT_UPPER; // Display corner
//+------------------------------------------------+

Fig1. The EXP_MAX_LOT EA on the chart

Fig1. The EXP_MAX_LOT EA on the chart

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

OpenBuySellStopLimitOrders OpenBuySellStopLimitOrders

A script for placing two Buy Stop Limit and Sell Stop Limit orders at an equal distance.

OpenSellStopLimitOrder OpenSellStopLimitOrder

A script for placing a SellStop Limit order.

Para_B_HTF Para_B_HTF

Ten 'Parabolic Stop and Reverse system' indicators in one window

MAX_LOT MAX_LOT

The script calculates the maximum lot size that can be used to open a position using the entire free margin available on the deposit.