Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

FineTuningMACandle_Chl_Arr - MetaTrader 5 Script - MT4/MT5 Resource

author EAcpu | 2 reads | 0 comments |

FineTuningMACandle_Chl_Arr - indicator for MetaTrader 5

The fine-tuned MACandle_Chl indicator replaces signal candles with signal flags, which is more visually convenient in most cases.

 //+------------------------------------------------------------------------+
//| Indicator input parameters |
//+------------------------------------------------------------------------+
Enter Units FTMA= 10 ; Enter Double Level 1 = 2 ; Enter Double Level 2 = 2 ; Enter Double Level 3 = 2 ; Enter Double Shift 1 = 1 ; Enter Double Shift2 = 1 ; Enter Double Shift3 = 1 ; Enter Integer Price Change = 0 ; // Vertical movement of the indicator in points.
Input unit gap = 10 ; //Point gap not considered
Input unit BB length = 10 ; // Bollinger band period
Enter double the band deviation = 1.0 ; // deviation
Input unit array symbol = 108 ; // signal label symbol

To replace the last entered value, use the Wingdings font symbol table.

The indicator uses classes of the library SmoothAlgorithms.mqh (copied to \MQL5\Include folder). The article details the use of a class to calculate an average price series in the middle without using additional buffers .

FineTuningMACandle_Chl_Arr - indicator for MetaTrader 5

Figure 1. FineTuningMACandle_Chl_Arr indicator


Attachment download

📎 FineTuningMACandle_Chl_Arr.mq5 (20.1 KB)

📎 SmoothAlgorithms.mqh (130.2 KB)

Source: MQL5 #22775

Verification code Refresh