Hey guys,
I built this code, but I have a problem with my trailingstop part, it trigger in some situations I won't, like after a sell it trigger a short, or after a buy it trigger a cover.
So a tried put Exrem() function to solve, but doesn't work, maybe because are some conflit in my code...