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

SSL channel Indicator => must have!

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

    SSL channel Indicator => must have!

    I found this indicator on TradingView and as well in Prorealtime, its a promising indicator.

    Its the SSL Channel Indicator

    It is a kind of Hi/Lo activator of a channel formed by 2 MA applied to High and Low price series, works like magic!

    Anyone who is able to make this indicator in NinjaTrader 8?

    Click image for larger version

Name:	SSL Channel indicator picture1.JPG
Views:	3338
Size:	46.3 KB
ID:	1134934

    ////////////////// code of prorealtime..

    period = 20
    type = 0

    smaHigh=Average[period,type](high)
    smaLow=Average[period,type](low)
    if close>smaHigh then
    Hlv=1
    elsif close<smaLow then
    Hlv=-1
    else
    Hlv=Hlv[1]
    endif

    if Hlv<0 then
    sslDown=smaHigh
    else
    sslDown=smaLow
    endif
    if Hlv<0 then
    sslUp=smaLow
    else
    sslUp=smaHigh
    endif
    if sslUp crosses over sslDown then
    drawarrowup(barindex,low-5*pipsize)coloured(0,255,0)
    elsif sslDown crosses over sslUp then
    drawarrowdown(barindex,high+5*pipsize)coloured(255 ,0,0)
    endif

    return sslUp as "UP", sslDown as "DOWN"


    ///////////////////////////////////


    #2
    Hello RobUtrecht12345,

    Thanks for your post.

    We will leave this thread open for any forum member that would like to create this for you.

    If created, it can also be added to the NT user app section of the Ninjatrader Ecosystem for the benefit of all: https://ninjatraderecosystem.com/use...r-8-indicators
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by RobUtrecht12345 View Post
      I found this indicator on TradingView and as well in Prorealtime, its a promising indicator.

      Its the SSL Channel Indicator

      It is a kind of Hi/Lo activator of a channel formed by 2 MA applied to High and Low price series, works like magic!

      Anyone who is able to make this indicator in NinjaTrader 8?

      Click image for larger version

