buy and sell at horizontal line or object
-
https://fxdreema.com/shared/3K7fBET5e
what I want is for the trade to only place a buy or sell and not both at the same timemore like i dont want it to hedge... i cant seem to find the error or what to correct, above is the project link. its quite urgent @l-andorrà @admin -
Are you getting buys and sells at the same time. According to your current logic that should only happen if those lines are exactly coincidential. Is that what you find when backtesting it?
-
Not exactly the same time... But if a buy trade is running and A sell condition is met it will still Sell

Also it is not trailing the SL as i want.
What I want is for the bot not to place a new trade as long as there is a current trade running.
Also I want it to trade it Sl a certain pips away from current price once it enters into profit at a certain pip.
For example price is 13pips in profit. SL is trailed into profit by 8pips (5pips) difference from current price)
And it runs like that till it hits TP/SL.My project link is in the first post.
Please help send adjustment or opinions. Thanks -
so you have to change blue no trade block buy and sell together , dont separate it
-
@1stusFx Then you should use one 'no trade' block only, instead of 2 separated ones, one for buys and another for sells.
-
Ok thanks