Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MultiTime Frame Filter with Supertrend Indicator

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

    MultiTime Frame Filter with Supertrend Indicator

    I try to build a filter with the Supertrendindicator (AuSuperTrendU11), which checks the close of the current and previous 30 min. bar, which needs to be eg. above the Stopline of the Supertrend Indicator also in the 30 min. time frame. The primary time frame is the 1 min. Chart in which I execute the trades, after all filters are true. The code snipplet ist just indicative for what I am trying. The Barbrush helps me to see, if the signal works correctly, and it doesnt. I habe no idea why this doesnt work. Can someone help?

    #2
    Hello dpeter,

    The indicator is set to use Closes[1] which is the FDAX 03-21 30 minute series.

    The value for this is only going to be printed during the primary series due to the 'if (BarsInProgress != 0) return' code.

    Try printing the time and values of the bars and of the indicator to the output window, and compare with the prints from an indicator that does not use AddDataSeries added directly to a 30 minute FDAX 03-21 chart.

    Below is a link to a forum post that demonstrates using prints to understand behavior.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    44 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    124 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    65 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X