Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

when indicators cross, send this CurrentBar to another indicator

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

    when indicators cross, send this CurrentBar to another indicator

    Hi all,

    I'd like to do the following: in a strategy, when an indicator A crosses another indicator B, I'd like to enter short and immediately start running a script of code (or start another indicator) after crossing that exits later according to some rules.

    I know how to cross and code the script inside the IF statement. Can I call exit short within this IF statement though? Is NJ that flexible if i decide to stop using Strategy wizard aand code it myself?

    Thank you for your time.

    #2
    Hello,

    Yes you would be able to have that flexibility when custom coding your script. From what I'm reading here it sounds like your functionality may be possible entirely within the wizard.

    I have a webinar recording that shows how to make a basic crossover strategy within the Wizard: http://www.youtube.com/watch?v=SpwGT...D7105&index=13

    Wizard Help guide: http://www.ninjatrader.com/support/h...rd_screens.htm

    If you're looking for more in depth course material we also offer Premium education classes: http://www.ninjatrader.com/PremiumEducation.php

    Let me know how I can further assist.
    LanceNinjaTrader Customer Service

    Comment


      #3
      Great! I am new to custom strategy development but not to indicators development. I will try to code it right away.

      Thanks again.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      633 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      364 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      567 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      568 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X