Fix my code, shouldn't take that long. Heiken Ashi, stop loss, atr bot trader. PLZ help me

 

This code is different from all of the other bots. If it works then send back but keep it and back test to see if this is a good strategy. I really tried to make this work so if anyone plz plz plzzz help me that would be amazing. 

Files:
 
ams005:

This code is different from all of the other bots. If it works then send back but keep it and back test to see if this is a good strategy. I really tried to make this work so if anyone plz plz plzzz help me that would be amazing. 

What are you talking about? I can see a normal code with normal candlesticks checks and without proper error handling, like most codes around here.

Also, what is not as you want with the code you shared?

 
Please post your problem in Freelance section.