당사 팬 페이지에 가입하십시오
- 게시자:
- Brian Rumbles
- 조회수:
- 27229
- 평가:
- 게시됨:
- 2019.08.06 19:43
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
image: Modified Overlay Chart USDJPY vs USDCHF (4hr chart)
Function
The Original Overlay Chart is used to have two currencies or 2 assets on 1 chart.
The relative price of the one currency can be seen in terms on the other currency.
For example, on the EURUSD chart, using
this indicator, The USDCHF could be added and the USDCHF price will be shown in terms of EURUSD price.
Use
This could be useful for strategies that depend on the convergence or divergence of 2 currencies or assets. Some people informally refer to this as 'correlation' or 'arbitrage' or more formally 'co-integration' strategies or 'relative value'.
Changes/updates/improvements
The Original indicator will re-center its calculation on every bar, and hence the price will keep shifting up and down and so the historical relative values do not remain constant. This indicator was modified so that the 'center' or initial relative reference point stays fixed and does not update each bar. It will only update the initial center point (Re-initialize) when the indicator is reloaded or settings are changed. (The indicator does however show the changes of the current prices on the same chart, just to clarify).
This indicator also paints for history far back, while the original does not. I may have also changed one or two other things in the original code, you can find the original code here.
Inputs
The SET CENTER input is which bar back in the history the indicator should use to be the fixed initial point to compare the 2
currencies or assets.
![Evenly weighted DXY and changeable base currency](https://c.mql5.com/i/code/indicator.png)
Currency Index that calculates evenly on all 7 major pairs. Can also change base currency. Based on No Nonsense Forex podcast.
![Automatically enable or disable the automated trading button](https://c.mql5.com/i/code/expert.png)
Let say you have an EA and you want it to trade in between an interval of time but you do not have the source codes to modify the EA. This utility allows you to automatically enable or disable the automated trading button. You can use the codes as an EA, Indicator or script but I used as an EA. You can remove Ordersend command because I set it only for the codes to past the test but it is meaningless.
![SailSystemEA](https://c.mql5.com/i/code/expert.png)
This Expert Advisor is a pure hedging system. The expert place and manage two market opposite orders. Runs perfectly on pairs with tight spread and low commission broker (commission plus spread equal or less than 0.5 pip). The code is available for testing and studying. For more information please visit the product's page: https://www.mql5.com/en/market/product/33295
![FlySystemEA](https://c.mql5.com/i/code/expert.png)
This Expert Advisor is a pure scalping system.