backtest 2 in

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #230580 quote
    dovakinus
    Participant
    New

    Hello geniuses
    i’d like to backtest this strategy if anyone can help me. i’d be grateful. thank you.

    Strategy with XOM (Exxon Mobil) and IBB
    Analysis periods :

    Four-year Reference Period for XOM and IBB: For example, from 2020 to 2023 to assess historical performance.
    Two consecutive 4-year periods for IBB: From 2016 to 2019 and from 2020 to 2023, to assess IBB’s upward trend.
    Conditions for entering a Buy Position on IBB :

    Condition 1 (XOM): Exxon Mobil must reach a new high in the current period (2024-2027) relative to its previous high in the four-year reference period (2020-2023).
    Condition 2 (IBB): IBB must also reach a new high in the current period (2024-2027) in relation to its previous high in the same four-year reference period.
    Condition 3 (IBB – Uptrend): IBB must have shown an uptrend for two consecutive three-year periods (2016-2019 and 2020-2023), defined by a closing price at the end of each period that is higher than the closing price at the end of the previous period.

    Buy IBB: If all the above conditions are met, a buy position is taken on IBB at its new high.
    With a 10% target
    calculation of drawdown
    and sharpe ratio calculation

    the dates given are just to illustrate what I want to do. but you have to understand that I know when it’s going to happen. so four-year reference period for XOM and IBB.  Two consecutive 4-year periods for IBB.

     

    thanks

    #230602 quote
    Iván González
    Moderator
    Master

    Hello You cannot do backtests referring to other assets…

    #230604 quote
    dovakinus
    Participant
    New

    can not only with prorealtime  ? Why ?

    #230622 quote
    PeterSt
    Participant
    Master

    Good question. It has been asked more than a 1000 times, but the people from ProRealTime just don’t make it.
    Indeed it is so that about each trading platform allows for this. Also, it is perfectly normal operation for a trader (I myself observe dozens of instruments at the same time, the whole day, day in day out).

    @Iván, knowing about the Calculated Instruments which function actually testifies that the technique to do it is available to PRT development (for many years by now), couldn’t you find out the reason of why this is never implemented for real ? Is the core of PRT so oldfashioned and rusted that nothing can be done with it ?

    #230626 quote
    Iván González
    Moderator
    Master

    Peter,
    To be honest… I don’t know why…
    I have asked few times for that but nothing. I will save this topic and share with them.

    Cross fingers 🙂

    PeterSt thanked this post
    #230627 quote
    dovakinus
    Participant
    New

    ok I see thank you for your answer I want to set up a strategy that allows to buy the highest of the previous bar with a target of 5% without stop loss.

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

backtest 2 in


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
dovakinus @dovakinus Participant
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by dovakinus
1 year, 10 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 03/27/2024
Status: Active
Attachments: No files
Logo Logo
Loading...