• 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

  • Stuhr
    replied
    Thanks greatly appreciated

    Leave a comment:


  • NinjaTrader_Jim
    replied
    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.

    Leave a comment:


  • Stuhr
    replied
    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

    Leave a comment:


  • NinjaTrader_Jim
    replied
    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.

    Leave a comment:


  • Stuhr
    started a topic Using Double

    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

Latest Posts

Collapse

Topics Statistics Last Post
Started by andrewtrades, Today, 02:27 PM
0 responses
1 view
0 likes
Last Post andrewtrades  
Started by RonnieB, Today, 01:51 PM
4 responses
11 views
0 likes
Last Post RonnieB
by RonnieB
 
Started by dtl-saw, Today, 01:52 PM
1 response
4 views
0 likes
Last Post NinjaTrader_RyanS  
Started by ralett, Today, 11:28 AM
4 responses
12 views
0 likes
Last Post NinjaTrader_PatrickG  
Started by ChazJ, Today, 09:59 AM
2 responses
7 views
0 likes
Last Post ChazJ
by ChazJ
 
Working...
X