당사 팬 페이지에 가입하십시오
- 게시자:
- Vladimir Karputov
- 조회수:
- 3596
- 평가:
- 게시됨:
- 2018.07.13 15:24
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Idea by: Scriptor.
MQL5 code by: barabashkakvn.
It opens four positions with different Take Profit levels. As soon as one of the positions is closed by Take Profit, the other positions will be moved to breakeven. This continues until all positions are closed by Take Profit.
Inputs
- Lots - position volume
- Moving Average: averaging period - indicator "Moving Average": Averaging period
- RSI: averaging period - indicator "RSI": Averaging period
- ATR: averaging period - indicator "ATR": Averaging period
- Coefficient SL - Stop Loss calculation coefficient (the coefficient is multiplied by the value of indicator "ATR")
- Coefficient TP - Take Profit calculation coefficient (the coefficient is multiplied by the value of indicator "ATR")
//--- RSI levels
- RSIUpperLimit - BUY positions can be opened within the interval from "RSIUpperLevel" to "RSIUpperLimit", "RSIUpperLevel" having to be above "RSIUpperLimit"
- RSIUpperLevel - BUY positions can be opened within the interval from "RSIUpperLevel" to "RSIUpperLimit", "RSIUpperLevel" having to be above "RSIUpperLimit"
- RSILowerLevel - SELL positions can be opened within the interval from "RSIUpperLimit" to "RSILowerLevel", "RSILowerLevel" having to be above "RSILowerLimit"
- RSILowerLimit - SELL positions can be opened within the interval from "RSIUpperLimit" to "RSILowerLevel", "RSILowerLevel" having to be above "RSILowerLimit"
//--- MACD
- period for Fast average calculation
- period for Slow average calculation
- period for their difference averaging
- MacdDiffBuy - the minimum difference between bar 2 and bar 1 ((MathAbs(MACD_1)-MathAbs(MACD_2))/MathAbs(MACD_1)) to open BUY
- MacdDiffSell - minimum difference between bar 2 and bar 1 ((MathAbs(MACD_1)-MathAbs(MACD_2))/MathAbs(MACD_1)) to open SELL
//---
- magic number - the unique EA identifier
GBPUSD,H1:
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/21196
![Bear_Bulls_Power_Period_Candle](https://c.mql5.com/i/code/indicator.png)
Synthetic Japanese candlesticks over the period defined in the indicator settings, calculating on each bar, based on the Bear_Bulls_Power_Candle indicator candlesticks.
![Exp_NRTR_Duplex](https://c.mql5.com/i/code/indicator.png)
Two identical trading systems (for long and short positions) based on the signals of indicator NRTR, which can be differently configured within one EA.
![Exp_BrainTrend2_AbsolutelyNoLagLwma](https://c.mql5.com/i/code/expert.png)
Two independent trading systems using indicators BrainTrend2 and AbsolutelyNoLagLWMA within one EA.
![BykovTrend_V2](https://c.mql5.com/i/code/indicator.png)
Indicator BykovTrend as candlesticks.