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

noob: custom trading platforms and programming

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

    noob: custom trading platforms and programming

    hello traders,

    i am new to this world of custom trading toys and programming, i signed up yesterday and played with the wizard(to cool), kinda felt like i saw looking a programming for dummies wizard. i really liked the sample of the simple moving avg, and am using this as my starting point to this new world.

    i figured out how to recreate it using ema instead of sma (which was so cool i felt like i was programming), so i wanted to try to add a layer of difficultly to my programming skills via wizard, and add another ema for the cross over to enter to filter out some sideways movements, but alas i could not. as to be something like 5 crosses over 10 and 25 for a signal with 10 greater than 25 long, and less than 25 short.

    not to sound stupid, as i figure it must be possible, and is just beyond my skills (at the moment). is it possible to program with the wizard? or does something like this have to be hand coded?

    thanks in advance for my ton of questions to come.
    -jupiejupe

    #2
    jupiejupe, welcome to NinjaTrader and our support forums! This should be possible to code in the wizard, just post where you're at in terms of putting this together and we take it from there.

    Those links below should help get you going -





    BertrandNinjaTrader Customer Service

    Comment


      #3
      thanks for getting me started

      hey i am doing alot better than i had hoped i would be doing, one quick question how do i tell the wizard not to entry the market? the is nothing about holding, only entry and exit of the market.

      as in "current market position is flat" do nothing

      using this page as the templet.

      Comment


        #4
        jupiejupe, great - not sure I follow what you look for: if you don't want to enter the market just don't place orders or rework the conditions giving you your entries.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          jupiejupe,

          multiple conditions, if you use two conditions in the code(or wizard) then when one of them is met but not the other it won't put in an order.

          you can also do some thing like

          if (long condition ==true){
          if (market ==trending){
          //"go long"
          }
          else{
          //"exit short"
          }
          }

          Comment


            #6
            Originally posted by mike82 View Post

            if (long condition ==true){
            if (market ==trending){
            //"go long"
            }
            else{
            //"exit short"
            }
            }
            blink blink blink,

            thanks, but sorry man, i am sure this makes some sort to sense to you but i am so not there (raw code), i am most definitely, at the wizard level. the more i figure out the more questions i have but i guess than means i am understanding to some degree.

            Comment


              #7
              you may want to look at the code every time you add/change a condition (there's a button for that in the wizard)
              it helped me quite a bit

              Comment


                #8
                yeah that's a good idea, i sort of learn html buy stealing code and pasting it together, i started doing that too, with some of the scripts, i even got it cut together right to compile so i am rather happy, now is i can just...

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by JoMoon2024, Today, 06:56 AM
                0 responses
                6 views
                0 likes
                Last Post JoMoon2024  
                Started by Haiasi, 04-25-2024, 06:53 PM
                2 responses
                19 views
                0 likes
                Last Post Massinisa  
                Started by Creamers, Today, 05:32 AM
                0 responses
                6 views
                0 likes
                Last Post Creamers  
                Started by Segwin, 05-07-2018, 02:15 PM
                12 responses
                1,786 views
                0 likes
                Last Post Leafcutter  
                Started by poplagelu, Today, 05:00 AM
                0 responses
                3 views
                0 likes
                Last Post poplagelu  
                Working...
                X