Ichimoku Issue with scripting

Optuma Forums Optuma Scripting Ichimoku Issue with scripting

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

    Hiii,

    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.

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

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

    #60589
    Darren
    • 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.
    #65437
    Steven
    • 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…

    #65493
    Deepak
    • 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