• 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

Wanting to add a buy-sell button to chart trader or chart.

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

    Wanting to add a buy-sell button to chart trader or chart.

    Sorry if this is in the wrong area and be warned I know nothing on programming.
    What I would like to have a is a buy and a sell button that I can push to get in on the previous candle close with a limit order and maybe a bid order (selection) and would be great if I could even select a "plus" 1-5 tick or "minus" 1-5 tick selection on the previous candle close. Appreciate any help and if this would be better to me moved to another part of the forum please do so. thanks

    #2
    Hello buick,

    Thank you for your post.

    What you describe wouldn't be something you could achieve with the strategy builder, and in fact would require some fairly advanced programming knowledge.

    Here's an example from our User App Share that could be modified to fit your needs:

    https://ninjatraderecosystem.com/use...bar-buttons-2/

    We do have resources to help you begin creating NinjaScript Strategies/Indicators. All links below are publicly available.

    The best way to begin learning NinjaScript is to use the Strategy Builder. With the Strategy Builder you can setup conditions and variables and then see the generated code in the NinjaScript Editor by clicking the View Code button.

    I'm also providing a link to a pre-recorded set of videos 'Strategy Builder 301' and 'NinjaScript Editor 401' for you to view at your own convenience.

    Strategy Builder 301

    NinjaScript Editor 401

    If you are new to C#, to get a basic foundation for the concepts and syntax used in NinjaScript I would recommend this section of articles in our NT7 help guide first:

    Basic Programming Concepts

    For general C# education I have personally found Dot Net Perls to be a great reference site with easy to understand examples.

    https://www.dotnetperls.com/

    We also have great resources in relation to Strategy Development on our Support Forum. There is a very active developer community in our support forum that supplements the responses provided by NinjaTrader support staff providing all users with an exceptional support experience.

    Take me to your support forum!

    There are a few Sample Automated Strategies which come pre-configured in NinjaTrader that you can use as a starting point. These are found under New -> NinjaScript Editor -> Strategy. You will see locked strategies where you can see the details of the code, but you will not be able to edit (you can though always create copies you can later edit via right click > Save as)

    We also have some Reference samples online as well as ‘Tips and Tricks’ for both indicators and strategies:

    Click here to see our NinjaScript Reference Samples

    Click here to see our NinjaScript Tips

    These samples can be downloaded, installed and modified from NinjaTrader and hopefully serve as a good base for your custom works.

    Also, below I am also linking you to the Educational Resources section of the Help Guide to help you get started with NinjaScript.

    http://ninjatrader.com/support/helpG..._resources.htm

    Further, the following link is to our help guide with an alphabetical reference list to all supported methods, properties, and objects that are used in NinjaScript.

    Alphabetical Reference

    And our Educational Resources in the NinjaTrader 8 help guide.

    Educational Resources

    A set of specific tutorials for creating conditions in the NinjaTrader 8 Strategy Builder in the NinjaTrader 8 help guide.

    Condition Builder

    You can also contact one of our professional NinjaScript Consultants or Educators 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 a list of professional NinjaScript Consultants or Educators who would be happy to create or modify any script at your request or assist you in learning NinjaScript.

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Newtrader101, Today, 06:01 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_EricB  
    Started by Steve L, Today, 03:50 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by kherzfeldt6953, Today, 06:11 PM
    0 responses
    1 view
    0 likes
    Last Post kherzfeldt6953  
    Started by Newtrader101, Today, 05:32 PM
    0 responses
    4 views
    0 likes
    Last Post Newtrader101  
    Started by ntbone, Yesterday, 11:53 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X