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
Experts

breakdown - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
4243
Rating:
(29)
Published:
2018.08.23 13:08
breakdown.mq5 (40.41 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Author of the idea: arist0

MQL5 code author: barabashkakvn

The EA works with pending Buy Stop and Sell Stop orders. At the start of the day, pending orders from the previous day are deleted. New Buy Stop and Sell Stop orders are placed at Minimum distance above High and below Low.

If a pending order is triggered and the position becomes profitable, trailing is applied to it.

When any of pending orders is triggered, the remaining pending order is removed. This is done in OnTradeTransaction: DEAL_ENTRY_IN (market entry) is searched for.


Inputs

  • Stop Loss - stop loss;
  • Take Profit - take profit;
  • Trailing Stop - trailing;
  • Trailing Step - trailing step;
  • Minimum distance - minimum indent from High and Low of the previous day;
  • Risk in percent for a deal from a free margin - risk per trade;
  • magic number - unique EA identifier.

EURUSD,M15:

breakdown

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

Differential_Average_By_Sultonov_Signal Differential_Average_By_Sultonov_Signal

Differential_Average_By_Sultonov_Signal indicator shows information on the current trend using the values of the Differential_Average_By_Sultonov indicator with a fixed timeframe.

Differential_Average_By_Sultonov_HTF Differential_Average_By_Sultonov_HTF

The Differential_Average_By_Sultonov indicator with the timeframe selection option available in the input parameters.

XAng_Zad_C XAng_Zad_C

Ang_Zad indicator applies additional smoothing of total values allowing users to avoid excessive indicator signals noise caused by false crossings of its moving averages.

AMA three timeframes AMA three timeframes

The indicator is displayed using three horizontal lines of iAMA (Adaptive Moving Average, AMA) indicator from three different timeframes.