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 geotrades1, Today, 10:02 AM
      0 responses
      1 view
      0 likes
      Last Post geotrades1  
      Started by rajendrasubedi2023, Today, 09:50 AM
      0 responses
      10 views
      0 likes
      Last Post rajendrasubedi2023  
      Started by ender_wiggum, Today, 09:50 AM
      0 responses
      4 views
      0 likes
      Last Post ender_wiggum  
      Started by bmartz, Today, 09:30 AM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by geddyisodin, Today, 05:20 AM
      3 responses
      24 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X