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

PriceChannel_Signal_v2 EA - expert for MetaTrader 5

Views:
6459
Rating:
(40)
Published:
2022.04.15 18:22
\MQL5\Indicators\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Trading strategy

The custom indicator 'PriceChannel_Signal_v2' ( I took the indicator here ) generates several signals: two types of signals to open a 'BUY' position, two types of signals to open a 'SELL' position, one signal to close 'BUY' and one signal to close 'SELL'. No Stop Loss, No Take Profit, No Trailing.

An example of opening a position:

PriceChannel_Signal_v2 EA

Rice. 1. PriceChannel_Signal_v2 EA


Peculiarities:

  • The EA can be optimized for the working timeframe ('Working timeframe')
  • There can be only one 'entry to the market' deal per bar
  • When working in the 'inside bar' mode (parameter 'Search signals on ...'   equals 'bar #0 (at every tick)') the current bar is bar #0, when working in the mode 'only at the moment of birth of a new bar'   (parameter 'Search signals on ...'   equals 'bar #1 (on a new bar) )   current bar is bar #1

Now more about each group of parameters:

Trading settings:

'Working timeframe' - working timeframe. The timeframe on which indicators are created and on which a new bar is searched.

Position size management (lot calculation)

The lot can be either permanent ('Money management' set to 'Constant lot' and set the lot size to 'The value for "Money management"') and dynamic - in percent risk per trade ('Money management' set to 'Risk in percent for a deal' and set the risk percentage in 'The value for "Money management"'). You can also set a constant lot equal to the minimum lot - 'Money management' set to 'Lots Min'.

Additional features:

Flag 'Positions: Only one' set to 'true' allows the EA to have no more than one position in the market. 'Print log' prints an extended log of all operations. 

    CCI Color CCI Color

    iCCI (Commodity Channel Index, CCI) indicator as a colored line

    Real Trade Copy MT5 Real Trade Copy MT5

    Utility for copying transactions from one MT5 account or MT4 account to another MT5 account.

    ADXm (experiment) ADXm (experiment)

    ADXm (experiment)

    CHO Smoothed Arrow 2 CHO Smoothed Arrow 2

    Version 2. Indicator based on 'Chaikin Oscillator, CHO'. Line intersection of 'CHO' and 'smoothed CHO'