Join our fan page
Exposure - script for MetaTrader 5
- Views:
- 6467
- Rating:
- Published:
- 2011.05.16 11:14
- Updated:
- 2016.11.22 07:32
- 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
The script converts the time, represented as datetime variable into the year, month, day, hour, minutes and seconds.
Regression AnalysisThis indicator compares four types of regression (linear, quadratic, logarithmic and exponential) and chooses the one that best fits the data analyzed.
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 directionThe 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.