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

Autotrading with TSI

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

    Autotrading with TSI

    Hello, iam new on ninja trader and i speak also french, so it a little bit difficult for me to understand everything ...

    I want to know if its possible to create an automated trading strategy based on a custom tsi indicator conbined with the vwap ? in fact i have 2 tsi in one indicator ( i have change some parameters ) , and when the line are crossing i want to make and ordrer just when the lines are crossing, it is possible to automat this and confine this with vwap too ( above or below the vwap .. )?

    thank youi for you answers

    #2
    Yes, it is possible

    Comment


      #3
      Thank you, can you explain me how can i do ?

      Comment


        #4
        Hello Jema1,
        You can have conditions as below:
        Code:
        if(Close[0] > vwap[0])
        {[INDENT]if(CrossAbove(tsi1, tsi2, 1))
        // Long Entry[/INDENT]
         }
        else if(Close[0] < vwap[0])
        {[INDENT]if(CrossBelow(tsi1, tsi2, 1))
        // Short Entry[/INDENT]
         }
        You can use Strategy Builder to do all this with ease.
        Hope it helps!

        Comment


          #5
          Hello Jema1,

          Thanks for your post and welcome to the NinjaTrader forums!

          Yes, you can create those conditions for trading in a strategy.

          Forum member s.kinra has shown what the code could possibly look like.

          If you are using the Strategy Builder, here are links for further information that may be helpful:

          Free live webinar every other Thursday at 4:00 PM EST, through this link to all webinars: https://ninjatrader.com/PlatformTraining
          Previous recording of the Strategy Builder 301 webinar: https://youtu.be/HCyt90GAs9k?list=PL...auWXkWe0Nf&t=2
          Help guide for the strategy builder: https://ninjatrader.com/support/help...gy_builder.htm
          Paul H.NinjaTrader Customer Service

          Comment


            #6
            Thank you Paul et S.kinra for your answer, its not easy for me because i speak french, i will check this

            Many Thanks
            Last edited by Jema1; 03-03-2021, 07:26 AM.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Gianpiero, 12-01-2022, 09:55 AM
            2 responses
            16 views
            0 likes
            Last Post Gianpiero  
            Started by dweems, Yesterday, 12:56 PM
            3 responses
            14 views
            0 likes
            Last Post dweems
            by dweems
             
            Started by pistolpee, 11-30-2022, 11:39 AM
            8 responses
            119 views
            1 like
            Last Post Eagle1gl  
            Started by ballboy11, Today, 09:18 AM
            0 responses
            6 views
            0 likes
            Last Post ballboy11  
            Started by set2win, Today, 08:10 AM
            0 responses
            13 views
            0 likes
            Last Post set2win
            by set2win
             
            Working...
            X