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 futtrader, 04-21-2024, 01:50 AM
        6 responses
        57 views
        0 likes
        Last Post futtrader  
        Started by sgordet, Today, 11:48 AM
        0 responses
        1 view
        0 likes
        Last Post sgordet
        by sgordet
         
        Started by Trader146, Today, 11:41 AM
        0 responses
        2 views
        0 likes
        Last Post Trader146  
        Started by jpapa, 04-23-2024, 07:22 AM
        2 responses
        17 views
        0 likes
        Last Post rene69851  
        Started by funk10101, Today, 11:35 AM
        0 responses
        1 view
        0 likes
        Last Post funk10101  
        Working...
        X