Flicker on x>
-
How come when ever that i put x> (crosses above or crosses below), in what ever combination, the trade flickers, it takes a Buy
and then it closes that Buy and than again it takes a Buy _ thereby loosing just to enter a trade ?On the other hand, when given a continues signal of IS ABOVE (>) or IS BELOW (<),,, it does not flicker
No trade
condition CCI x> 0_____ condition CCI <x 0
Buy now _____________ Sell nowIf trade
condition CCI <x____condition x>
close Buy ________ close SellIf trade
Once per bar
close trades (Buy and Sell) -
When trade is opened and then immediately closed, this means that the condition to open it and the condition to close it are both true, they both pass one after another
-
Okay, lets put Condition to open a trade entirely different from condition to close that trade
No trade
Condition Rsi 2 x> 70
Buy nowIf trade, Once per bar, Close trades (buy,sell)
the sell condition would be Rsi 2 <x 30
In the above case, condition to "BUY" has no relation with condition to "SELL" __and both trades are being closed at once per bar,
so the three conditions are independent of each otherBut than It still flickers, opens a trade and than closes it and opens it again,, loosing money, for no reason
-
If you have something like this - https://fxdreema.com/shared/w5Pxyrjve - then this is what happens.
- When the condition is true, a new Buy trade is created
- Now "If trade" is able to pass, because of that Buy trade that already exists. So it passes.
- What follows is "Once per bar". This block has internal memory and knows that it was already called in the current bar. But this is the first time that this particular "Once per bar" is called, so it passes immediately
- The next block is "Close trades" and the Buy trade closes
Note that "Once per bar" is working on individual level. Each one of these blocks has its own internal memory. You can call "Once per bar" block in the beginning of the bar or in the middle, it doesn't matter, it will pass once at the time its called. Here is more: https://fxdreema.com/demo/mt4-once-per-bar