Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

simple multiframe indicator problem

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

    simple multiframe indicator problem

    Hello there,

    I'm trying to create a test sample indicator which color candles from MA crossing from timeframe 1min to any timeframe (will test 5min for the exemple).
    I coded it and after blindfolding it, I find it is out of sync between 1min colored on 5min ...and 1min standalone.

    I'm not sure if this is my fault (programming mistake) or a bug from Ninja. Could you please have the look if you have the skills for it ? Thanks a lot

    Here are the 2 indicators :
    - Sensitivity (which is the one coloring 5min from 1min MA crossing) is to be added on a 5min chart
    - SensitivityDoubleCheck is to be added on a 1min chart (it's the indicator without multiframing)

    If you let them run together, you'll see that they are from time to time out of sync.
    Like on this chart, the left screen is the "normal 1min" and on the right the "1 on 5min". At 15h35 the "1 on 5" should be colored Lime already. When live testing the neutral color DarkViolet just 1 minute before dit not report correctly on the right screen neither.




    You will see by yourself.

    Voila. Merci !
    Attached Files

    #2
    SARdynamite, I believe it would work as you expect the other way round, i.e. opening the 1 min and apply the indicator referencing the higher 5 min frame, correct?

    Then you would just run into a display limitation for the 5 minute series you're monitoring, the timestamps of the historical bars are spaced in 5 min intervals, so there's no intrabar data visualized and hence the intrabar turns of the 1 min SMA can't be shown properly on historical data. It should work in realtime or market replay though with CalculateOnBarClose set to false.

    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