Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entering a trade when indicator plots an arrow

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

    Entering a trade when indicator plots an arrow

    I have an indicator which measures wicks and tails of candles. An arrow is placed on the chart (above chart if a wick, below price if a tail) if a candle closes with a certain size of wick or tail.

    Im learning to code strategies and I was trying to get a strategy to trade automatically when an arrow is plotted. But I can't get it to work.

    How do I get a strategy to take a trade when an indicator plots an arrow?

    #2
    Hello ScottieDog,

    Thank you for your post.

    You would need a variable exposed from the indicator that you could call. Or just implement the logic of the indicator in the strategy.

    You would not be able to pull the drawing object from the indicator as you would a plot or variable.

    If you would like to take a look at exposing items that are not plots please visit the following link: http://ninjatrader.com/support/forum...ead.php?t=4991

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    559 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    546 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X