당사 팬 페이지에 가입하십시오
GridTrading Algorithm at volatile market - MetaTrader 4용 expert
- 조회수:
- 18003
- 평가:
- 게시됨:
- 2023.01.26 19:54
- 업데이트됨:
- 2023.08.15 20:37
- 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The input parameters are: Tp - this is a number, and the robot will take profit when Tp*Invested money is reached in profits (recommend 0.01-0.1). SlowMovingAverage is the period of a moving average, trying to decide the trend. The Multiplier is the factor of the volumes, the next order in the Grid will be placed with a Multiplier* Last order size volume. TimeFrame is the TimeFrame in Minutes. (recommended : 1 hour- 60 or 15Min- 15).
The Expert Advisor includes a TotalOrderLots() function, which returns all of the used lot amounts. A CalcMaxLot function, returning the maximal amount of lot one can trade. A CalcGridLot function which returns a starting Lot with the given parameters for a security. The Bearish and bullish engulfing functions are returning a true value if one of the candlestick pattern happens. OpenOrderProfits function returns all the Profits of the open orders. CloseallOrders closes all orders( checking multiple times).
The EA places grid orders based on the atr values.
This Indicator shows the potential breakout/stop levels.
Wilder's Relative Strength IndexAn implementation of the Relative Strength Index indicator by John Welles Wilder Jr. as described in his book—New Concepts in Technical Trading Systems [1978].
Convert historical data from M1 to M1, M5, M15, M30, H1, H4, D1, W1 and MN, specifying the start date.
Pause Trading for X Minutes When Consecutive Losses are NThis code will pause the trading for X minutes when there are N consecutive losses happen within Y minutes