Higher Time Frame Stops Strategy Tool

About the Author Jeff Swanson

Jeff is the founder of System Trader Success - a website and mission to empowering the retail trader with the proper knowledge and tools to become a profitable trader the world of quantitative/automated trading.

follow me on:
  • Scott Walls says:

    Jeff,
    Your site is a treasure of good will and great information. Thank you for your work!

  • Alan says:

    This code will not import or verify if copied and pasted into TS. You did not define the variable MP (e.g. Vars: MP(0);) or include a statement like MP = MarketPosition. Also NTStop_Data2 is similarly not defined as a variable. If I do define it
    Vars: NTStop_Data2(0,Data2);

    I still get an error message saying a close parenthesis is expected after “NTStop_Data2” in the statement below:

    Begin
    SetDollarTrailing( NTStop_Data2( NTStop_N, Interset ) * Bigpointvalue );
    End

  • Alan says:

    I am using TS 9.1 Update 29. Not sure if program might work on another version.

  • Alan, NTStop_Data2 is not a variable. It’s a function. If you’re using TradeStation you’ll want to import the ELD which contains all the required components. Hope this helps!

    • Alan says:

      Jeff,

      I was able to import the Higher Time Frame Stops Strategy Tool,so please disregard my previous comments. Importing worked when I shut down TradeStation completely. I think I had previously tried to import when the program was open, and in that state I could not import the strategy. Thanks for the tool.

  • Alan says:

    Could you please provide the text for the function, NTStop_Data2
    so that I can copy and paste it. Is the output of the function a numeric value as opposed to a Boolean (True/False) value? As I said above, I was unable to successfully import the ELD file, so I have to copy/paste the text, but the text you have given so far does not seem to include the text for the function.

  • >