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
Views:
5063
Rating:
(26)
Published:
2018.04.18 17:07
Fractal_TL.mq5 (18.63 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

An indicator for automatic drawing of trendlines based on fractals of a given timeframe.


Input Parameters

  1. base_tf - the timeframe for calculating fractals, based on which the trendlines will be drawn;
  2. color of the resistance line - set the color for the resistance line;
  3. line style of the resistance - set the style for the resistance line;
  4. width of the resistance line - set the width for the resistance line;
  5. color of the support line - set the color for the support line;
  6. style of the support line - set the style for the support line;
  7. width of the support line - set the width for the support line;
  8. Remove_TL - removing trendlines from the chart (set to true in order to remove the lines).

Input Parameters

An example of the display of lines

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

BHS system BHS system

The EA trades using pending Buy Stop and Sell Stop orders, applying the iAMA (Adaptive Moving Average, AMA) indicator based on a "round price". Position trailing.

MathCeilRoundFloor MathCeilRoundFloor

Example of functions MathCeil, MathRound and MathFloor.

Ichimoku Ichimoku

An Expert Advisor based on the iIchimoku (Ichimoku Kinko Hyo) indicator. Separate Stop Loss, Take Profit and Trailing Stop for BUY and SELL positions. The EA operation time is configurable. A check is performed on the current bar: only one position can be opened.

Hans123_Trader Hans123_Trader

Pending Buy Stop and Sell Stop orders. The EA trades in the specified time period. Determines the highest and lowest prices in the specified range of bars. Position trailing.