Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help with adding plots?

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

    Help with adding plots?

    HI I am trying to add Plots to this volume delta indicator but unsucessfull
    I have added these lines but it doesnt plot

    Code:
    if (BarsInProgress == 0)
                {
    
                    Values[0][0] =  OrderFlowCumulativeDelta(BarsArray[0], CumulativeDeltaType.BidAsk, CumulativeDeltaPeriod.Session, 0).DeltaClose[0];
                    Values[1][0] =  OrderFlowCumulativeDelta(BarsArray[0], CumulativeDeltaType.BidAsk, CumulativeDeltaPeriod.Session, 0).DeltaOpen[0];
                    Values[2][0] =  OrderFlowCumulativeDelta(BarsArray[0], CumulativeDeltaType.BidAsk, CumulativeDeltaPeriod.Session, 0).DeltaHigh[0];
                    Values[3][0] =  OrderFlowCumulativeDelta(BarsArray[0], CumulativeDeltaType.BidAsk, CumulativeDeltaPeriod.Session, 0).DeltaLow[0];
    
                    Print("Delta Close: " + OrderFlowCumulativeDelta(BarsArray[0], CumulativeDeltaType.BidAsk, CumulativeDeltaPeriod.Session, 0).DeltaClose[0] + " CurrentBar: " + CurrentBar);
                    Print("Delta Open: " + OrderFlowCumulativeDelta(BarsArray[0], CumulativeDeltaType.BidAsk, CumulativeDeltaPeriod.Session, 0).DeltaOpen[0] + " CurrentBar: " + CurrentBar);​
    Attached Files

    #2
    Hello, thanks for writing in. Please first check the Log tab of the Control Center for any errors. Also confirm that your calls to OrderFlowCumulativeDelta are returning a value. They should be printing values from the Print methods that you have here.

    Comment


      #3
      ok. I looked at databox window and i didnt see it there. Does it mean its not plotting if its not there? or no

      Comment


        #4
        Hi Boris, this means the plots are either have their color set to Transparent, The strategy is not calling AddPlot in state.SetDefaults, or there are not values being applied to the plots.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        571 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        330 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        548 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        548 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X