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

2012.12.03 09:51

GO - expert for MetaTrader 5

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

votes: 17
go.mq5 (14.42 KB)view

The Expert Advisor is rewritten from MQL4, the author ExpertTrader, link to the original -

How it works

GO is calculated using the following formula:


Where C, O, H, L - Moving Average value on Close, Open, High, Low prices. V - signal bar volume.

If the value of GO is greater than 0, a buy order is opened, if less - the buy order is closed and a sell order is opened.

The image shows the performance of the Expert Advisor in the strategy tester's visual mode.



  • Lots - lot; when 0, the MaxrR parameter is used.
  • MaximumRisk - Risk (default value Lots=0).
  • Shift - Bar on which indicators are checked: 0 - forming bar, 1 - first formed bar.
  • MAPeriod - MA period.
  • MAShift - MA shift.
  • MAMethod - MA method.
  • VolVolume - Volume.
  • OpenLevel - If the value of GO exceeds the level,  a buy order is opened; if it is less than -OpenLevel, a sell order is opened.
  • CloseLevelDif - Difference between opening and closing level value should be set in positive value. Closing level must be equal or less than the opening level).
  • ShowGO - Display GO value on chart comments.


If OpenLevel has 0 value, bar volume value do not influence so OpenLevel and CloseLevelDif parameters are included. These parameters are absent in the source. External parameters have been included for Moving Average.


Translated from Russian by MetaQuotes Software Corp.
Original code:

Exp_AdaptiveCyberCycle Exp_AdaptiveCyberCycle

The Expert Advisor Exp_AdaptiveCyberCycle is built on the basis of the Adaptive Cyber Cycle indicator. The signal is formed when a bar is closing if there is crossing of indicator and its signal line.

Exp_AroonSignal Exp_AroonSignal

The Expert Advisor based on signal entry taken from the AroonSignal signal indicator

Lucky Lucky

Simple scalper

i_Trend i_Trend

The oscillator with two lines based on Bollinger Bands, BearsPower and BullsPower