Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trend Lines rising/falling?

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

    Trend Lines rising/falling?

    I am trying to use Trend Lines in the Strategy Builder whereas if it reads the trend is rising or falling. However, as one can see by this error message https://www.screencast.com/t/67adOimrVJjQ the strategy builder requires a different expression. This seems pretty straight forward to me. What I am I missing?

    #2
    Hello Dolfan,

    Thanks for your post.

    The error message is advising that the selections made are invalid, in that case, you are comparing a double value (the current bar value of the Trendlines) to a bool type question (Is it rising)

    There are a couple of ways to accomplish your goal in the strategy builder.

    You can create a condition where the trendlines indicator current bar is greater than the previous bar of the trendlines indicator.

    You can select Misc>Rising and select the Trendlines indicator, equals, Misc>true

    I've added a couple of condition screenshots to help:

    Click image for larger version

Name:	dolfan-1.PNG
Views:	828
Size:	20.1 KB
ID:	1106868

    Click image for larger version

Name:	dolfan-2.PNG
Views:	809
Size:	17.7 KB
ID:	1106869

    Comment


      #3
      Thanks Paul. I still find the indicator a bit mystifying. For example, I placed 10 Trend Lines indicators on one chart and they are illustrating things that are not well defined, at least not to me. If I place 1 Trend Line on a chart, how do I dictate in the settings how much time is used to calculate the trend?

      Comment


        #4
        Hello Dolfan,

        Thanks for your reply.

        Like the Swing indicator, the Trendlines indicator uses a strength setting that relates to the number of bars before/after a swing point to confirm, in this case, a trendline.

        I would suggest testing various strength settings. To further illustrate, add the swing indicator with the same strength setting on the same chart.

        Reference: https://ninjatrader.com/support/help...rend-lines.htm

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        46 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        33 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        50 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Working...
        X