Python trading code successfully runs but doesn't place and trades after stating new candle found, can you guys help with improving the strategy and code.

 

In the process of making an automated trading bot, code successfully runs but doesn't place and trades after stating new candle founds, I need help with improving the strategy and code.

Thank you in advance.

 
If no any coder helps you on this thread so you may go to Freelance service to order the coder for this job for example.
Trading applications for MetaTrader 5 to order
Trading applications for MetaTrader 5 to order
  • 2024.02.25
  • www.mql5.com
The largest freelance service with MQL5 application developers
 
Sergey Golubev #:
If no any coder helps you on this thread so you may go to Freelance service to order the coder for this job for example.

Sure, Thank You.

 
TS26.5 #:

Sure, Thank You.

You need to specify in your code what the ea needs to do and to execute the trade on new bar, you also need to follow the correct logic here. There are some functions short, you can go to the freelance section and create a job. this is not a small job, it will take some time to fix it.

Reason: