Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Coder please help.

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

    Coder please help.

    Hi all,

    I have tried but its like vodo to me, I cant seem to code the strategy below:

    EMA 2, MA 9
    MACD 12,24,3
    Stochastic 14,2,5

    When all crossover within 3 bars of eachother, then a buy/sell is produced.

    I would like to have the option to have a trailing stop and/or limit order.

    Can anyone help.

    Thanks

    R
    Last edited by mccallum28; 11-30-2011, 06:37 PM.

    #2
    if an average true range trailing stop could be added that would be great, how do you set this up in ninja trader 7 . thanks again.

    Comment


      #3
      Originally posted by mccallum28 View Post
      Hi all,

      I have tried but its like vodo to me, I cant seem to code the strategy below:

      EMA 2, MA 9
      MACD 12,24,3
      Stochastic 14,2,5

      When all crossover within 3 bars of eachother, then a buy/sell is produced.

      I would like to have the option to have a trailing stop and/or limit order.

      Can anyone help.

      Thanks

      R
      Your request is not clear. When all crossover what? Specify exactly what kind of crossovers you want from each indicator.

      Comment


        #4
        Hello,

        Thanks for the forum post.

        You can post what you have already and we can offer advice to start you in the right direction. However I would be unable to code it for you.

        You can contact one of our NinjaScript consultants to assist you with coding this.


        NinjaScript Consultants:
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        64 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        35 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        59 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        62 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        51 views
        0 likes
        Last Post CarlTrading  
        Working...
        X