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 aussugardefender, Today, 01:07 AM
            0 responses
            3 views
            0 likes
            Last Post aussugardefender  
            Started by pvincent, 06-23-2022, 12:53 PM
            14 responses
            238 views
            0 likes
            Last Post Nyman
            by Nyman
             
            Started by TraderG23, 12-08-2023, 07:56 AM
            9 responses
            383 views
            1 like
            Last Post Gavini
            by Gavini
             
            Started by oviejo, Today, 12:28 AM
            0 responses
            4 views
            0 likes
            Last Post oviejo
            by oviejo
             
            Started by pechtri, 06-22-2023, 02:31 AM
            10 responses
            125 views
            0 likes
            Last Post Leeroy_Jenkins  
            Working...
            X