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

ExitLong on GSLO

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

    ExitLong on GSLO

    Hi,

    I am currently building a strategy and back testing it. Through my CFD provider I use GSLOs (Guaranteed Stop Loss Orders). Is it possible to use that guaranteed stop loss value in the ExitLong method instead of the Close so I can test the effectiveness of paying for GSLOs.

    I am back testing using daily data.

    If I need to use the advanced coding options for exits that would be fine.

    Thanks,

    Milton

    #2
    Hi Milton, welcome to the forums here. Would this be a specific order type you have to use? In my understanding it's a regular stop loss order, but your provider would ensure you get a certain execution? The ExitLong would be a market order that would normally be subject to potential slippage, however in your case this would be limited trading live.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      ExitLong on GSLO

      Hi Bertrand,
      Thanks for your prompt reply. What I am trying to do in backtesting the strategy is to have the results of the backtesting represent getting the Exit at the GSLO price, not the close of the day as ExitLong seems to use.

      I am trying to determine if paying to use GSLOs is worth it.

      Thanks.

      Milton

      Comment


        #4
        You can work in submitting a Stop / StopLimit order instead, but we could not directly simulate the GSLO price in backtesting. From my understanding that's just a guaranteed stop loss, so no slippage for your stop market exit.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Balage0922, Today, 07:38 AM
        0 responses
        0 views
        0 likes
        Last Post Balage0922  
        Started by JoMoon2024, Today, 06:56 AM
        0 responses
        6 views
        0 likes
        Last Post JoMoon2024  
        Started by Haiasi, 04-25-2024, 06:53 PM
        2 responses
        19 views
        0 likes
        Last Post Massinisa  
        Started by Creamers, Today, 05:32 AM
        0 responses
        6 views
        0 likes
        Last Post Creamers  
        Started by Segwin, 05-07-2018, 02:15 PM
        12 responses
        1,786 views
        0 likes
        Last Post Leafcutter  
        Working...
        X