Daily system on 5 min TF instead

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6435 quote
    simon_jsonsimon_json
    Participant
    Average

    Hi friends,

    I have systems that must be run on daily timeframe, but since ProRealTime don’t have “look inside bar”, I can’t see which SL and TP that works best.
    But if I change the code to the following, then maybe I could run the code on any timeframe, and it would still use daily data? Is that correct?

    System 1:
    From (On daily TF):

    aa1=-d1*x1-a2*x2-a3*x3-d4*x4+close
    

    To (On 5m TF):

    aa1=-d1*x1-a2*x2-a3*x3-d4*x4+Dclose(0)
    

    System 2:

    From (On daily TF):

    Indicator1=A1*close[1*A]+A2*close[2*L]+A3*close[3*L]
    
    To (On 5m TF):
    Indicator1=A1*Dclose(1*A)+A2*Dclose(2*L)+A3*Dclose(3*L)
    

    Am I correct? Have I translated the code correctly?

    Thanks!

    #6472 quote
    NicolasNicolas
    Keymaster
    Legend

    Yes it is correct! Well done 🙂

Viewing 2 posts - 1 through 2 (of 2 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

Daily system on 5 min TF instead


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
simon_json @simon_json Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
10 years, 4 months ago.

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