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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        156 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        90 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        138 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        130 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        107 views
        0 likes
        Last Post CarlTrading  
        Working...
        X