Set part of database

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15798 quote
    quo
    Participant
    Average

    Hello,

    Is it possible in PRT set only part of the database?

    For example if i have prices of one stock from jan1995 until today: Can i put prices from 2003 for example until today?

    I want that the trading system doesn´t take into account all the historical data, just part.

    Note: i already know it is possible to modify trading system and tell them to begin where i want but i dont want that. I want to erase some data from the begining. With this the indicators would change and therefore the system.

    thanks

    #15904 quote
    Nicolas
    Keymaster
    Master

    It is not possible to modify by yourself how the history is displayed on the chart, but if I understand you correctly, you want your indicator to compute only starting from 2003? Why don’t you add this date condition in the indicator code? or is there something I missed?

    #16041 quote
    quo
    Participant
    Average

    Hi Nicolas,

    If i take data from 1995 until today and in another graph data form 2003 until today, the 23 april 2009 i will have different values of my indicators (moving averages etc) in both graphs and therefore the signals of the trading systems will be different. Thats why i wanted to test it without the first years.

    Did you say i can ask the indicator to begin in a different date than the first one? i did not know that was possible. Can you tell me how to do that?

    and… some indictors as MACD and Moving averages are given by default and is not possible to modify them.

    thanks

    #16044 quote
    Nicolas
    Keymaster
    Master

    If you are using very long periods of calculations , results of indicators could be quite different , but not if you are using the default ones . Of course,  if we are talking about monthly timeframe I agree with you .

    If you want your indicators to calculate only from a date,  you just need to include the whole code into a conditional statement like this : if date > 20030101 then . . . .

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

Set part of database


Platform Support: Charts, Data & Broker Setup

New Reply
Author
author-avatar
quo @quo Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Nicolas
9 years, 3 months ago.

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 11/01/2016
Status: Active
Attachments: No files
Logo Logo
Loading...