Forum

EA circuit breaker

What types of coding (fail safes) should be included in a ea to prevent it from draining an account from opening too many trades? It is possible for an ea to open hundreds of trades in a second if something was coded incorrectly. So, what type of coding should be included to prevent this from

Help with ea to close position after an input price is hit

I need help in coding a condition where I input a price (actually 3 prices), and when that price is hit (I will be using a long position for this example) the ea will "know and remember" the exact bar that hit this price. At this point, the ea will use the low price of this bar to exit the trade. It