Watch how to download trading robots for free
Find us on Facebook!
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
Indicators

Simple Trading System - indicator for MetaTrader 5

Views:
7760
Rating:
(21)
Published:
2015.04.10 14:38
Updated:
2016.11.22 07:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Original author:

Vitalie Postolache

A semaphore signal indicator based in the idea from "325 golden strategies" collection.

Strategy principle:

Buy:

  1. The closing average calculated by the X day period should be higher than the similar average Y days ago;
  2. The closing price should be lower than the closing price Y days ago;
  3. The closing price should be higher than the closing price Y+X days ago. If all three conditions are met, then you should buy at the next day opening;
  4. The closing price should be lower than the opening price (bearish candlestick).

Sell:

  1. The closing average calculated by the X day period should be lower than the similar average Y days ago;
  2. The closing price should be higher than the closing price Y days ago;
  3. The closing price should be lower than the closing price Y+X days ago.
  4. The closing price should be higher than the opening price (bullish candlestick).

If all three conditions are met, then you should sell at the next day opening; For example, if Х=20 and Y=3, then the 20-day closing average should be higher (for buying) than the average calculated 3 days ago. It simply means that the 20-day closing average goes up. Next, today's closing price should be lower than the closing price 3 days ago. It helps to determine if there would be a pullback before entering the market.

Finally, the price should also be higher than 23 days ago (even if it is lower than 3 days ago). That way we check for an increasing moving average. The method will work until a turn signal appears or the market goes too far against the position without a turn signal.

Fig. 1. The Simple Trading System indicator

Fig. 1. The Simple Trading System indicator

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

HLR_HTF HLR_HTF

The HighestLowestRange (HLR) indicator with the timeframe selection option available in the input parameters.

FATL-SATL Balance FATL-SATL Balance

A middle line between the SATL and FATL digital trend filtering indicators.

Candle Time End and Spread Candle Time End and Spread

The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.

FiboBands_HTF FiboBands_HTF

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