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

Parabolic_TrailingStop - expert for MetaTrader 5

Views:
4023
Rating:
(15)
Published:
2018.04.18 17:18
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The Stop Loss value of an open position changes when the following conditions are met:

  1. The value of Parabolic SAR at index 1 is greater/less than the open price (for buy and sell trades respectively);
  2. The value of Parabolic SAR at index 1 is less/greater than the Low/High of bar with index 1 (for buy and sell trades respectively);
  3. Parabolic SAR on index 1 is formed after the position open time.

The inputs of the utility are:

  • base_tf - the timeframe for the Parabolic SAR indicator to be used for trailing Stop Loss;
  • SAR_step - price change step (the parameter of "Parabolic SAR", default is 0.1);
  • maximum_step - maximum price change (the parameter of "Parabolic SAR", default is 0.11);

Input Parameters

Trailing of Stop Loss of an open position

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

Aeron JJN Scalper EA Aeron JJN Scalper EA

The Expert Advisor places pending Buy Stop and Sell Stop orders. Includes checks for the minimum distance of orders in points (SYMBOL_TRADE_STOPS_LEVEL).

Trend RDS Trend RDS

Trend detection based on the last three bars.

DayTime DayTime

An arrow indicator, which compares the daily open price with the close price of an hour.

Days of the week color Days of the week color

A colored histogram of the days of the week. Uses the drawing style DRAW_COLOR_HISTOGRAM.