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
Indicators

Variance - indicator for MetaTrader 5

Views:
13513
Rating:
(30)
Published:
2019.05.30 15:04
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The standard deviation is a measure of how much a dataset differs from its mean; it tells us how dispersed the data are. A dataset that’s pretty much clumped around a single point would have a small standard deviation, while a dataset that’s all over the map would have a large standard deviation.

Given a sample the standard deviation is defined as the square root of the variance

Here you can find a Welford’s method for computing (single pass method) that avoids errors in some cases (if the variance is small compared to the square of the mean, and computing the difference leads catastrophic cancellation where significant leading digits are eliminated and the result has a large relative error)




Export Summary Grouped by Symbols Export Summary Grouped by Symbols

The script exports summary of closed trades grouped by each currency pair to .csv file

Close-All Close-All

A script to close all market positions and/or pending orders.

Export Summary Grouped by Trading Days Export Summary Grouped by Trading Days

The script exports summary of closed trades grouped by each trading day to .csv file

Permutations and Combinations Permutations and Combinations

A fast library for combinations and permutations in MQL.