Open reverse trade when current candle closes above previous candle open, ONLY ONCE.
-
I am wanting to open a reverse trade when current candle closes above previous candle open but I only want this to happen once on the trade. Here is the project. Any ideas? Thanks guys https://fxdreema.com/shared/wWesKxVVc
-
@drewliedadeuce But how many open trades at the same time are supposed to be? Unlimited or no more than 2?
-
@l-andorrà No more than 2
-
@drewliedadeuce use group numbers to control the "only once" thing. The base trade is group 1, reverse trade is group 2
-
@roar should "if trade" of reverse also be group 2
-
@drewliedadeuce sounds good to me
-
or should "if trade" remain as group 1 and buy/sell blocks become group 2? Im not quite sure if my thinking is correct
-
@drewliedadeuce as I said, base trade is group 1 and counter trade is group 2. If you want to check if counter trade has already been placed, use group 2 in the "if trade" block.
-
Awesome. thanks @roar I'll give it a swing.
-
@roar the suggested logic did not execute the reverse trade
-
@l-andorrà any suggestions my friend?
-
@drewliedadeuce Can you please share your project?
-
@l-andorrà thanks for your response. Here is what I have https://fxdreema.com/shared/OQvjBzrPc
-
@l-andorrà thanks for your response. Here is what I have https://fxdreema.com/shared/OQvjBzrPc
-
@drewliedadeuce Blocks 3895 and 3771 are supposed to create a group 9 trade that is inexistent anywhere else in the EA. Shouldn't be defines as 'group 1' instead?
-
@l-andorrà I have it set to a unique group because when I group it with the base trade it does not open the reverse trade. The way it is configured now does open the reverse trade, however I want to limit it to opening only 1 trade when the condition passes
-
@l-andorrà ideally the reverse trade (group 9) would initiate once if said condition happens on group 0
-
@seb-0 can you offer any assistance?
-
@roar turns out you were right using the base trade along with check trades count works perfectly. =] Now if I can figure how to get this thing to skip the first bar ? https://fxdreema.com/shared/rZvvARuFd
-
@drewliedadeuce Do you mean the first barwhen running for the first time or every time conditions are met?