Forum

Is my code restricting me to one order at a time

This is the first EA that I've written, borrowing bits from others, too. I have it attached to 12 charts on my Demo account , but it seems to only allow one trade at a time across all 12 forex pairs. My account and broker aren't restricting me in this way, so is my code restricting me to only one

How to stop indicator drawing on every candle

My indicator draws on the first candle that matches the condition, but I don't want it to draw again on every following candle that matches the condition. Is there some way to have it only draw the first time it matches a condition, but then not again until after the opposite condition is met