Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Pop up window

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

    #31
    Hi Peter, I'm unfortunately not aware of one - in the wizard you would just setup the script for example to ExitLong if the Close would trade below the moving average or the other way round if you're short.

    Correct, the optimizer finds what works best on average in relation to your set optimization target (net profit, % wins, profit factor, lowest drawdown etc).

    Comment


      #32
      Thanks Bertrand,

      I have question few questions,:

      1)How can I set up to take only 1 trade in time limit?
      For example take trade by indicator and after that do not take trade for 30min.

      2) Is it possible to choose to trade only Monday, Tuesday and Wednesday.?

      3)Yesterday Day Range from Low to High>possibly Day Range for severals days back.

      4)Distance of present price from Yesterday High or Low.

      Thanks for help
      Peter

      Comment


        #33
        Sorry Bernard,

        One more question : Some members here mention that they use strategy together with ATM Is it possible and can you dirrect me to some example ?

        Thanks a lot
        Peter

        Originally posted by Peter88 View Post
        Thanks Bertrand,

        I have question few questions,:

        1)How can I set up to take only 1 trade in time limit?
        For example take trade by indicator and after that do not take trade for 30min.

        2) Is it possible to choose to trade only Monday, Tuesday and Wednesday.?

        3)Yesterday Day Range from Low to High>possibly Day Range for severals days back.

        4)Distance of present price from Yesterday High or Low.

        Thanks for help
        Peter

        Comment


          #34
          Hello,

          Sure, please see the following information:



          Also for a sample of how this is done there is one included in your NInjaTrader install.

          Control Center->Tools->Edit NinjaScript->Strategies->SampleATMStrategy.


          Let me know if I can be of further assistance.
          BrettNinjaTrader Product Management

          Comment


            #35
            Thanks for help,

            I have few more questions:
            1)How can I set up to take only 1 trade in time limit?
            For example take trade by indicator and after that do not take trade for 30min.

            2) Is it possible to choose to trade only Monday, Tuesday and Wednesday.?

            3)Yesterday Day Range from Low to High>possibly Day Range for severals days back.

            4)Distance of present price from Yesterday High or Low.

            Yhanks
            Peter

            Comment


              #36
              Peter, you could for example use the BarsSinceEntry method as filer - http://www.ninjatrader.com/support/h...sinceentry.htm

              Your time filter rules could include / exclude full days as well, for example to only trade on Mo - if (Time[0].DayOfWeek == DayOfWeekMonday)....

              Your two other items would need custom coding, but the highs and lows of the prior day could be accessed with PriorDayOHLC() - http://www.ninjatrader.com/support/h...r_day_ohlc.htm

              Comment


                #37
                Hello Bertrand,

                You teach me a lot,thank you.
                And another question:

                1)Is it possible to calculate the number of pips which last entry gained?
                I am traying to do this:
                if last trade is 20 pips in profit
                then Do this
                2) is there a script which ca handle more than 1 trade and give info how many pips in profit/loss?

                thanks
                Peter

                Comment


                  #38
                  Sure Peter, have you already looked into this sample below? It's pretty close to what you seek -



                  It's a little bit more advanced in coding, but previous trade info / stats could be accessed by your strategy as well - http://www.ninjatrader.com/support/f...ead.php?t=4084

                  Comment


                    #39
                    Thank you Bernard,

                    I am thinking about creating indicator which will be in the form of TABLE where I can have all infos I need . I am hoping there is the way how to program line by line of this table and every line can have different value printed on bar closed.
                    First line could be 6E closed price., ADR , MA value...
                    Second line 6B....
                    These info can be used as visual for manual trading or as indicator accessed by Strategy.

                    Is there example of this

                    thanks
                    Peter

                    Comment


                      #40
                      For the strategy, you would need to create a so called MultiSeries strategy that would be able then to work with more than one timeframe / instrument / market, the concept is outlined here - http://www.ninjatrader.com/support/h...nstruments.htm

                      For the visual trading aid you talked about, I would suggest to check into NT's Market Analyzer first to see if that suits your needs - http://www.ninjatrader.com/support/h...t_analyzer.htm

                      Comment


                        #41
                        Thank you Bertrand,

                        I am trying to find reversed logic:
                        if this indicator value is 256(or other predifined value) then do not enter.

                        thanks
                        Peter

                        Comment


                          #42
                          Hi Peter,

                          You can add an additional condition to your order placement that checks if something does not equal a value.

                          if (myIndValue != 256 && otherEntryConditions)
                          //place orders
                          Ryan M.NinjaTrader Customer Service

                          Comment


                            #43
                            Wow Bernard,

                            Thank you so much.

                            You are saving me a lot of time. You made my day today.
                            Can you let me know where can I write thank you letter.
                            You are doing excellent job

                            THANKS
                            Peter

                            Comment


                              #44
                              Hi Bernard,

                              1)Is it posible to have strategy create signals on 6E chart and then transfered (copy them) to 6E micro strategy or chart and execute them. In backtest, forward test or live forward trading? 6E micro is 10 times cheeper than regular 6E.
                              2)Is there a way to test 1 year data of 6E or other instruments in 1 time? Or we need to test it separately for every active contract?
                              3)What is your suggestion for proper backtesting, forwardtesting and live testing? What are the most reliable methods?

                              thanks
                              Peter

                              Comment


                                #45
                                Hi Peter, yes this is possible with a MultiSeries strategy as it can send orders to all Add()ed bars objects - http://www.ninjatrader.com/support/h...nstruments.htm

                                To backtest across natural contract boundaries you would need to work with continuous contracts, NT7 builds them per default for most futures markets as you request data across contract expiration dates the older contract would be merged in for you - http://www.ninjatrader.com/support/h...7/data_tab.htm

                                You generally would want to start backtesting your ideas to see which ones generally have merit, then you would forward / Market Replay test the most promising ones to see which are 'fit' enough to be finally traded live.

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by argusthome, 03-08-2026, 10:06 AM
                                0 responses
                                88 views
                                0 likes
                                Last Post argusthome  
                                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                                0 responses
                                48 views
                                0 likes
                                Last Post NabilKhattabi  
                                Started by Deep42, 03-06-2026, 12:28 AM
                                0 responses
                                30 views
                                0 likes
                                Last Post Deep42
                                by Deep42
                                 
                                Started by TheRealMorford, 03-05-2026, 06:15 PM
                                0 responses
                                34 views
                                0 likes
                                Last Post TheRealMorford  
                                Started by Mindset, 02-28-2026, 06:16 AM
                                0 responses
                                68 views
                                0 likes
                                Last Post Mindset
                                by Mindset
                                 
                                Working...
                                X