• 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

Using Double

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

    Using Double

    I am using a user input (Threshold) with decimals with a default of 2.5 and a minimum of 0.
    My condition is: FisherTransform(FisherPeriod)[0] > Threshold

    This works fine as long as I do not use an input greater than 3.5

    I have increased the default to 6.0 and still have the same results.
    All help will be greatly appreciated.

    Mike

    #2
    Hello Stuhr,

    Thanks for your post.

    It is not exactly clear what the issue is that you are encountering.

    Do you see an error on screen or in the log tab of the Control Center?

    Is the script not behaving as intended? What is the script doing exactly and what were your expectations?

    Please provide screenshots where applicable.

    To send a screenshot with Windows 7 or newer I would recommend using Window's Snipping Tool.

    Click here for instructions

    Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and attach the image to this post.

    Click here for detailed instruction

    I look forward to being of further assistance.
    JimNinjaTrader Customer Service

    Comment


      #3
      I have a threshold input using decimals as shown in the screenshot. When the FisherTransform closes above the threshold is draws vertical lines as seen in the screenshot. When the threshold is set above 3.5 there are no lines drawn setting the threshold back under 3.6 and the lines are drawn once again.

      To limit the limit the drawing to one line for the signal I am trying to use the second condition which is not working. Any suggestions here would also be appreciated.
      Attached Files

      Comment


        #4
        Hello Stuhr,

        Thanks for clarifying.

        If the lines are no longer drawing that would mean that the logic is no longer allowing the condition to become true. I would suggest to add prints to the script to check the values used to evaluate these conditions and see how the logic would need to be modified to meet your goal. I have attached a video demonstration describing how prints can be added in the Strategy Builder. This a video I have made but is publicly available.

        Debugging with the Strategy Builder - https://www.screencast.com/t/8uvjfM8h

        Limiting the drawing to occur once per signal would involve designing the logic so it only becomes true for your signal and does not become true for other bars.

        Please let us know if we can be of further assistance.
        JimNinjaTrader Customer Service

        Comment


          #5
          Thanks greatly appreciated

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by TazoTodua, Today, 06:00 AM
          0 responses
          7 views
          0 likes
          Last Post TazoTodua  
          Started by Thans1946, Today, 04:04 AM
          0 responses
          5 views
          0 likes
          Last Post Thans1946  
          Started by gbux11, Today, 02:36 AM
          0 responses
          8 views
          0 likes
          Last Post gbux11
          by gbux11
           
          Started by fx.practic, Today, 01:47 AM
          0 responses
          13 views
          0 likes
          Last Post fx.practic  
          Started by bneccv, Yesterday, 09:25 PM
          0 responses
          5 views
          0 likes
          Last Post bneccv
          by bneccv
           
          Working...
          X