Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Make "Bars ago" variable within Strategy Builder.

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

  • NinjaTrader_Jesse
    replied
    Hello walter739,

    With a manually coded strategy no, the builder has no ability to load manually coded scripts. You could try and learn from the concepts used in that strategy and then try to apply those concepts in the builder however that may or may not work depending on what the manually coded strategy is doing. It would be best to try and learn to code if you wanted to work with the manually coded strategies that you find on the user app share. You can also search on the forums here for "builder" to find some example scripts made for the builder. Here is one post that has a couple examples: https://ninjatrader.com/support/foru...596#post806596


    I look forward to being of further assistance.

    Leave a comment:


  • walter739
    replied
    Thanks for answer Jesse, do you have idea how i can pass this strategy to builder ? . I wish add other ideas and the editor is more complicated for me.

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello walter739,

    The linked script is a manually coded strategy, you could put a BarsAgo or any modifications you wanted in that script by using the NinjaScript editor. A majority of the content you may find online will be manually coded.

    Please let me know if I may be of further assistance.

    Leave a comment:


  • walter739
    replied
    Hello please i need too this set button in bars ago- I try build this strategy in builder and i can not change the n bars ago.

    https://ninjatraderecosystem.com/use...lors-strategy/

    Regards

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello cupir2,

    Thank you for the post.

    I do see that the BarsAgo field currently lacks the "Set" button which would allow for a user input selection. I will need to put in a feature request for this item. This would currently only be available if you unlock the code and then use the Input for the BarsAgo. This would also require that you add in a BarsAgo check to make sure there is enough data before doing that call.


    I look forward to being fo further assistance.

    Leave a comment:


  • cupir2
    started a topic Make "Bars ago" variable within Strategy Builder.

    Make "Bars ago" variable within Strategy Builder.

    I'd like to be able to set "Bars ago" to be a variable (or an indicator that returns an integer). This will allow bars ago to dynamically change based on calculations done within a strategy.

Latest Posts

Collapse

Topics Statistics Last Post
Started by Guido 01, 07-17-2018, 02:30 AM
8 responses
1,263 views
0 likes
Last Post pfsmedical  
Started by cjanau, Today, 11:07 AM
0 responses
9 views
0 likes
Last Post cjanau
by cjanau
 
Started by TrendFollowingCapital, Today, 05:53 AM
0 responses
12 views
0 likes
Last Post TrendFollowingCapital  
Started by TrendFollowingCapital, Today, 05:38 AM
0 responses
9 views
0 likes
Last Post TrendFollowingCapital  
Started by John Bogui, Today, 03:57 AM
2 responses
42 views
0 likes
Last Post John Bogui  
Working...
X