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
Views:
5211
Rating:
(21)
Published:
2012.12.03 09:51
Updated:
2016.11.22 07:32
go.mq5 (14.42 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The Expert Advisor is rewritten from MQL4, the author ExpertTrader, link to the original - https://www.mql5.com/ru/code/8894.

How it works

GO is calculated using the following formula:

GO=((C-O)+(H-O)+(L-O)+(C-L)+(C-H))*V;

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.

 

Parameters

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

Note

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 Ltd.
Original code: https://www.mql5.com/ru/code/1106

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