Ichimoku Cloud Cross Strategy

Forums ProRealTime English forum ProOrder support Ichimoku Cloud Cross Strategy

Viewing 3 posts - 1 through 3 (of 3 total)
  • #20148

    Hello everybody,

    i have a question. I try to code a Ichimoku Trading system.

    The Signal should generated, if the SenkouSpanA and SenkouSpanB crosses each other.

    If i do this in PRT, so i get only the Value of the SenkouSpanA and B from the actual bar. But you know, that the cloud is generated 26 Bars in future.

    I can choose bars in Past during i put the numbers of bar in ( ) or [ ] brackets, but how can i do this with bars in the future.

    In some other Tradingtools, this Value is named as SenkouSpanA Predicted, so it means not the Value of the actual bar, it means the Value in Future.

    To imagine, what i want, i make a screenshot from an other Tool.

    I hope you will understand.

    Thanks.

    btw.
    I am an PRT professional User (relation to coding service)

    #20177

    The Future SpanA and SpanB are nothing more than the actual value of the ichimoku cloud, not the cloud from 26 periods ago.

    So to get their values, the solution is to delete to [26] periods of the traditional calculation of the cloud:

    “normal” cloud (drawn on present candlestick and made of values 26 period ago)

    “future” cloud (drawn 26 periods to the right of the present candlestick)

     

    Thanks to the Rohan’s code: https://www.prorealcode.com/prorealtime-indicators/ichimoku-trend-or-range/

    #20245

    Thank you. It is the right code.

    Unfortunately the results are not as expected. 🙁

    Thanks again.

    Good work.

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login