Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Incorrect entry

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Incorrect entry

    Running 4 Renko I notice every nce in a while a entry that I don't believe should of been filled. I have attached an example of a long entry:
    1) The MACD signal does not cross 0
    2) The Green EMA is suppose to be greater than the GOLD SMA
    3) The Red line is suppose to be blue for long (Signal direction)
    I started the strategy from the chart so there should not be a chart syning issue
    I can reproduce ir in Market Replay
    Attached Files

    #2
    Hello,

    If I remember correctly your running this strategy with COBC = False correct?

    I look forward to assisting you further.

    Comment


      #3
      Corect
      CalculateOnBarClose =
      false;
      Could this be another symptom of the other issue?

      Comment


        #4
        Hello,

        Might be expected then.

        As these conditions have to be true for the order to execute. However when the bar is forming the values of those conditions are not yet set in stone at the close values. Thus you could have an entry that occured antra bar. But then the bar pulled back and the entry conditions where no longer true.

        To verify you would need to start Print() your entry condition variables.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by AaronKoRn, Today, 09:49 PM
        0 responses
        6 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Today, 08:42 PM
        0 responses
        8 views
        0 likes
        Last Post carnitron  
        Started by strategist007, Today, 07:51 PM
        0 responses
        9 views
        0 likes
        Last Post strategist007  
        Started by StockTrader88, 03-06-2021, 08:58 AM
        44 responses
        3,975 views
        3 likes
        Last Post jhudas88  
        Started by rbeckmann05, Today, 06:48 PM
        0 responses
        9 views
        0 likes
        Last Post rbeckmann05  
        Working...
        X