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

need some help with a strategy for ""Pivot High/Low Reversal strategy""

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

    need some help with a strategy for ""Pivot High/Low Reversal strategy""

    I am a Trader and not done any programming work in NT so far,
    How can I build this simple setup using "Strategy Builder"
    The setup is a very basic "pivot reversal strategy" as follows

    I have attached 2 text files of the FULL specs from ""Tradestation source code""

    using PivotLow and PivotHigh

    if SwingHigh( 1, High, Strength, Strength + 1 ) <> -1 then {confirmed SwHi }
    begin
    Setup = true;
    PivotHigh = High[Strength];

    if SwingLow( 1, Low, Strength, Strength + 1 ) <> -1 then { confirmed Swing Low }
    begin
    Setup = true;
    PivotLow = Low[Strength];


    Sell Short ( !( "PivRevSE" ) ) next bar at PivotLow - 1 point stop;
    Buy ( !( "PivRevLE" ) ) next bar at PivotHigh + 1 point stop;

    Thank you for your help

    TS_pivot_reversal_strategy_SE_0131.txt
    TS_pivot_reversal_strategy_LE_0131.txt

    #2
    Hello kumaresh11live,

    The Pivots indicator can be selected in the Strategy Builder which is capable of simple left and right comparisons, and a not equal to comparison operator is available.

    Attached is a screenshot of this.


    Also, below is a link to a forum post with helpful information about getting started with NinjaScript.
    https://ninjatrader.com/support/foru...040#post786040

    You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like our business development follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request.
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Chelsea
      ok, thanks. i will try this

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by jaybedreamin, Today, 05:56 PM
      0 responses
      2 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      18 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      1 view
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      6 views
      0 likes
      Last Post Javierw.ok  
      Started by timmbbo, Today, 08:59 AM
      2 responses
      10 views
      0 likes
      Last Post bltdavid  
      Working...
      X