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:
7295
Rating:
(32)
Published:
2017.04.27 17:29
Updated:
2018.06.27 13:54
N Candles v2.mq5 (30.17 KB) view
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

We look for N identical candles in a row. If the found candles bull — we buy if bear — we sell.

New in version 2: Take Profit, Stop Loss, Trailing.

Input parameters:

  • N identical candles which go in a row 
  • Lot
  • Take Profit (in pips)
  • Stop Loss (in pips)
  • Trailing Stop ("0" -> not trailing)
  • Trailing Step (use if Trailing Stop >0)
  • magic number
  • slippage

Example of search, at N=3:

N- candles v2

Spread statistics Spread statistics

The average spread for the "averaging period". You can set the background transparency and transparency of the text. CCanvas.

Breakthrough_BB Breakthrough_BB

Advisor on the signals of the indicators Bollinger Bands and Moving Average.

Renko Level Renko Level

The indicator displays the Renko bars on the MetaTrader 5 chart.

HTH Trader HTH Trader

Hedge The Hedge Trader EA.