I got it working based off of @roar 's project so thanks guys! it was a problem with caclulating the max open sells because when i did it with a fixed value it worked fine

Any way to get the final trade to close a partial to keep the math more precise as a bonus? thanks guys!
Best posts made by Castlemaine
-
RE: Any reason why this is closing sells?posted in Questions & Answers
-
RE: Block execution orderposted in Questions & Answers
how do you manually change the numbers on the blocks? that would make things much easier. Also does it usually execute the blocks/trees higher to the "top" of the page first?
Latest posts made by Castlemaine
-
RE: CLOSE TRADES block not workingposted in Questions & Answers
the main single tree works fine, like I said. It's the little tree off to the side that isn't executing the 'close trades'. it's putting the comments on chart but not closing trades.
-
RE: CLOSE TRADES block not workingposted in Questions & Answers
I just want it to close every open trade once those criteria are met
-
RE: CLOSE TRADES block not workingposted in Questions & Answers
@jstap Thanks, I already posted the shared link 2 posts above
-
RE: CLOSE TRADES block not workingposted in Questions & Answers
@l-andorrà all of the yellow circled 'close trades' are working, just not he red one

-
RE: indicators UT bot alertposted in Questions & Answers
I've seen it on tradingview - do you have the MQ4/ MQ5 version?
-
RE: CLOSE TRADES block not workingposted in Questions & Answers
yes, there's another condition tree with the entries and exits

-
RE: How to get ATR multiple as an adjustable input filed?posted in Questions & Answers
Yeah you're right, not working for me either! Sorry, i'm sure someone else will have the answer!
-
RE: CLOSE TRADES block not workingposted in Questions & Answers
I even tried this to see if it was a problem with my variables, but even this didn't work!
