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 pechtri, 06-22-2023, 02:31 AM
            9 responses
            122 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by frankthearm, 04-18-2024, 09:08 AM
            16 responses
            66 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Started by habeebft, Today, 01:18 PM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by benmarkal, Today, 12:52 PM
            2 responses
            13 views
            0 likes
            Last Post benmarkal  
            Started by f.saeidi, Today, 01:38 PM
            1 response
            7 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Working...
            X