Scripts

Unfortunately, OneClick DeleteAllObjectsOnChart is unavailable

The code has been removed. However, the huge code base still remains at your disposal allowing you to find a suitable code.

Check out other MetaTrader 5 codes:

Range BreakOut Indicator - Indicator Buffer Only Range BreakOut Indicator - Indicator Buffer Only

This indicator for Breakout Strategy. It doesn't print objects on the chart.

Multi-Day Dynamic VWAP Multi-Day Dynamic VWAP

Dynamic VWAP level which can be averaged over multiple days

Creating a Simple News Filter for XAUUSD Trading on MT5 Creating a Simple News Filter for XAUUSD Trading on MT5

Trading XAUUSD (Gold) is often influenced by major economic news events like USD, GBP, or EUR releases. To mitigate risks during these volatile periods, using a News Filter in your Expert Advisor (EA) is essential. In this article, I’ll share how to create a simple News Filter on MT5 and apply it to XAUUSD trading.

Risk Management EA Based on ATR Volatility Risk Management EA Based on ATR Volatility

This Expert Advisor (EA) helps traders manage risk by automatically adjusting position sizes and stop-loss levels based on market volatility, using the Average True Range (ATR) indicator. The EA calculates the optimal position size for each trade according to a user-defined risk percentage and the current ATR value, ensuring consistent risk exposure across all market conditions. It also offers an ATR-based stop-loss option to adapt to volatility, while employing a simple moving average crossover strategy to open buy trades. Ideal for traders seeking to automate risk management without complex trading logic, this EA prioritizes account protection and simplifies the trading process.

Stoch Cross EA – Buy Below 20, Sell Above 80 (H1) Stoch Cross EA – Buy Below 20, Sell Above 80 (H1)

A simple and effective Expert Advisor based on Stochastic Oscillator reversal signals on the H1 timeframe. Buy signals are triggered when %K crosses above %D below the 20 level. Sell signals are triggered when %K crosses below %D above the 80 level. Risk is calculated based on the account balance, with the lot size set to 0.1 (adjustable as needed). Take Profit (TP) is set to 300 points for all positions. Stop Loss (SL) is dynamically calculated based on the opposite crossover signal. The position is closed when a crossover in the opposite direction occurs, as well as when TP or SL is reached

No suitable codes?
Choose and download
one of the available library codes
for MetaTrader 5