Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

can't get it to plot

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

    can't get it to plot

    i really am at a loss...
    i just can't see what i've missed...
    i just used the packaged EMA indicator to build one with a crossing signal
    and i can't even get the thing to plot
    this is probably the most simple indicator mod i've done - besides the color changing hull
    ... what is wrong here ?

    thank God it's Fed day tomorrow - the mrkts will be slow...
    Attached Files
    Last edited by stafe; 06-17-2014, 11:15 PM.

    #2
    For the first bar of your chart, which is CurrentBar = 0, you are referencing the prior bar Close[1] and the prior indicator value Value[1], although such values do not exist.

    All you need to do is to insert

    Code:
    if(CurrentBar < 1)
         return;
    in line 58 of your indicator.

    Comment


      #3
      omg, i do feel really stupid now
      i even checked the Log and of course there was the "out of range" error in bright yellow
      thanks Harry
      i put down programing in 1982 and just picked it back up two years ago with C#
      got all this rust all over me...

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      579 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      334 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
      554 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      551 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X