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

Firebird v0.60 - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
2815
Rating:
(10)
Published:
2018.06.16 10:04
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Idea by: Scriptor.

MQL5 code by: Vladimir Karputov.

The EA trades on the iMA (Moving Average, MA) indicator. At the same time, there is a parameter (defined in percents) Distance between "MA" and the price - the indicator indent from price. Before sending a trade order, it checks how much time has elapsed since opening the last position: If fewer than two periods (timeframes) have elapsed, then the position will not be opened.


Inputs

  • Lots - the size of the position to be opened;
  • Stop Loss (in pips) (do not use "0") - Stop Loss; setting the value of "0" is prohibited;
  • Take Profit (in pips) (do not use "0") - Take Profit; setting the value of "0" is prohibited;
  • MA: averaging period - indicator averaging period;
  • MA: horizontal shift - indicator horizontal shift;
  • MA: smoothing type - the type of indicator averaging;
  • MA: type of price - the type of indicator price;
  • Distance between "MA" and the price (as a percentage) - indicator distance from price, in percents;
  • Trade on Friday - enable trading on Friday;
  • Step: distance between positions (in pips) - step between positions;
  • Increase in a step depending on quantity of positions - scale up the step with the increse in the number of positions;
  • magic number - unique identifier for the EA.

A test sample for all symbols on H1 with the default parameters:

Firebird v0.60

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

Brandy Brandy

Two Moving Average indicators: A slow one for opening positions, and a fast one for closing positions.

Momentum-M15 Momentum-M15

An Expert Advisor based on two indicators: iMAs (Moving Average, MA) and iMomentum (Momentum).

Generic_Index Generic_Index

Generic Index Indicator.

USDX USDX

The US dollar index against a basket of basic currencies.