RobotFX curates the best open-source MetaTrader code to inspire your trading automation.
The indicator shows the maximum price for the period specified in the input parameters of the indicator:
//+------------------------------------------------+ //| Indicator input parameters | //+------------------------------------------------+ input string level_name="Price_HIGHEST_HIGH_VALUE_1";// Level name input string level_comment="Trigger level"; // A comment to the level input uint level_period=5; // Level search period input uint level_start=0; // The number of the starting bar input color level_color=clrLime; // Level color input ENUM_LINE_STYLE level_style=STYLE_SOLID; // The style of the trigger level input ENUM_WIDTH level_width=w_3; // The width of the trigger level input bool Deletelevel=true; // Deleting a level

Figure 1. Indicator HIGHES_HIGH_VALUE
Smooth out market noise with the Heiken Ashi Expert Advisor for MT4 and MT5. Reliable trend-following automation. Details here.
Level up your trading with professional RobotFX expert advisors and indicators. Visit www.robotfx.org for proven MT4/MT5 tools.
2295