Rejoignez notre page de fans
- Vues:
- 7950
- Note:
- Publié:
- 2015.04.10 14:38
- Mise à jour:
- 2016.11.22 07:32
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Original author:
Vitalie Postolache
A semaphore signal indicator based in the idea from "325 golden strategies" collection.
Strategy principle:
Buy:
- The closing average calculated by the X day period should be higher than the similar average Y days ago;
- The closing price should be lower than the closing price Y days ago;
- 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;
- The closing price should be lower than the opening price (bearish candlestick).
Sell:
- The closing average calculated by the X day period should be lower than the similar average Y days ago;
- The closing price should be higher than the closing price Y days ago;
- The closing price should be lower than the closing price Y+X days ago.
- 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
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/12580
![HLR_HTF](https://c.mql5.com/i/code/indicator.png)
The HighestLowestRange (HLR) indicator with the timeframe selection option available in the input parameters.
![FATL-SATL Balance](https://c.mql5.com/i/code/indicator.png)
A middle line between the SATL and FATL digital trend filtering indicators.
![Candle Time End and Spread](https://c.mql5.com/i/code/indicator.png)
The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
![FiboBands_HTF](https://c.mql5.com/i/code/indicator.png)
The FiboBands indicator with the timeframe selection option available in the input parameters.