당사 팬 페이지에 가입하십시오
- 게시자:
- Vladimir Karputov
- 조회수:
- 4199
- 평가:
- 게시됨:
- 2017.03.02 10:00
- 업데이트됨:
- 2018.02.15 17:51
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Trading by Moving Average. Checking for sufficiency of funds.
Author of the idea is Konstantin Grand, author of the MQL5 code is barabashkakvn.
Operation Principle:
Performance result on EURUSD, M30 from 2016.05.08 to 2016.12.28:
Also, before each operation, we should check if we have sufficient funds:
double chek_volime_lot=m_trade.CheckVolume(m_symbol.Name(),1.0,m_symbol.Bid(),ORDER_TYPE_SELL);
...
//--- check volume before OrderSend to avoid "not enough money" error (CTrade)
double chek_volime_lot=m_trade.CheckVolume(m_symbol.Name(),1.0,m_symbol.Ask(),ORDER_TYPE_BUY);
This protection allows avoiding the "not enough money" error.
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/17288
![RSI EA](https://c.mql5.com/i/code/expert.png)
RSI EA - trading based on overbought/oversold zones determined by the iRSI (Relative Strength Index, RSI) indicator.
![Money Fixed Margin](https://c.mql5.com/i/code/expert.png)
An example for calculating the lot value with a fixed margin level. That is, if you specify 10%, a position with the margin equal to 10% of free margin will be opened.
![e-TurboFx](https://c.mql5.com/i/code/expert.png)
Analysis of bars, if they contain N consecutive bars of the same type.
![Waddah Attar Win](https://c.mql5.com/i/code/expert.png)
Pending Buy Limit (BuyLimit) and Sell Limit (SellLimit) orders. Using OnTradeTransaction().