Mira cómo descargar robots gratis
¡Búscanos en Facebook!
Pon "Me gusta" y sigue las noticias
¿Es interesante este script?
Deje un enlace a él, ¡qué los demás también lo valoren!
¿Le ha gustado el script?
Evalúe su trabajo en el terminal MetaTrader 5
Indicadores

Overlay Chart Modified to not repaint on each bar - indicador para MetaTrader 4

Sameer
Publicado por:
Brian Rumbles
Visualizaciones:
26590
Ranking:
(13)
Publicado:
2019.08.06 19:43
¿Necesita un robot o indicador basado en este código? Solicítelo en la bolsa freelance Pasar a la bolsa


Modified Overlay Chart USDJPY vs USDCHF

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 Evenly weighted DXY and changeable base currency

    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 Automatically enable or disable the automated trading button

    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 SailSystemEA

    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 FlySystemEA

    This Expert Advisor is a pure scalping system.