Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MulticolorEMA indicator

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

    MulticolorEMA indicator

    I used 6.5 for a while and the multicolor indicator worked fine.
    I downloaded 6.5009 and now when I try to bring up that indicator and a few others i set up they just show blank on the chart panel?
    any suggestions, I removed reinstalled , re wrote indicator nothing works, but note the indicators that are built in to 6.5009 work

    thanks
    Carlos

    #2
    Check the control center, log (tab) and see if there are any errors (yellow lines). Is the new beta is picking up some array bound errors from the older indicators?
    Last edited by thrunner; 02-17-2008, 10:06 PM.

    Comment


      #3
      checked the log it has a yellow line that says : Error on calling the 'OnBarUpdate' method for indicator 'EMA34Slope' on bar0: Slope() method 'startBarsAgo' parameter can not be less than EndBarsAgo Parameter.
      this is how I have it that worked on the previous beta 6.5 :
      Plot0.Set (Sloper(EMA(34),CurrentBar -1, CurrentBar));

      it worked last time on 6.6.04
      Thanks in advance
      C

      Comment


        #4

        slope() function changed in 6.507
        just a note to whoever is using slope, now it works with relative bar numbers... absolute bar numbers aren't necessary anymore. Nice change -(although not on the changelist)
        I didn't look at the code but you could probably go from:
        Plot0.Set (Slope(EMA(34),CurrentBar -1, CurrentBar)); ---->
        Plot0.Set (Slope(EMA(34), 1, 0));

        Comment


          #5
          Thank You thrunner, it worked like a charm.

          C

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CaptainJack, 05-29-2026, 05:09 AM
          0 responses
          51 views
          0 likes
          Last Post CaptainJack  
          Started by CaptainJack, 05-29-2026, 12:02 AM
          0 responses
          31 views
          0 likes
          Last Post CaptainJack  
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          99 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          177 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          170 views
          0 likes
          Last Post CarlTrading  
          Working...
          X