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

2011.05.16 11:14
Scripts

Exposure - script for MetaTrader 5

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

Views:
2182
Rating:
votes: 17
exposure.mq5 (3.92 KB)view

I would like to present you the "Exposure". It allows you to calculate the summary assets of each currency.

It's useful if there are many positions.


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

sTimeToVariables sTimeToVariables

The script converts the time, represented as datetime variable into the year, month, day, hour, minutes and seconds.

Regression Analysis Regression Analysis

This indicator compares four types of regression (linear, quadratic, logarithmic and exponential) and chooses the one that best fits the data analyzed.

STALIN STALIN

The Buy/Sell signals of the indicator are based on crossover of two moving averages with different periods.

The class of a module of trade signals, on "inner bar breakthrough" in trend direction The class of a module of trade signals, on "inner bar breakthrough" in trend direction

The strategy is following: when outer (outside) bar appears, it checks the fact of the inner bar breakthrough in trend direction and generates a signal to open position. A module of trade signals is compatible with the new version of MQL5 Wizard.