Guarda come scaricare robot di trading gratuitamente
Ci trovi su Facebook!
Unisciti alla nostra fan page
Unisciti alla nostra fan page
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
- Visualizzazioni:
- 3068
- Valutazioni:
- Pubblicato:
- 2024.04.10 11:47
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
This script is designed to perform candle analysis:
- Data Retrieval: The script retrieves the open, close, high, and low prices of candles for the financial instrument it is running on.
- Candle Categorization: It categorizes each candle as bullish, bearish, or neutral based on the relationship between its closing and opening prices.
- Amplitude Calculation: It calculates the amplitude of each candle (difference between high and low) and computes the average amplitudes for bullish and bearish candles.
- Identification of Significant Candles: It identifies the 5 most significant candles (highest amplitude) for both bullish and bearish candles.
- Report Generation: It creates a report that includes the number of bullish, bearish, and neutral candles, as well as the average amplitudes and most significant candles.
- Chart Comment: It displays the generated report as a comment on the chart of the financial instrument, allowing the user to easily visualize the analysis conducted.
In summary, the script helps traders understand the distribution and range of candles in a specific period, which can be useful for making informed trading decisions such as determining the Take Profit or Stop Loss levels based on the timeframe or specific symbol.
![Counter Attack Candlestick](https://c.mql5.com/i/code/indicator.png)
Counter attack candlestick pattern
![Dominant Candle](https://c.mql5.com/i/code/indicator.png)
Dominant Candle is a a two candlestick set where the wicks intersect each other but body of the candles are either gapped up, gapped down or equal
![A Code block to detect A "New Candle/Bar" using bars history (very effective way)](https://c.mql5.com/i/code/expert.png)
If you only want to execute your code blocks "only once per bar" it's important to check if there is new bar arrived or not.
![Basic GridManager Library](https://c.mql5.com/i/code/library.png)
This is a basic library to create and manage grids.