Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
6056
Rating:
(30)
Published:
2011.05.16 11:14
Updated:
2016.11.22 07:32
exposure.mq5 (3.92 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 Ltd.
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.