Guarda come scaricare robot di trading gratuitamente
Ci trovi su Facebook!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Visualizzazioni:
5229
Valutazioni:
(21)
Pubblicato:
2012.12.03 09:51
Aggiornato:
2016.11.22 07:32
go.mq5 (14.42 KB) visualizza
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a 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.

...

Tradotto dal russo da MetaQuotes Ltd.
Codice originale 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