Ichimoku Across Timeframes

Optuma Forums Optuma Scripting Ichimoku Across Timeframes

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #65439
    Steven
    • Topics: 8
    • Replies: 16
    • Posts: 24

    Hi Guys,

    I want to use the Ichimoku signals on a daily timeframe and colour code the bars on an hourly chart (for example) based on a condition on the daily.

    I have tried pretty much the same thing using a common MA and works a treat but using Ichimoku components, no such luck.

    I simplified it down to the Tenkan and Kijun lines (their order in particular) on the Daily timeframe using code for custom scripting of bars as follows:

    TS=ICHIMOKUCLOUD(Day(PERIODAMOUNT=1)).TenkanLine;
    KS=ICHIMOKUCLOUD(Day(PERIODAMOUNT=1)).KijunLine;
    TS <= KS

    However, this isn’t working when looking at lower timeframes, in particular, EURJPY  60 mins.

    The exact same thing using MA’s works a treat across timesframes
    CLOSE(Day(PERIODAMOUNT=1))<MA(Day(PERIODAMOUNT=1), BARS=6, CALC=Close)

    I’m using the Beta version of Optuma now and I’ve read previous Ichimoku posts that say Ichimoku is “difficult” due to it’s future projections etc .

    Has anyone had similar experiences or know if the above code is incorrect?

    I can manually create the cloud via my own scripting, rather than use, the Ichimoku prebuilt Optuma functions but would highly prefer not to have to do that!

    Cheers

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest