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

VIX on demand?

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

    VIX on demand?

    Would it be possible to create a strategy that turns on / off based on what the VIX is at?
    Would it be possible to create a strategy that flips long / short based on what the VIX is at?

    #2
    Yes and Yes.

    Comment


      #3
      Awesome Sledge, that was a fast reply and thank you!
      I used the search bar but couldn't find anything. Can you point anything out?

      Also, shouldn't it stand to reason that if someone has a purely failing strategy, that if they ivnerted the Longs for Shorts and Shorts for Longs shouldn't it then be profitable in the MArket Replay? I've been toying around with this idea in Replay now for about 5 hours and it seems to be an absolutely false idea. I'm ust trying to figure out why....

      All parameters are the same, everythings the same, I only switched Long / Short with each other in the Editor...

      I look forward to your replies!!!

      Comment


        #4
        Originally posted by SBMT17 View Post
        Awesome Sledge, that was a fast reply and thank you!
        I used the search bar but couldn't find anything. Can you point anything out?
        You need to do the multi-dataseries and add the ^VIX to your strategy.





        Originally posted by SBMT17 View Post
        Also, shouldn't it stand to reason that if someone has a purely failing strategy, that if they ivnerted the Longs for Shorts and Shorts for Longs shouldn't it then be profitable in the MArket Replay? I've been toying around with this idea in Replay now for about 5 hours and it seems to be an absolutely false idea. I'm ust trying to figure out why....
        Right, it doesn't work like that. If you can prove us wrong, then you are onto something.

        Comment


          #5
          Hello SBMT17 ,

          sledge is correct, you can add a secondary series to the script and make calculations with this series, pass this to an indicator that also calls this secondary series for calculations, place orders to this secondary series, etc.

          No, a reverse strategy will not always be profitable.

          To understand why, I recommend using prints to understand the behavior and output from the script.
          Below is a public link to a forum post on using prints.

          And a public link to the help guide on SystemPerformance.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Eh, I'm sure all noobies like me probably thought that at some point!! HAHAH
            Well, thank you for the crumbs. I'll be going off on the trail now

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by f.saeidi, Today, 05:56 AM
            1 response
            3 views
            0 likes
            Last Post Jltarrau  
            Started by Jltarrau, Today, 05:57 AM
            0 responses
            4 views
            0 likes
            Last Post Jltarrau  
            Started by Stanfillirenfro, Yesterday, 09:19 AM
            7 responses
            51 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by TraderCro, 04-12-2024, 11:36 AM
            4 responses
            70 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Mindset, Yesterday, 02:04 AM
            1 response
            15 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X