Trade opened in live, but dosnt show in backtest

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #90091 quote
    jebus89
    Participant
    Master

    Hi all,

     

    Luckily this actually went the correct way, i managed to get a great entry on the last candle of trade in dow jones, market popped up sharp and stayed there for the full hour, got decent profit out of it!

    But looking at backtest, it dosnt take the trade, see photo.
    Im not gonna share this code so i cant really ask “why”, but i was wondering how often you guys experience this?
    Havnt seen it before but then again i have done 300+ trades last 4 months lol, havnt checked every single one.

    #90093 quote
    jebus89
    Participant
    Master

    Backtest is left

    Real money on the right

    #90095 quote
    Vonasi
    Moderator
    Master

    Is the opening on pending orders or conditions at close of candle? If pending then maybe the spread in real life was different to the backtest fixed spread.

    #90096 quote
    jebus89
    Participant
    Master

    open based on conditions for close of candle aka open at next candle type of system.

    #90097 quote
    Vonasi
    Moderator
    Master

    The close on the decision candle is very close to the high – is this a factor in your entry conditions as spread could then confuse this entry condition. Try the backtest with different spreads and see if you can get it to enter the trade.

    #90100 quote
    jebus89
    Participant
    Master

    Found the error, it was on me. I copy pasted the code thats running live and it looks good now.. I can calm down now haha

    Meaning im a retard and must have done something to the code that fucked it somehow. Original running code looks fine tho.

    #90106 quote
    Vonasi
    Moderator
    Master

    Meaning im a retard

    I love it when someone can accept that they f**ked up! Personally I’m never wrong (please don’t ask my girlfriend about this subject though).

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

Trade opened in live, but dosnt show in backtest


General trading discussions

New Reply
Author
author-avatar
jebus89 @jebus89 Participant
Summary

This topic contains 6 replies,
has 2 voices, and was last updated by Vonasi
6 years, 12 months ago.

Topic Details
Forum: General trading discussions
Language: English
Started: 01/30/2019
Status: Active
Attachments: 2 files
Logo Logo
Loading...