Referencing Multiple TimeFrames

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7328 quote
    TraderArunTraderArun
    Participant
    Junior

    Hi, how do I reference the RSI (14 period) of a 15 minute chart from a 5 minute chart?

    I know you can use the TIMEFRAME feature on the scanner but is there something similar when back testing or creating an indicator?

    Many thanks,

    #7331 quote
    deleted190722deleted190722
    Participant
    New

    this i something that could help you… it is on pivot points but you can modify it with any indicators. With this code you see the indicator of 1 hour period in 5 minute timeframe

     

    once i =0
    once x =0
    
    if minute = 0 then
    i=0
    Massimo = high[0]
    while i<12
    if high[i+1]>Massimo then
    Massimo = high[i+1]
    endif
    i=i+1
    wend
    endif
    
    
    if minute = 0 then
    x=0
    Minimo = low[0]
    while x<12
    if low[x+1]<Minimo then
    Minimo = low[x+1]
    endif
    x=x+1
    wend
    endif
    
    if minute = 0 then
    chiusura = close[0]
    endif
    
    
    //return Massimo as "Massimo", Minimo as "Minimo", chiusura coloured(0,0,255) as "Chiusura"
    
    
    
    
    PP = (massimo+minimo+chiusura)/3
    Res1 = (2*PP) - minimo
    Sup1 = (2*PP) - massimo
    Res2 = PP + (Res1 - Sup1)
    Sup2 = PP - (Res1 - Sup1)
    
    
    return PP[1] coloured(0,0,255), Res1[1] coloured(0,255,0), Sup1[1] coloured(255,0,0), Res2[1], Sup2[1]
    
    Nicolas thanked this post
    #7334 quote
    TraderArunTraderArun
    Participant
    Junior

    Hi,

     

    Thanks for sending over the code. I’m new to coding and this makes no sense to me. I hope someone can show me the exact code.

     

    Many thanks

    #7350 quote
    NicolasNicolas
    Keymaster
    Legend

    Hi TraderArun, unfortunately, multitimeframe indicators are still not available, but this feature will be part of a next major version of the platform.

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Referencing Multiple TimeFrames


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
TraderArun @traderarun Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by NicolasNicolas
10 years, 4 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 05/19/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...