Version 5.10 2024.02.07
Added the "Time Distance per second" Input.

It is a very important Input.

Read the last comments or send a message to me to explain it.
Version 5.0 2023.09.24
added ThirdSet.
Version 4.0 2023.07.01
I deleted the news filter.
I will fix it and publish a new version with the news filter soon.
Version 3.0 2023.06.07
this update is optional, if you don't want it you don't need to update.

I added a News Filter.

I added lots of helpful inputs (by using these inputs we can find different settings with different risks, and ... ). I will explain them in the comments.
Version 2.0 2023.04.26
This update is optional, if you don't want it you don't need to update the EA.

added SecondSet.

SecondSet is a new optimization of the original strategy. SecondSet activates the trailing stop loss in more profit.

there is a "ChooseEA" input; you can choose the original strategy (Gold High) or the SecondSet.
Version 1.20 2023.04.11
Added a special DrawDown control function.

This function is optional, if you don't want it you don't need to update the EA.

Inputs:

StopNewTradesInDD : if you choose "true" the EA will not open new trades after the "StopNewTradesInHowManyPercentDD" percent drawdown.

StopNewTradesInHowManyPercentDD : the required percentage of drawdown to stop opening new trades.

CloseAllTradesInDD : if you choose "true" the EA will close all the open positions on the account at the "CloseAllInHowManyPercentDD" percent drawdown.

CloseAllInHowManyPercentDD : the required percentage of drawdown to close all the trades.

the "CloseAllTradesInDD" function does not use the magic number and it will close all the open positions even if they are not opened by the EA. So you just need to enable the "CloseAllTradesInDD" function in one of the charts and it will close all the open positions at the "CloseAllInHowManyPercentDD" percent drawdown on all of the charts.

for the "CloseAllTradesInDD" function, your chart's background color should not be "LightCoral" color.

The EA calculates the drawdown based on this formula: drawdown percentage = ((Balance-Equity) / Balance) * 100

backtest it in visual mode to understand it before using it.