af1 / Publications
Forum
Order failed to open. Error: 0
Hi. I'm testing this ea on demo, but I'm frequently getting the "Error: 0". And when this error shows up, the orders failed to open. Then, the ea retry to open again, but at the next iteration (5m, 15m or whichever the timeframe is). Sometimes opens, sometimes retries, and retries until finally open
Change iExposure indicator view from sub window to chart window
Hi, Im trying to change the iExposure indicator view from sub window to main chart window. I've already tried modifying the code from #property indicator_separate_window to #property indicator_chart_window , but still can't see the indicator in the main "chart" window. Any suggestion? Here is the
SELLLIMIT & BUYLIMIT Orders - Reopening Issue
Hi. I need some help with this code. When I push play, the EA opens SELLIMIT orders and BUYLIMIT orders, that's ok. When the price goes up and reaches SELLLIMIT order #1, the order is triggered, and becomes a SELL position, that's ok. The problem is when the price return (goes down), below the price
Close Profitable Trades Only, at Profit Target
Hi, I'm testing this ea and I think it's very useful to close orders, but in my case I don't want to close all open orders, I just want to close only the profitable orders. I've changed the "CloseProfitableTradesOnly" value from false to true, but orders keep closing at 1 usd. And what Im looking is