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

No Trade Zone

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

  • NinjaTrader_ChelseaB
    replied
    Hello Segwin,

    Programming rules are exact.

    Are you wanting a condition that looks for the high and low of 10 bars in a row to be exactly the same?

    Are you wanting the high of the previous 10 bars in a row to not be greater than the current bars high plus 3 ticks and the low of the previous 10 bars in a row to not be less than the current bars low minus 3 ticks?

    What are the exact rules you are looking for?

    Leave a comment:


  • Segwin
    replied
    Originally posted by NinjaTrader_ChelseaB View Post
    Hello Segwin,

    What are the exact rules that define something as "sideways"?
    I would say the highs and lows stay pretty much the same for X amount of time.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello Segwin,

    What are the exact rules that define something as "sideways"?

    Leave a comment:


  • Segwin
    replied
    Originally posted by NinjaTrader_ChelseaB View Post
    Hello Terence,

    What are the exact rules you want to code into a script?

    Are you looking for the highest high not to be more than a certain amount of ticks from the lowest low within a specific amount of bars?

    You can also contact one of our professional NinjaScript Consultants who would be eager to create or modify this script at your request or assist you with your script. Please let me know if you would like our business development follow up with you with a list of professional NinjaScript Consultants who would be happy to create this script or any others at your request.
    Hello Chelsea,

    You can see in the square I placed on the picture that the market is sideways at this time however it is still causing the MacD to cross over in a sideways market which isn't good. Trying to figure out a way to stop trading when it get's sideways.

    Thought someone might have a quick "here is what you need to do" answer.

    Merry Christmas Chelsea. Here is to a healthy 2017.

    Peace,

    Terence.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello Terence,

    What are the exact rules you want to code into a script?

    Are you looking for the highest high not to be more than a certain amount of ticks from the lowest low within a specific amount of bars?

    You can also contact one of our professional NinjaScript Consultants who would be eager to create or modify this script at your request or assist you with your script. Please let me know if you would like our business development follow up with you with a list of professional NinjaScript Consultants who would be happy to create this script or any others at your request.

    Leave a comment:


  • Segwin
    started a topic No Trade Zone

    No Trade Zone

    When the market goes sideways, as shown in attached picture, I'd like to make it a no trade zone in a strategy. What would be the best way to accomplish/program this?

    Thanks,

    Terence
    Attached Files

Latest Posts

Collapse

Topics Statistics Last Post
Started by samish18, Today, 01:01 PM
0 responses
3 views
0 likes
Last Post samish18  
Started by WHICKED, Today, 12:56 PM
0 responses
6 views
0 likes
Last Post WHICKED
by WHICKED
 
Started by Spiderbird, Today, 12:15 PM
2 responses
11 views
0 likes
Last Post Spiderbird  
Started by WHICKED, Today, 12:45 PM
0 responses
7 views
0 likes
Last Post WHICKED
by WHICKED
 
Started by FrazMann, Today, 11:21 AM
2 responses
8 views
0 likes
Last Post NinjaTrader_ChristopherJ  
Working...
X