Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ecosystem Strategy Help

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

    Ecosystem Strategy Help

    Originally posted by NinjaTrader_Jesse View Post
    Hello trdninstyle

    There are a few issues from what I can see in the image.

    Set 3 you have close equals current trigger price. In NinjaScript/C# checking if two double numbers are equal can fail, you should use Greater equals instead of just equals so that set works correctly.

    Set 5 is not clear what you are doing. The variable "StopPrice" is not used in any of the other sets, what is "StopPrice"? If you are trying to modify the stops price you need to make sure that the exit order is in the very last set. You also need to set CurrentStopPrice to change that stop.

    Hello Jesse

    I want to use this strategy "Price Break Out From A Rectangular Base"
    it has the UpwardBreakout parameter where I must input "YES" for Long trades, or "NO" for short trades.
    But it can only do either long trades or short trades, not both.

    is there anyway you can please look at it an edit it or give it another parameter that I can select and the strategy start doing both Long trades when Bullish and short trades when Bearish?
    Looking forward to your reply

Latest Posts

Collapse

Topics Statistics Last Post
Started by DeskTroll, Today, 12:09 PM
3 responses
23 views
0 likes
Last Post NinjaTrader_LuisH  
Started by Pabulon, 12-02-2024, 03:42 PM
14 responses
90 views
0 likes
Last Post Pabulon
by Pabulon
 
Started by tfa2806trader, Today, 12:04 PM
10 responses
25 views
0 likes
Last Post tfa2806trader  
Started by trdninstyle, 11-26-2024, 12:23 PM
62 responses
186 views
0 likes
Last Post trdninstyle  
Started by lorien, 08-08-2021, 07:33 AM
12 responses
722 views
0 likes
Last Post AndyM871  
Working...
X