Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Hangseng Trader - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
5110
Rating:
(15)
Published:
2018.07.13 15:10
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Idea byRisdyanto Risdyanto.

MQL5 code bybarabashkakvn.

Indicator Resistance & Support is used:

Resistance & Support


The Expert Advisor works in two timeframes: Indicator Resistance & Support is constructed on the current timeframe, while object Fibonacci Lines (OBJ_FIBO) is based on the High and Low of the daily timeframe, and parameter "Number of DAUY bars for finding support and resistance levels" is equal to "1":

Hangseng Trader


Inputs

  • Lots - position volume
  • Trailing Stop (in pips) - trailing
  • Trailing Step (in pips) - trailing step
  • Number of DAUY bars for finding support and resistance levels - amount of days for calculating Fibo
  • MA: averaging period - Moving Average averaging period
  • MA: horizontal shift - horizontal Moving Average shift
  • MA: smoothing type - Moving Average smoothing type
  • MA: type of price - price type used as the basis for calculating the Moving Average indicator
  • magic number - the unique EA identifier


Exemplary testing on EURUSD,M15:

Hangseng Trader Test

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21120

ADX trend smoothed - multi time frame ADX trend smoothed - multi time frame

ADX trend smoothed - multi time frame

ADX trend - smoothed ADX trend - smoothed

ADX trend - smoothed

Area MACD Area MACD

An unorthodox approach to indicator MACD: The EA calculates the indicator's area displayed above and below zero line.

Candle shadows v1 Candle shadows v1

Candlestick size and shadow analysis. In OnTradeTransaction, opening (DEAL_ENTRY_IN) and closing (DEAL_ENTRY_OUT) the positions are intercepted, as well as closing by Stop loss (DEAL_REASON_SL).