Automated trading with Pivot Points and Dojis

Viewing 15 posts - 46 through 60 (of 85 total)
  • Author
    Posts
  • #70722 quote
    robertogozzi
    Moderator
    Master

    I know you backtested it on DAX 15-min, but I also need to know Time & Date o that candlestick + Oscillators used with theur settings, to be able to replicate your backtest.

    Tahnk you.

    #70723 quote
    cgraubner
    Participant
    Junior

    I set the time zone to utc +2 europe berlin and I was backtesting for 100000 units. One of the errors occured on monday 30.04.18 at 14:30 o’clock.

    Thanks again!:)

    timezone.png timezone.png
    #70756 quote
    robertogozzi
    Moderator
    Master

    The problem is in lines 102-107, because once they have been reset to ZERO pending orders cannot be entered correctly. Remove them.

    Sorry for the wrong suggestion.

    cgraubner thanked this post
    #70771 quote
    cgraubner
    Participant
    Junior

    Thank you, but now the the stop is also not at the supposed place:(

    stop-1.png stop-1.png
    #70789 quote
    robertogozzi
    Moderator
    Master

    The stop was triggered by HDBP (high[1]+2) at the price of 12586.

    #70792 quote
    cgraubner
    Participant
    Junior

    My stop is triggered at 12571, like in the picture above. Did you change something else in the code since it is apparently working with your code? 12586 is my intedted stop.

    #70795 quote
    robertogozzi
    Moderator
    Master

    I did not change anything, just added a few GRAPH linea at the bottom.

    cgraubner thanked this post
    SLerror.jpg SLerror.jpg
    #70813 quote
    cgraubner
    Participant
    Junior

    That is pretty weird, I don’t get it why I get different results with the exact same code.

    #70815 quote
    cgraubner
    Participant
    Junior

    When I change the start time from may 2016 to 2nd of april 2018 I get the same results. So what does that mean for the code? Is it only working for a short amount of time, or is the backtesting not working properly?

    #70816 quote
    cgraubner
    Participant
    Junior

    Unfortunately it is still not working, as you can so on friday 11.05.2018 at 13:30 o’clock.

    example.png example.png
    #70823 quote
    GraHal
    Participant
    Master

    When I change the start time from may 2016 to 2nd of april 2018 I get the same results

    Picture tells a thousand words … be good to post screen shots of your two same results … as I immediately found myself asking same as what?

    #70825 quote
    robertogozzi
    Moderator
    Master

    I guess he was referring to my topic where I attached a screenshot of a backtest in that time interval, so he meant that using that time interval he could get the same results as I did.

    I will do some tests to make sure narrowing or widening the time interval when backtesting will not (it shouldn’t) affect results.

    GraHal and cgraubner thanked this post
    #70885 quote
    robertogozzi
    Moderator
    Master

    I won’t be able to debug the code till monday. Have a nice weekend!

    #70887 quote
    cgraubner
    Participant
    Junior

    That is no problem, thank you for your help! Have a good one, too:)

    #71017 quote
    robertogozzi
    Moderator
    Master

    Unfortunately it is still not working, as you can so on friday 11.05.2018 at 13:30 o’clock.

    It works perfectly, it opens a trade and closes it as soon as any closing price is > than the previous high, no need to reach the Stop Loss previously set.

    cgraubner thanked this post
    Pivot-strategy.jpg Pivot-strategy.jpg
Viewing 15 posts - 46 through 60 (of 85 total)
  • You must be logged in to reply to this topic.

Automated trading with Pivot Points and Dojis


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
cgraubner @cgraubner Participant
Summary

This topic contains 84 replies,
has 5 voices, and was last updated by robertogozzi
7 years, 9 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 05/07/2018
Status: Active
Attachments: 25 files
Logo Logo
Loading...