
here is an example. if you can see. the first entry is buy. then the second sell entry appear. when the sell appear. i want to close the buy entry

here is an example. if you can see. the first entry is buy. then the second sell entry appear. when the sell appear. i want to close the buy entry
Hi,
It is possible to close entry on new opposite signal. for example
if buy trade open. then there a new sell trade open. then buy trade will be close
if sell trade open. then there a new buy trade open. then sell trade will be close
I dont want to set any indicator parameters or Candle ID whatsover. just to close on new opposite signal no matter what
what is the block can be used to make this happen. thanks
maybe this related to your strategy. give a look
youtube. com/watch?v=H8EKS5jG1tE&t=17s&ab_channel=Boxxocode
@l-andorrĂ yes 100% work automatically. how to setup the variables in this strategy.
the reason I want to use line instead of SL trailing because my main strategy is grid trading where some point robot will open lot of trades. then when in profit I don't want all the trade move SL moving around as this approach will get a warning from broker due to lot of sl moving trailing in same time
Hi I want to implemement this strategy on my project
when there a buy and sale trade . total trade profit in 10usd . I want a line is drawn at profit 5usd
when total profit in 20usd. draw a line at profit 10usd. then delete the previous one.
this is like a breakeven line function. I don't want to use trailing stop and breakeven. i want to use line drawn as a breakeven line,
when candle move below the drawn line. all trades will be close.. please help
here is my Illustration
A: Profit 10usd detected
B: Draw line at 5usd
C : candle goes up above yellow line. close all trade
I want it continuously detect every 10 USD in profit and start draw line at -5 USD from current profit


Here is shared project
https://fxdreema.com/shared/1g7RfHQ4c
never mind. I think I will go for this approach . Instead of make it open sell order. I just create a sell pending order in grid indead. easy not too complicated with the block 


@l-andorrĂ please look at the illustration above. thanks
Here is my illustrations of the concept. Hope you can understand the logic
.

At the fiveth buy trade .Robot will open a sell trade and when price going down the bot will continue open a sell trade
Hi, Iam currently testing on Grid and Hedge function.
I manage to do a grid with these block . when price goes down it will open buy trade . if price goes up it will open sell trade. its follow grid distance i set. no problem at all


The problem start when I want to hedge the position by using 'check trade' block . What I want to do is. When there is a total 5 buy trade. EA will open sell trade.
When there a sell trade, I TURN OFF buy block. then if Price goes down more, I want sell trade to be open accordingly to the grid distance I set.
But in result,I got a lot sell trade open up and down near the first sell trade. Its not follow the grid distance I set. look at the image below.


Please help me identify the problem. Here is the project link. Thanks in advance
Hi, need help from experts.
I got two conditions indicators to make entry
SELL entry
first rule is candle must close above the red line @ buffer 3
second rule is rsi must in above 80 overbought limit. red arrow at the top
then EA make sell entry
my problem in backtest. when rsi in above 80 overbought limit. EA make entry at 2 red arrows below the red line . EA ignore the first rule,
how to make sure the first rule is met. then second rule met. entry happen. its about candle id I think
how to make the EA check condition the previous candle is above red line. and current candle is in rsi 80 overbought limit. entry happen
please help. thanks
