Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy to find highest high and lowest low of specified time range.

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

    Strategy to find highest high and lowest low of specified time range.

    Details of strategy assistance.
    1. User defines a TIME range (i.e. 9:30AM-10:30AM Eastern to plot the first hour of US market)
    2. Strategy finds the Highest High and the Lowest Low within this specified time range.
    3. Strategy goes Long crossing over the Highest High, and Short crossing under the Lowest Low
    4. If a trade was taken Long, there is no other Long taken, but can still take a Short.
    5. If a trade was taken Short, there is no other Short taken, but can still take a Long.
    (I have code sample that provides help with 4 and 5)
    6. I already have the code for profit target and stop loss.

    I DO NOT want to count candles. I want this to be TIME based so if I chose the first hour of the day, it doesn't matter which chart timeframe I am on. This means it will also work on non-time-based charts since it will be monitoring clock time, not candle time.

    A wonderful example is in this indicator post, response #4.
    https://ninjatrader.com/support/foru...on-range-lines

    I'm willing to work with you and pay for this work.
    Attached Files
    Last edited by robertcooney; 01-16-2022, 06:40 PM.

    #2
    Hello robertcooney,

    Below is a link to an example of this.
    https://ninjatrader.com/support/foru...96#post1113896

    Unfortunately, in the support department at NinjaTrader it is against our policy to create, debug, or modify, code or logic for our clients. Further, we do not provide C# programming education services or one on one educational support in our NinjaScript Support department. This is so that we can maintain a high level of service for all of our clients as well as our associates.

    That said, through email we are happy to answer any questions you may have about NinjaScript if you decide to code this yourself. We are also happy to assist with finding resources in our help guide as well as simple examples, and we are happy to assist with guiding you through the debugging process to assist you with understanding unexpected behavior.

    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 NinjaTrader Ecosystem team follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request or provide one on one educational services.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    52 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X