Rejoignez notre page de fans
- Vues:
- 40385
- Note:
- Publié:
- 2018.03.14 14:11
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Candle Closing Time Remaining (CCTR) MT5 is an indicator which displays the remaining time for an open candle to be closed.
Features
- Changeable color and size.
- Changeable location (Corners).
- Display server time (on OR off) [v2].
- Play an alert sound when the candle is going to close [v3].
- Clean code.
Screen Shots
The indicator will be shown as follows in the weekly time frame:
The indicator will be shown as follows in the top-left location:
Usability Tips
You can change the location of display time, by setting the location input field as follows:
- Set location 'Top-Left': to be displayed in comment in the top-left part of the chart.
- Set location 'Top-Right': to be displayed in the top-right part of the chart.
- Set location 'Bottom-Left': to be displayed in the bottom-left part of the chart.
- Set location 'Bottom-Right': to be displayed in the bottom-right part of the chart.
You can on or off server time displaying by setting displayServerTime as follows: [v2]
- Set 'On': display server time.
- Set 'Off': don't display server time.
You can on or off alert sound playing by setting playAlert as follows: [v3]
- Set 'On': play a sound when candle is going to close in less than 5 seconds.- set 'Off': don't play sound.
Also you can set your favorite sound as alert by enter it's name on customAlertSound: [v3]
- Note that, the file must be located in <terminal_directory<>>\Sounds or its sub-directory. Only WAV files are played.
- If you leave the field empty, the default sound will be played.
Change log
- Display candle closing time remaining. [v1]
- Adding an input field to display server time. [v2]
- Play an alert sound when the candle is going to close. [v3]
- Change input types to readable strings. [v3]
- Shorten the name of the indicator in comments area. [v3]
MetaTrader 4 version: https://www.mql5.com/en/code/11051.
![Inverse Fisher CCI](https://c.mql5.com/i/code/indicator.png)
CCI is a very useful indicator. But it lacks one thing: known bounds. Adding Inverse Fisher Transform to CCI makes it oscillate in known bounds, and that way it can help in assessing what is exactly going on with the markets.
![Volume Average percent](https://c.mql5.com/i/code/indicator.png)
This version is a sort of normalized version - since it shows Volume as a percent compared to the Average Volume over a chosen period.
![Point of Balance](https://c.mql5.com/i/code/indicator.png)
The indicator shows current trend by showing a color of the current balance. The opposite color is not displayed as long as it does not become a trend (hence, lack of color, means the opposite trend is the prevailing)
![Hull MACD](https://c.mql5.com/i/code/indicator.png)
This version of MACD uses Hull Moving Average for MACD calculation instead of using EMA (as the original Gerald Appel version does). That makes it "faster" than the EMA version and suitable for scalping techniques as well as for trending techniques (if longer calculation periods are used).