Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2016.05.16 10:20
Indicators

Applying the Equity graph on the chart - indicator for MetaTrader 4

| English Español Português Русский 中文 Deutsch 日本語

Views:
5353
Rating:
votes: 7
equity.zip (0.8 KB)

Suppose that there is some data, which is used as the basis for plotting a diagram, for example, a chart of five equities.





The source data is stored in the equity.csv file.





And this data needs to be viewed on the price chart of some currency pair. And not in a separate window, but right in the window that displays the instrument price. This indicator example is written for such a case. It displays 5 charts of the average equity for five groups with different values of Money Compounding. First, compile the indicator and attach it to the daily chart (the equity.csv file must be placed to experts\files\..). Nothing appears on the chart, this is normal, as the scale of the chart and the scale of the values read from the file have great differences.

After that, comment out one line in the indicator code, and, conversely, uncomment the other one, then press F5 (compile). Now there is a normal picture.






Thus, the terminal was "deceived" and forced to scale the indicator according to the current price range. This trick is only possible in case the indicator is told to be drawn in a separate window.
Receive this picture.







Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/7600

Varmovavg_v0011 Varmovavg_v0011

It uses VMA - ЕMA, which automatically adjust the smoothing percentage based on the market volatility.

Wss_trader Wss_trader

The Wss_trader EA. People recommend setting the trading hours to 7-17, trailing to 60, metrics to 36 and to look back to 2 months.

MartingailExpert MartingailExpert

The EA uses the values of the Stochastic indicator on the H4 timeframe to open a position, and after that it builds up based on the martingale principle.

Program for controlling testing and optimization Program for controlling testing and optimization

The program is designed to facilitate the routine work of the trader on testing and optimization of experts, performing sequential multi-currency, multi-timeframe and other types of tests and optimizations.