거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

AlliHeik - MetaTrader 5용 expert

게시자:
Vladimir Karputov
조회수:
5352
평가:
(21)
게시됨:
2018.06.16 10:56
\MQL5\Indicators\
AlliHeik.mq5 (45.61 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Idea by: josef strauss.

MQL5 code by: Vladimir Karputov.

The EA uses indicator Heiken Ashi Smoothed Oscillator:

Exemplary signals "Open Buy" and "Open Sell":

AlliHeik signal Buy

AlliHeik signal Sell

Signals for opening positions is only received when a new bar appears, while trailing the positions is checked at each tick.

In this EA, the entire code relating to defining input parameters for Moving Average, to creating an indicator, and to receiving the indicator values is provided with comments - I decided not to completely remove this code: Perhaps, somebody would find a solution for applying it.

Instead, the following parameters were added: Trailing, signal reverse, and closing the opposite position when a signal appears.


Trailing

Position trailing. When the Trailing Stop is set to zero, trailing will be disabled.


Reverse

Flag Reverse signal completely turns the value of the signal for opening a position.


Closing the opposite position when a signal appears

Flag Close the opposite position on a signal at the value of true:

  1. It allows opening SEVERAL positions;
  2. When the "Open Buy" signal is received, it will close Sell positions; when the "Open Sell" signal is received, it will close Buy positions.

At the value of false, the EA will have ONLY ONE position in the market and, therefore, will not close the opposite position.


Recommendations on Optimization

Exemplary parameters, such as initial value, step, and final value, for symbols on H1:

AlliHeik optimization

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/20680

Surefirething Surefirething

Working with pending Buy Limit and Sell Limit orders. Trailing the positions is possible.

RANA RANA

Sherman and Marian McClellan Ratio Adjusted Net Advances Indicator.

SD_M_Swap SD_M_Swap

A script for showing the swap value on a financial instrument. The texts of positive and negative swaps are shown in different colors.

McClellan_Oscillator McClellan_Oscillator

Sherman and Marian McClellan Oscillator.