what is happening to my bot
-
hello guys , my problem is that the ea looks for the conditions to be met and when they do it opens a position but it closses at the same time , means it does not let the position hit either stop loss or tp it closses without any reason , could u guys help please
-
Add a shared link to look at.
-
-
Because candle 1 is a bull candle
-
but we see if it is bullish after the cross happens and the position is opened , then it has to detect if there is a bullish candle it close the position , but it does not do that , did i get u right '
-
As that is if there is a cross once per bar a trade will open, if candle 1 is bullish the trade will close, as your ma's are gong to cross due to an up push trade will likley close straight away, try different logic, or put a pause in before the close.
-
where can i find the pause u mentioned please
-
You have to build it, for example count minutes in to a variable, reset this on placing a trade, above close check minutes are > chosen number, with a condition.
-
well that sounds a bit complicated for me , i dont think i can do that , can u tell me how to make it close the trade after a defined time i will give it to it if the position does not hit the tp
-
Start a project doing this, then add a shared link.
-
the thing is that i did not get what u said . i am a nobe when it comes to this , can you explain more so i can do it please
-
Create project-project screen-open project link in web page-copy address bar and past here
-
@jstap i can share but i cant undrestand what u told me to do in the previous answer , a bit complicated