Trades keep closing Immediately
2件の返信
こんにちは,
Im stumped on an issue I’m currently having. Some of my strategies like my strategy on gold futures keep closing immediately after opening. It’s strategy based on daily bars and at the end of the day it opens and closes the trade immediately. I’m using MT5 trading Darwinex Futures. It’s taking an immediate loss. It’s been happening every day. Is there a known solution for this?
ありがとう
0
Does this happen to many strategies? Or only those trading the daily timeframe?
Would you share a sample? You can send me to [email protected] for further analysis
0
I had chatgbt fix the code. Long info short, It was because the trade was happening at daily close and the data wasn’t populating yet for the EA to work properly. I fixed it by adding a 5 minute delay to the code
0
2件の返信を表示中 - 1 - 2件目 (全2件中)