Watch how to download trading robots for free
Find us on Facebook!
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
Experts

Exp_CenterOfGravity - expert for MetaTrader 5

Views:
4137
Rating:
(16)
Published:
2012.12.10 09:37
Updated:
2023.03.29 13:42
\MQL5\Include\ \MQL5\Indicators\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The Exp_CenterOfGravity EA is based on the CenterOfGravity indicator. The signal is formed when a bar is closing if there is crossing of indicator and its signal line.

Place CenterOfGravity.ex5 compiled file to the terminal_data_folder\MQL5\Indicators.

Default Expert Advisor's input parameters have been used during the tests shown below. Stop Loss and Take Profit have not been used during the tests.

Fig. 1. The instances of history of deals on the chart.

Fig. 1. The instances of history of deals in the chart.

 Testing results for 2011 at USDCHF H4:

Fig. 2. Charts of testing results

Fig. 2. Charts of testing results

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1140

Averager on BUY and SELL simultaneously Averager on BUY and SELL simultaneously

The Expert Advisor operates on the principle of the Moving Average. Simultaneously in both directions. Volume for BUY and SELL is calculated separately. Divide the volume received in accordance with the given "save percentage". It responds to the setting: "change the price"

Breakout Bars Trend Breakout Bars Trend

The alternative indicator for trend definition based on the breakthrough bars and distance from extremums.

Exp_CoeffofLine_true Exp_CoeffofLine_true

The Exp_CoeffofLine_true Expert Advisor based on the CoeffofLine_true indicator. A signal to perform a deal is formed at bar closing, if the histogram breakthroughs its zero level

Balance of Power Balance of Power

The Balance of Power (BOP) indicator was described by Igor Livshin and measures the strength of the bulls vs bears by assessing the ability of each to push price to an extreme level.