Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

general logic questions

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

    general logic questions

    hi guys , i try to distinguish up trund low trend and lateral movements , for do that i try to mesure a body , but is not coherent, becase i set a limit of candel body , if candelbody is <= at 0.14 then is lateral movement , but sometime inside lateral movement , have bar at 0.15 or 0.16, and in trend have the same problem but vice versa inside a trand i have some candel with littel body , and i could consider like in trend , how is possible resolve this problem , exist some function , for simplify ? thankz




    #2
    Hello faustf,

    Thanks for your post.

    I am not sure you would be able to distinguish between a trend and a congestion area based on the size of a candle.

    You might consider using other indicators to help determine trending verse non trending. Examples of indicators to consider would be Swing which will show swing points. Moving average crossovers, slope of moving averages, Pivot points.

    For a congestion area, you might consider observing the high to low not just of one candle but of several to determine if there is a consistent range.

    You might also consider using price based bar types rather than time, such as Range, Renko, Tick where price movement creates a bar only when price has move x ticks.

    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,227 views
    0 likes
    Last Post xiinteractive  
    Started by andrewtrades, Today, 04:57 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    7 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    440 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    12 views
    0 likes
    Last Post FAQtrader  
    Working...
    X