Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Newbie needing help with an entry signal

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

    Newbie needing help with an entry signal

    Hi all,

    I'm a newbie to trading and Strategy Builder and I have a couple of questions.

    I want to trigger a long entry with these (3) sequential events:
    1. Stochastics below or crosses below 30 (oversold)
    2. RSI crosses above midline
    3. Enter Long when MACD crosses

    If I just plug in these conditions in as noted; I'm thinking it won't trigger the entry because all three events would have to occur within the same bar (current bar or a look-back bar), which I think would be unlikely. Is that right?

    More questions:

    Assuming the above won't work; can I create a Bool switch which would toggle TRUE by the Stochastics crossing below the 30, and then remain TRUE (regardless of the state of the Stochastics) until toggled back to False by the MACD line crossing and triggering the Long entry?

    Is there a better way?

    Thanks,
    Charlie


    #2
    Hi Charlie, If there are multiple conditions in one Set then all of them need to be true on a single bar for the set to trigger its actions. We have an example here showing how to set a flag to trigger for later:
    Hi, To improve a strategy, I would like the condition to enter a trade to be triggered only after a second crossing happens. Meaning, for instance we have a sthocastics crossing, but the strategy would only trigger when a crossing between 2 emas happen. Would the looking back N bars work? Can it be done within the builder
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Thanks again, Chris!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by cocoescala, 10-12-2018, 11:02 PM
      7 responses
      939 views
      0 likes
      Last Post Jquiroz1975  
      Started by oviejo, Today, 12:28 AM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by geddyisodin, Yesterday, 05:20 AM
      7 responses
      46 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by gbourque, Today, 06:39 AM
      2 responses
      5 views
      0 likes
      Last Post gbourque  
      Started by cre8able, Yesterday, 07:24 PM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X