
Unfortunately, How to remove trade history of the current chart 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:

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

This indicator calls 3 other subwindow indicators. All files go in your Indicators folder.

The EA opens positions randomly (50/50 chance for Buy or Sell) when no position is open.

The Custom MA Cross with RSI Indicator for MT5 is a versatile trading tool designed to help traders identify trend changes and filter entries using momentum. This indicator combines two moving averages (MA) with the Relative Strength Index (RSI), offering clear buy and sell signals.