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

Trade Scalping System

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

    Trade Scalping System

    Team,

    I am trying to create a trade scalping system that looks at the high and low of the fifteen minutes prior.

    For instance, if from 6:30 to 6:45 am the High was X, and then from 6:45 - 7:00 our price crossed X we would put a limit order in at X. Same thing for low. So the system would essentially compare current price to the high and low of the fifteen minutes prior and then enter long or short if we closed above or below the high or low. Any idea how I would get started on this?

    #2
    Hi Jonathan,

    That shouldn't be too hard to do on the strategy builder. There is a strategy builder 301 video that can give you a good start. From there the challenge will be the logic.

    I would suggest making a variable like "PreviousHigh" and "PreviousLow" and housing it there for starters. Then you can build a crossover condition. You can build a timing condition to our just set your candles at 15min on the strategy analyzer.

    Mandela

    Comment


      #3
      Hello Jonathan.Lee,

      This will depend on what primary series you use. If you use a 15 minute series you can just compare the High and Low of 1 BarsAgo. If you are using a different timeframe that can add some more difficulty it would really just depend on the scenario.

      As cmbynes mentioned the strategy builder webinar is a good place to get started, here is a link: Strategy Builder 301 — https://www.youtube.com/watch?v=_KQF2Sv27oE

      I look forward to being of further assistance.
      JesseNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by alifarahani, Today, 09:40 AM
      6 responses
      38 views
      0 likes
      Last Post alifarahani  
      Started by Waxavi, Today, 02:10 AM
      1 response
      18 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by Kaledus, Today, 01:29 PM
      5 responses
      15 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Waxavi, Today, 02:00 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by gentlebenthebear, Today, 01:30 AM
      3 responses
      17 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X