• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trying to Build An Example System

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

    #16
    Hello NeoTrader86,

    I wanted to provide a video showing how to use the prints and output window to understand the behavior.

    http://screencast.com/t/9sWEL6kTEd

    And a link to a video that goes into further detail about writing a print.
    https://www.youtube.com/watch?v=K8v_...tu.be&t=48m56s

    Last, since I have already created this to test, I have included my code.
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment


      #17
      I thank you again... I tried the code you sent and from the looks of the video that you sent me about my test-strategy, it would do exactly what I was thinking. But when I backtested it, the results were really different. Just to give you an example: I put a Yellow diamond on a place where a short should´ve been triggerd, but wasn´t. When price went below the bar before the bar that is right above the diamond, a short should have been placed, but instead, a short was only triggered at the low of the big green bar that followed(at 4555.75).
      I tried to understand why you put the variable0 == 0 and 1 and checked the "print" video. But the truth is, as I said, I lack programming knowledge. Even though I imagine this must be really easy and obvious for someone that has at least the basics of C++ or C#.
      Attached Files

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Papercut110, Today, 09:08 PM
      0 responses
      2 views
      0 likes
      Last Post Papercut110  
      Started by iq200, 11-09-2019, 08:26 AM
      5 responses
      56 views
      0 likes
      Last Post koganam
      by koganam
       
      Started by johng964, Today, 02:57 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_RyanS  
      Started by spamula, Today, 03:00 PM
      2 responses
      16 views
      0 likes
      Last Post spamula
      by spamula
       
      Started by MARTIN MARTIN, Today, 01:01 PM
      0 responses
      16 views
      0 likes
      Last Post MARTIN MARTIN  
      Working...
      X