Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help with Strategy Builder Variables

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

    Help with Strategy Builder Variables

    I'm trying to draw Pivots from a current candle at entry Close, Low, High.
    Made a double variable for each one called C, L and H:
    Click image for larger version

Name:	image.png
Views:	189
Size:	4.3 KB
ID:	1270490
    and when a set condition is met it should store the values on the current candle:
    Click image for larger version

Name:	image.png
Views:	154
Size:	3.2 KB
ID:	1270491
    and then use them in a Pivots indicator:
    Click image for larger version

Name:	image.png
Views:	163
Size:	6.3 KB
ID:	1270492
    but for some reason the values stay at 1 instead of changing to the entry candle (C,H,L)
    Would appreciate if​ someone helped me with this issue.
    Thanks​

    #2
    Hello Maoz1155,

    Thank you for your post.

    In order to better understand how the code is working, it will be necessary to use Print to see how the conditions are evaluating.

    Below is a link to a forum post that demonstrates using prints to understand behavior and includes a link to a video recorded using the Strategy Builder to add prints.

    https://ninjatrader.com/support/foru...121#post79112


    I have created a video for you demonstrating assigning values to your variables and checking that they have been assigned.

    World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.



    Please let me know if you have any other questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    90 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    137 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    120 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    72 views
    0 likes
    Last Post PaulMohn  
    Working...
    X