Set part of database

Viewing 4 posts - 1 through 4 (of 4 total)
  • #15798
    quo

    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

    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
    quo

    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

    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 . . . .

    1 user thanked author for this post.
    avatar quo
Viewing 4 posts - 1 through 4 (of 4 total)

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