Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

1 Click buy-stop/sell-stop with parameters

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

    1 Click buy-stop/sell-stop with parameters

    I wasn't sure if this has been developed yet or if someone could develop this ordering script. Essentially it would place a buy stop and a sell stop based on the current candle based on a few user-defined criteria. The user-defined criteria would be as follows:
    - Buy-stop/sell-stop offset based on the current high and low of the current candle buy .25 increments
    ex. a current 5-minute candle has a high of 10500.00 and a low of 10200.00. I want the trade offset to be 1.25 so the buy-stop would be set at 10501.25 and the sell-stop would be 10198.75
    - user defined take profit and stop loss in points plus the option to have a stop loss or take profit enabled or disabled
    - option to choose if you want a buy-stop only, sell-stop only or both
    - option to close opposite trade when the initial buy-stop /sell-stop is activated.

    #2
    Hello wlnuncw,

    Thank you for reaching out and welcome to the NinjaTrader forum community!

    I am not aware of a strategy that has been developed specifically as described, however this thread will remain open in case any other members of the forum would like to chime in with anything they might be aware of.

    With that said, you could also look into developing something like this yourself if you have programming experience. If this option interests you, I suggest starting here for more information about learning NinjaScript:


    Otherwise, 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 developing 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 to 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.

    Please let us know if we may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    53 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