Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Draw Arrow on Alert of Stoch

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

    Draw Arrow on Alert of Stoch

    I have an alert set when Stoch cross back under 80 and above 20 I get an alert. I want to know how I get NT8 to draw an arrow (down arrow for 80 // up arrow for 20) on the chart above the candle of the alert when the alert comes on.

    #2
    Hello Nas1993,

    Thanks for your post and welcome to the NinjaTrader forums!

    If you have created the alert using chart alerts then there are no means in chart alerts to provide a draw object.

    You can create a custom Ninjascript based indicator that can provide both the alert function and arrows. This could likely be accomplished by making a copy of the existing Stochastics indicator and modifying its code to accomplish your goals. If this is of interest, please let us know and we can provide educational links to get you started learning Ninjascript which is based on C# programming language.

    Alternatively, this can be coded for you by a 3rd party programmer, if this is of interest please let us know and we can provide references to websites of the 3rd party programmers that could do this.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      What are the links to learn Ninjascript?

      Comment


        #4
        Hello Nas1993,

        Thanks for your reply.

        If you would like to take on learning NinjaScript, we have a fully documented help guide which will help you get started.

        In the help guide there are language references to all of the methods and functions you will be using.

        All links below are publicly available.

        First up is a link to a set of specific tutorials for creating conditions in the NinjaTrader 8 Strategy Builder in the NinjaTrader 8 help guide: https://ninjatrader.com/support/help...gy_builder.htm


        The entire Alphabetical Reference can be found with the following link: https://ninjatrader.com/support/help..._reference.htm

        Below are links to Reference Samples online as well as some Tips and Tricks for both indicators and strategies. These samples can be downloaded, installed and modified from NinjaTrader and hopefully serve as a good base for your custom works.

        Click here to see our NinjaScript Reference Samples:


        Click here to see our NinjaScript Tips: https://ninjatrader.com/support/help...n-us/?tips.htm

        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 proving 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 - https://www.youtube.com/watch?v=HCyt...ZmVnauWXkWe0Nf
        NinjaScript Editor 401 - https://www.youtube.com/watch?v=BA0W...ZmVnauWXkWe0Nf

        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:



        Here is a link to the Educational Resources section of the Help Guide to help you get started with NinjaScript: https://ninjatrader.com/support/help..._resources.htm

        There is also a growing library of user-submitted custom indicators (100+) that can be downloaded from our support form. Please look in the NinjaScript File Sharing section of our support forum as you may find what you are looking for there: https://ninjatrader.com/support/foru...ks.php?catid=7

        Last, I'm also sharing a link to another forum post that reviews how to use prints to understand behavior and debug a script when the behavior is unexpected. https://ninjatrader.com/support/foru...979#post510979

        edit: 5-14=2018, updated all links.
        Last edited by NinjaTrader_PaulH; 05-14-2018, 07:45 AM.
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          None of the links work, it brings me to a page that says "Page Not Found"
          I think the "..." in the texts messed it up

          Comment


            #6
            Hello Nas1993,

            Thanks for your reply.

            I see the same. I will update the links as quickly as I can and will post again when they have been corrected.

            Thank-you.
            Paul H.NinjaTrader Customer Service

            Comment


              #7
              Hello Nas1993,

              I've updated all of the links, please try again.
              Paul H.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by algospoke, Yesterday, 06:40 PM
              2 responses
              23 views
              0 likes
              Last Post algospoke  
              Started by ghoul, Today, 06:02 PM
              3 responses
              14 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by jeronymite, 04-12-2024, 04:26 PM
              3 responses
              45 views
              0 likes
              Last Post jeronymite  
              Started by Barry Milan, Yesterday, 10:35 PM
              7 responses
              22 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by AttiM, 02-14-2024, 05:20 PM
              10 responses
              181 views
              0 likes
              Last Post jeronymite  
              Working...
              X