Name:	SSL Channel indicator picture1.JPG
Views:	3338
Size:	46.3 KB
ID:	1134934

      ////////////////// code of prorealtime..

      period = 20
      type = 0

      smaHigh=Average[period,type](high)
      smaLow=Average[period,type](low)
      if close>smaHigh then
      Hlv=1
      elsif close<smaLow then
      Hlv=-1
      else
      Hlv=Hlv[1]
      endif

      if Hlv<0 then
      sslDown=smaHigh
      else
      sslDown=smaLow
      endif
      if Hlv<0 then
      sslUp=smaLow
      else
      sslUp=smaHigh
      endif
      if sslUp crosses over sslDown then
      drawarrowup(barindex,low-5*pipsize)coloured(0,255,0)
      elsif sslDown crosses over sslUp then
      drawarrowdown(barindex,high+5*pipsize)coloured(255 ,0,0)
      endif

      return sslUp as "UP", sslDown as "DOWN"


      ///////////////////////////////////
      Try the attached
      Attached Files

      Comment


        #4
        Many Thanks Jack22 for the effort you did on making the 'ChannelSSL.cs'.

        I tried to import the ChannelSSL.cs file into Ninjatrader 8. That does not work yet.

        Is it possible to make a NinjaScript Archive File (*.zip) of this indicator, so i cam import this as an indicator in Ninjatrader 8? (Tools ->import -> NinjaScript add on).

        Or do you know a way how to get the ChannelSSL.cs file up and running through another way in in NinjaTrader 8?

        Greetings,

        Comment


          #5
          Originally posted by RobUtrecht12345 View Post
          Many Thanks Jack22 for the effort you did on making the 'ChannelSSL.cs'.

          I tried to import the ChannelSSL.cs file into Ninjatrader 8. That does not work yet.

          Is it possible to make a NinjaScript Archive File (*.zip) of this indicator, so i cam import this as an indicator in Ninjatrader 8? (Tools ->import -> NinjaScript add on).

          Or do you know a way how to get the ChannelSSL.cs file up and running through another way in in NinjaTrader 8?

          Greetings,
          Copy the file to: Documents\NinjaTrader 8\bin\Custom\Indicators

          Control Center -> New -> NinjaScript Editor

          Then compile with: F5, compile button on toolbar, or right click on canvas and select compile

          Comment


            #6
            @ Jack22 : Many Many thanks for the extra information! now it works like MAGIC! i can advise everybody to look at this indicator and use it!

            If you or anyone know a beter indicator than this? Please let me and everybody know here below in the commends!

            Greetings,

            Comment


              #7
              Thanks for the upload, I've been trying to find this indicator for NinjaTrader!

              Comment


                #8
                Hello Jack22,

                Thanks for your contribution.

                You are welcome to (but not required to) post this in the NT user apps section of the Ninjatrader Ecosystem where everyone can more easily search and find this indicator. The user submission forum is here: https://ninjatrader.com/support/foru...app-submission You would need to export the indicator in a zip file and add a screenshot of the indicator in use as well as a brief description.
                Paul H.NinjaTrader Customer Service

                Comment


                  #9
                  Hello Jack22,

                  To export a NinjaTrader 8 NinjaScript so this can be shared and imported by the recipient do the following:
                  1. Click Tools -> Export -> NinjaScript...
                  2. Click the 'add' link -> check the box(es) for the script(s) and reference(s) you want to include
                  3. Click the 'Export' button
                  4. Enter a unique name for the file in the value for 'File name:'
                  5. Choose a save location -> click Save
                  6. Click OK to clear the export location message
                  By default your exported file will be in the following location:
                  • (My) Documents/NinjaTrader 8/bin/Custom/ExportNinjaScript/<export_file_name.zip>
                  Below is a link to the help guide on Exporting NinjaScripts.
                  http://ninjatrader.com/support/helpG...-us/export.htm

                  We do not recommend manually adding or manually removing files directly from the file system as this will often lead to compile errors.


                  As a convenience to other forum members that would like to import this script I have exported this using the proper procedure.

                  To import a NinjaScript into NinjaTrader 8 do the following:
                  1. Download the script to your desktop, keep it in the compressed .zip file.
                  2. From the Control Center window select Tools -> Import -> NinjaScript...
                  3. Click the Desktop icon on the left to navigate to the desktop
                  4. Select the downloaded .zip file -> then click Open
                  5. NinjaTrader will then confirm if the import has been successful.
                  Critical *Note that on any files that say "File already exists on your PC" that start with an "@" symbol are the ones that came preloaded inside of NinjaTrader so you would say "No" so that you do not override those files.

                  Below is a link to the help guide on importing.
                  https://ninjatrader.com/support/help...-us/import.htm
                  Attached Files
                  Chelsea B.NinjaTrader Customer Service

                  Comment


                    #10
                    Originally posted by Jack22 View Post

                    Try the attached
                    Jack22, absolutely awesome indicator! Thank you so much for sharing! I do have one question. I tried editing the colors of the up / down arrows that auto-plot. I had to right-click on an individual arrow as the arrow properties are not available within the indicator properties. Do you know of any way to edit the default plot colors of the up/down arrows without having to edit each arrow individually? Any help, advice, etc is greatly appreciated even if the answer is "no". Thanks again!

                    Comment


                      #11
                      Hello THardin,

                      Thanks for your post.

                      You could create user-defined Brush inputs and use those inputs for the Brush property of the up and down arrows that are drawn on the chart.

                      See the attached example script demonstrating how this could be accomplished.

                      And, see this help guide page about working with Brushes: https://ninjatrader.com/support/help...th_brushes.htm

                      Please let me know if I may assist further.
                      Attached Files
                      Brandon H.NinjaTrader Customer Service

                      Comment


                        #12
                        Originally posted by NinjaTrader_BrandonH View Post
                        Hello THardin,

                        Thanks for your post.

                        You could create user-defined Brush inputs and use those inputs for the Brush property of the up and down arrows that are drawn on the chart.

                        See the attached example script demonstrating how this could be accomplished.

                        And, see this help guide page about working with Brushes: https://ninjatrader.com/support/help...th_brushes.htm

                        Please let me know if I may assist further.
                        Thank you for the quick response Brandon. I downloaded the attached sample script and unzipped the file. My PC wants to open it as an Adobe PDF but I get an Adobe error message when trying to open. Do you have any advice as to how I need to open this file?

                        Comment


                          #13
                          Originally posted by NinjaTrader_BrandonH View Post
                          Hello THardin,

                          Thanks for your post.

                          You could create user-defined Brush inputs and use those inputs for the Brush property of the up and down arrows that are drawn on the chart.

                          See the attached example script demonstrating how this could be accomplished.

                          And, see this help guide page about working with Brushes: https://ninjatrader.com/support/help...th_brushes.htm

                          Please let me know if I may assist further.
                          Hi Brandon,

                          Please disregard my previous reply. I found a good code editor and was able to open the script. My son has a certification in coding and is helping me. Once again, thank you for your quick assistance.

                          Comment


                            #14
                            Can we add any other indicator along with the 'ChannelSSL' indicator to avoid false signals?

                            Comment


                              #15
                              Hello nrkoka786,

                              Thanks for your note.

                              I am not aware of 'false signals' that this indicator would produce or other indicators that should be used with the ChannelSSL indicator.

                              That said, this forum thread will be open for the other community members to share their insights on indicators you could use with the ChannelSSL indicator.
                              Brandon H.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by mmenigma, Yesterday, 03:25 PM
                              1 response
                              11 views
                              0 likes
                              Last Post NinjaTrader_Gaby  
                              Started by kujista, Today, 05:44 AM
                              0 responses
                              7 views
                              0 likes
                              Last Post kujista
                              by kujista
                               
                              Started by ZenCortexCLICK, Today, 04:58 AM
                              0 responses
                              9 views
                              0 likes
                              Last Post ZenCortexCLICK  
                              Started by sidlercom80, 10-28-2023, 08:49 AM
                              172 responses
                              2,281 views
                              0 likes
                              Last Post sidlercom80  
                              Started by Irukandji, Yesterday, 02:53 AM
                              2 responses
                              18 views
                              0 likes
                              Last Post Irukandji  
                              Working...
                              X