Watch how to download trading robots for free
Find us on Twitter!
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:
3400
Rating:
(22)
Published:
2017.11.03 12:24
Updated:
2018.02.28 10:20
New Random.mq5 (20.98 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Trading based on a random number generator or in one of the following sequences: BUY - SELL - BUY or SELL - BUY - SELL.

New Random

At first glance it may seem that the sequences "BUY - SELL - BUY" and "SELL - BUY- SELL" are the same. But here the following interesting point is taken into account: does the type of the first opened position matter? By selecting Sequence BUY - SELL - BUY or Sequence SELL - BUY - SELL, we can check and compare the results of when the first position opened at the same time is BUY or SELL.


Input Parameters

  • Random type - the type of random position opening.
  • Minimal lots count - minimum lot value (position volume).
  • Stop Loss (in pips) - Stop Loss value.
  • Take Profit (in pips) - Take Profit value.

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

ColorDerivative ColorDerivative

The Derivative indicator implemented as a colored histogram with an additional averaging.

VolatilityValues VolatilityValues

The indicator shows a text block with the values ​​of the user defined Volatility period for each timeframe.

up3x1 Investor up3x1 Investor

Candlestick size analysis. The idea of the trading system: candlestick parameters matter after news releases.

Opposite trade Opposite trade

Opening a position opposite to the closed one. Trades are processed in the OnTradeTransaction function.