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 PhillT, 04-19-2024, 02:16 PM
            4 responses
            35 views
            0 likes
            Last Post PhillT
            by PhillT
             
            Started by ageeholdings, 05-01-2024, 05:22 AM
            5 responses
            37 views
            0 likes
            Last Post ageeholdings  
            Started by reynoldsn, Today, 02:34 PM
            0 responses
            13 views
            0 likes
            Last Post reynoldsn  
            Started by nightstalker, Today, 02:05 PM
            0 responses
            20 views
            0 likes
            Last Post nightstalker  
            Started by llanqui, Yesterday, 09:59 AM
            8 responses
            32 views
            0 likes
            Last Post llanqui
            by llanqui
             
            Working...
            X