on tick
-
I am trying to run an EA and I need it to buy/sell real time before the candle closes. I putting candle id to 0. Is there anything else I can do?
-
That depends on the other conditions. What you do is correct so far.
-
Thank you for that.
-
I have another question. How do I get the trades to close if profit is negative x amount? I used account button profit (equity-balance) > -x but it does not work on the tester.
-
@Michaelgstrainjr Do you mean closing a trade when a specific loss is hit? If so you can do this:

-
Thank you.
-

I put this and it is not working.
-
Delete the once per tick block and replace with a for each trade block, dark pink and light pink need to be together, they are like 2 blocks to make 1
-

I do not see a for each trade block. Also, I need my account to have a max loss of say $100 not a percent of balance. What can I do?
-
Actually I just solved it. Thank you guys.