당사 팬 페이지에 가입하십시오
- 게시자:
- Vladimir Karputov
- 조회수:
- 3164
- 평가:
- 게시됨:
- 2018.11.20 12:45
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Author of the idea - Alex
mq5 code author - barabashkakvn
The EA uses iAC (Acceleration/Deceleration, Accelerator/Decelerator Oscillator, AC) indicator. The EA only operates when a new bar appears. The EA opens only one position at a time, therefore it is able to work both on hedging and netting accounts.
Lot is calculated based on the trading history for the last History days (the Maximum Risk in percentage and Descrease factor parameters are used as well).
The EA implements several signals for BUY and SELL (ac[] array here stands for AC indicator values)
BUY signals:
//--- indicator AC go UP if(ac[1]>0.0 && ac[2]>0.0) { //--- check signal BUY if(ac[1]>ac[2] && ac[2]>ac[3]) { *** } *** } //--- indicator AC go DOWN if(ac[1]<0 && ac[2]<0) { //--- check signal BUY if(ac[1]>ac[2] && ac[2]>ac[3] && ac[3]>ac[4]) { *** } *** } //--- indicator AC crosses zero from top to bottom if(ac[1]>0.0 && ac[2]<0.0) { *** } ***
SELL signals:
//--- indicator AC go UP if(ac[1]>0.0 && ac[2]>0.0) { *** //--- check signal SELL if(ac[1]<ac[2] && ac[2]<ac[3] && ac[3]<ac[4]) { *** } //--- indicator AC go DOWN if(ac[1]<0 && ac[2]<0) { *** //--- check signal SELL if(ac[1]<ac[2] && ac[2]<ac[3]) { *** } } *** //--- indicator AC crosses zero bottom up if(ac[1]<0.0 && ac[2]>0.0) { *** }
Example of opening BUY:
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/23086
![InvertBar_Plus](https://c.mql5.com/i/code/indicator.png)
The inverted chart of the current financial instrument, displaying Ask and Bid price levels in the form of colored bars in the additional window
![Time_Bar_Custom_Monthly](https://c.mql5.com/i/code/indicator.png)
Brief description
![Bronze Warrioir](https://c.mql5.com/i/code/expert.png)
The Expert Asvisor uses iCCI (Commodity Channel Index, CCI) and iWPR (Williams’ Percent Range, %R) indicators, as well as custom DayImpuls indicator.
![DayImpuls](https://c.mql5.com/i/code/indicator.png)
Impulse detector. The indicator applies MovingAverages.mqh