EA keeps on taking trade as far RSI is above your condition even when the first trade is over or has hit stop loss
-
Please can this bug of trades still being taken continually even when take profit or stop loss has been hit just because the RSI is above a certain line you condition it to take trade at when above or below such line mean while you only meant it should pick trade once when above or below such line and not pick any other trade again till price recorrects..
For example I place a condition telling my Robot to place a buy trade when RSI line is above or greater than > 25
I expect the robot not to place any other buy that after such condition has been met and it has placed a buy trade once which hits take profit or stop loss.It is not supposed to place any other buy trade again until price goes below line 25 and comes up again above it. It should only place such buy trade only once and not place again after stop loss or tp has hit until the RSI line goes below line 25 and come up above it again before it places another each time such happens.. I think if the == operation where to be working it could have been the best alternative to this.
Please can such bug be quickly corrected or worked on?
-
i don't think it's a bug. Can you share the link to your project?
-
It's not a bug, your logic needs to prevent this happening
-
Ok please what logic do I need to add to prevent this from happening?
-
Is just a simple tree
onTick No TradeIndicator RSI. Value > 40
that's greater than 40Then Buy Condition here
-
then what logic do I add to it to prevent this from hapening can you help me out?
this is the simple condition
Is just a simple tree
onTick No TradeIndicator RSI. Value > 40
that's greater than 40Then Buy Condition here
-
If a trade has been placed, you will need to prevent one from happening again, like, for example, a once per bar block. There are many options to choose from, your reason for preventing a new trade is your setup specific.