Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Limit Order when Close above/below Horizontal line

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

    Limit Order when Close above/below Horizontal line

    Hello, im trying to build an strategy that submit a limit order at the price of the Horizontal Line when 5min closes above this line. I never delete this line because I have an alert attach to it so I move it everyday to the desire price level. I couldn't figure out how to set this drawn object as a paramenter in the Strategy Builder. I could set it as a parameter in the Alerts window so I thought it would be something similar

    Click image for larger version

Name:	imagen.png
Views:	153
Size:	35.4 KB
ID:	1340374

    #2
    Hello dj0ntz,

    To do this in the builder you would have to make either a double user input or a variable that stores the target price for the line. By doing that you could supply that input or variable to a condition checking if the close has crossed about it. To make a cross above from a single value you can use Misc -> numeric value in the cross condition.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 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
    40 views
    0 likes
    Last Post CarlTrading  
    Working...
    X