ichi cross
-
Hello
I want to create a robot that can detect when the Tenkan-sen(9) line crosses above the Kijun-sen(26) line in the Ichimoku indicator, and then after 25 candles or more, if the Tenkan-sen(9) line crosses above the Kijun-sen(26) line again, I want to mark that second cross point with an arrow. Can anyone assist me with this?
like in picture
-
Sure. Do you have an initial project to begin with?
-
yes I create this but it's not true. Actually it's not working :)))
shared/B8WH9nqzb -
Your loop is working on tick, That means every tick will check for that conditions. However, I guess you need the 25 candles to be check later, right. The best option is separating both actions. Use one variable to check the first crossing and then a second variable counting bares after the crossing was confirmed.
-
you mean like this : shared/WXpwsXf7b
-
@l-andorrà I try this recently shared/DIpIarbNc
-
How and when is the 'occur' variable reset? You are close to what I suggested, but you are still connecting all blocks together when I said they need to be separated.