arrows acting on the same candle
-
Hi
i was looking to implement a simple code of an arrow indicator, it appears and disappears(on retracements)i want to open a trade when it appears and flip the trade the other side if it disappears.
my problem is that i dont want the disappear function to keep functioning on future candles after the intial candle have settled.example: the buy arrow appears , opens a buy, on the same candle it might disappear (during retracements) i want to flip it back to sell. then stop the blocks from acting till the next sell arrow appears on a candle and opens a sell.
I want the conditions for buy to act only on 1 candle (both appear and disappear) till the next sell signal(also both appear and disappear ) on the same candle only.
any suggestions?
thanks -
My first suggestion is to look at that Buy-Sell-Buy-Sell example in the examples, because this one shows that flip-flopping. Condition blocks will have something else in them, and I think that you also need to use "Once per bar" somewhere, to prevent something from happening 2 times in the came candle.
Or, maybe this block "Skip ticks". You are saying "stop the blocks from acting..." and this block does exactly that.