Help with issue of trade entering at wrong level
-
I need help with this EA for some reason if I plot the EA on the chart after the trade is there it works fine. But if the EA is on screen before the trade it was entering exactly with the trade instead of waiting for the fib level. Then I put a delay hoping this will fix issue but it hasnt. I will attach project, thanks.link text
-
@duanvillanueva A few quick notes:
- You can remove the 'Pass' block on top. That is completely unnecessary.
- Why connecting 'If trade' blocks immediately below 'No trade' blocks? The 'If trade' block will not work if there is no trade right now, so you can also remove them.
Now on your question. If I understand correctly, your fibo should determine when the trade is open, right? Is the bot removed from the chart with open trades and then reconnected later maybe?
-
- Ok so I dont need anything above the timer?
- Cause what allows this bot to trade is a manual trade, one it does it notices the group # and doesnt allow to re-enter if the trade carries over to the next day.
Yes the fib determines if the trade is activated when it reaches the level. For some reason it seems like sometimes it works correctly and other most of the time doesnt work correctly.
-
@duanvillanueva My replies.
- Correct. The timer doesn't need any block on top.
- I understand. And that explains part of the problem. Open trades from previous sessions, unless properly stored into variables can be the reason why sometime is t works and sometimes it doesn't. I recommend storing some information about the trade into a variable and then reaching it out later to avoid that.
Additionally, the bot is redrawing fibos on a daily basis. That makes it difficult to know if yesterday's levels were hit when new levels are created today. Do you need that in the strategy?