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 GussJ, 03-04-2020, 03:11 PM
            14 responses
            3,244 views
            0 likes
            Last Post GussJ
            by GussJ
             
            Started by lorem, Today, 09:18 AM
            0 responses
            2 views
            0 likes
            Last Post lorem
            by lorem
             
            Started by hazylizard, Today, 08:38 AM
            4 responses
            11 views
            0 likes
            Last Post hazylizard  
            Started by geddyisodin, Today, 05:20 AM
            2 responses
            20 views
            0 likes
            Last Post geddyisodin  
            Started by Max238, Today, 01:28 AM
            5 responses
            48 views
            0 likes
            Last Post Max238
            by Max238
             
            Working...
            X