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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        35 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        20 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        12 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        18 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        20 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X