Help with EA Fix on “Exit Conditon and Trailing Stop and Trading WeekEnd”

 

Hello everyone!

Sorry to cause trouble to the people here. I don't know the coding. I am here to let some helpful people help me with my EA exit conditions and Trailstop issues?

I got the formatted setting EA and 3 trading hours and weekend trading codes from Google search. I managed to enter the trading time and weekend trading in the EA.

I tested it on demo that demonstrated the success of the Expert Advisor trading opening hours and stopped transactions are executed according to the defined trading hours. The Problems I have encountered:

1. The exit and trailing stop conditions have stopped (I want it to be continue running). How to make Exit and Trailstop run continuously without limiting by the trading time?

2. The entered weekend transaction code does not work at all.

I sincerely hope that someone can help me solve these problems.

Thank you

 

Attach EA. The following is the EA code:


Files:
Reason: