Simple Problem Needs to Be Solved
-

I want this to buy only once from the beginning after turning the ea so the purple code can read from the previous trade closed.
I've tried everything but the ea keeps spamming buy trades every time
-
Not sure I fully understand what you mean. Do you mean you need to open a buy or a sell as soon as the EA is executed after being removed from the chart?
-
@NamiyrD
Maybe at least there should have blocks "once per bar" or you will get your "spamming buy trades"