Ichimoku Issue with scripting

Optuma Forums Optuma Scripting Ichimoku Issue with scripting

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #60549
    • Topics: 65
    • Replies: 55
    • Posts: 120


    I have a below formula for ichimoku signal. In my understanding the below code satisfy the conndition 1 i.e the close crosses above the upper band & if at that time chikou line is greater than upper band it should give a signal.
    Now based on below code i apply to showbar and everything appears to be fine. In the below image the showbar appears so far so good.

    The problem arises when i go n select training mode and go back just one day the showbar disappear.

    Why is this happening. What i want is just whenever the close crosses above upper cloud chikou shall also be greater than cloud.

    • Topics: 66
    • Replies: 679
    • Posts: 745

    Hi Deepak,

    Using Training Mode with the Ichimoku won’t work because of the 26 period forward offsets used in the calculations.

    1 user thanked author for this post.
    • Topics: 8
    • Replies: 16
    • Posts: 24

    Hi Deepak,

    I use custom bar scripting and/or a second view for this type of testing with Ichimoku all the time and it works a treat so testing with Ichimoku can definitely be done :-), as I expect you’ve worked out now anyway…

    • Topics: 65
    • Replies: 55
    • Posts: 120

    Sir can you please give an example

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest