Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ergodic w/ histogram

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

    Ergodic w/ histogram

    Hi guys..

    Loved this indicator in 6.5, for some reason it's not importing properly in 7.0. I think it may have something to do with the location of the enum variables, as it throws errors when I change to GridCategory. Initial import is fine but doesnt display anything in 7.0.

    Would greatly appreciate any help that can be provided.

    The attached screengrab is 2 versions of the indicator in different modes.
    Attached Files

    #2
    Hi Jander,

    If you check the log tab, you'll see a line related to "TickSize"

    I removed the following from Initilize()
    Code:
    minBreach = _thresholdBreach * TickSize;

    and replaced it, in the first line of OnBarUpdate()
    Code:
    protected override void OnBarUpdate()
    {	
         minBreach = _thresholdBreach * TickSize;
         if (CurrentBar<1 || Bars == null) return;
    TimNinjaTrader Customer Service

    Comment


      #3
      Thanks Tim. I hoped it was something that small

      I will test aftermarket and report back

      thanks again

      Comment


        #4
        This is what Brett from NinjaTrader did, and it seems to work for me.


        "I had to make a single modification due to a change in 7 that the TickSize cannot be accessed in the Initialize method. I do not believe this will change the logic of the indicator however I do know know how the indicator should run. Please check the indicator to make sure it is working as you intend."

        Let me know if I can be of further assistance.
        Sincerely,

        Originally posted by Jander View Post
        Thanks Tim. I hoped it was something that small

        I will test aftermarket and report back

        thanks again

        Comment

        Latest Posts

        Collapse

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