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

Multicurrency hedge example EA (overlay hedge) - MetaTrader 4용 expert

[삭제]
조회수:
29087
평가:
(15)
게시됨:
2017.09.18 10:20
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The Expert Advisor looks for correlations of the Market Watch list symbols, calculates Average True Range ratios for every hedging combination and assigns different magic numbers for them. Then the subsequent operations can be easily carried out with the prepared data. For precision, statistics like correlation and ATR ratio are recalculated every day.

The Expert Advisor can work with all the currency pairs from the Market Watch list on a single chart simultaneously, as well as it does not depend on the incoming ticks from particular symbol. For the purpose of showing the principle of action, hedging technique was implemented based on overlay chart indicator presented here https://www.mql5.com/en/code/7933.


Inputs

  • TakeProfitByPoints - Set it to 'true' if you want profit/loss to be calculated in points.
  • TakeProfitPoints - Take Profit value (in points).
  • TakeProfitByUsd - Set it to 'true' if you want profit/loss to be calculated in USD.
  • TakeProfitUsd - Take Profit value (in USD).
  • Retries - Number of retries for trying to close an order.
  • AtrTimeFrame - Timeframe for Average True Range calculation.
  • AtrBarsBack - Number of bars for Average True Range calculation.
  • CorrelationTimeFrame - Timeframe for correlation calculation.
  • CorrelationBarsBack - Number of bars for correlation calculation.
  • OverlayThreshold - Overlay threshold (in points).
  • MaxOrders - Number of maximum open orders allowed.
  • MaxSpread - Maximum spread allowed (in points).
II (Outbreak) EA II (Outbreak) EA

Expert Advisor for pyramiding into big and fast market movements.

Open Two Pending Orders Open Two Pending Orders

Automatic placing of Buy Stop pending order and Sell Stop pending order simultaneously, Stop Losses and Take Profits on the user specified levels. As soon as the long position (BUY) is opened as ASK price crosses the levels, the remaining pending order (SELLSTOP) is deleted. Vice versa if the short position (SELL) is opened as BID price crosses the levels, the remaining pending order (BUYSTOP) is deleted. It places again both pending orders after the opened order has been closed.

S4T_DaysOfTheWeek S4T_DaysOfTheWeek

The indicator marks the days of the week with a colored histogram in the chart sub-window.

Hidden StopLoss and TakeProfit System Hidden StopLoss and TakeProfit System

A class system to represent a hidden stop loss and take profit system, combined with 4 example files showing the use of the classes.