Hi guys I need some help.
I need a ProScreener code of price crosses Tenkan; price crossed above and below. It should indicate when the price has crossed Tenkan and stop indicating it after 3 days (daily time frame).
I’ll use that code as a base to try to build out my screener.
Note: Tenkan is an element of Ichimoku Kinko Hyo.
Thank you very much
You can try the code below on the desired timeframe: It should detect any upside or downside cross with Tenkan that happened in the last 3 days.
REM Tenkan-Sen = (Highest High + Lowest Low) / 2, for the past 9 days
Upper2 = HIGHEST[9](HIGH)
Lower2 = LOWEST[9](LOW)
Tenkan = (Upper2 + Lower2) / 2
test = summation[3](close crosses over tenkan or close crosses under tenkan)>0
screener[test]