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

doji

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

    #16
    Hello simpletrades,

    Thank you for your response.

    Your code is working on my end without issue. What are you attempting to perform with the color change? Perhaps if I understand the end result I can better assist you here.

    I look forward to your response.

    Comment


      #17
      I was hoping that updating intrabar would give the yellow 't' which it does but not also outline the up/down bars.
      Updating on bar close was already doing what I wanted at the close and not outlining up/down but a temporary doji was just a vertical line with no horizontal.

      Comment


        #18
        Hello simpletrades,

        Thank you for your response.

        I have attached an edited version of your script from post #7.

        Please let me know if this indicator is able to change with the current bar's color.
        Attached Files

        Comment


          #19
          Thanks, I didn't load it until today but because of an unrelated paintbar indicator I am able to see that it outlines every bar its own color--violet or lime including wicks which is interesting.
          Is there a way to on bar close print the doji at a thickness of 2 not 1 but not affect the other candles that aren't dojis? If it has to do it intrabar I guess that would be ok.

          Comment


            #20
            Hello simpletrades,

            Thank you for your response.

            This would require custom plotting using the Plot() function. Please refer to the CustomPlotSample under Tools > Edit NinjaScript > CustomPlotSample.

            Please let me know if you have any questions.

            Comment


              #21
              I hate fact that there are no yellow dojis on my chart. All I see is a vertical wick where the yellow doji should be. I'm trying to get this indicator into NT8. Should I change anything in the code for NT8? Also, how do I import it? Does this load like an indicator? Thanks SO much.
              Attached Files
              Last edited by grazz; 06-05-2017, 02:44 PM.

              Comment


                #22
                Hello grazz,

                Thank you for your response.

                This would be a simple indicator to create. You could take the logic for a Doji directly from the CandlestickPattern indicator and apply it to your own.

                I have attached an example that works in NinjaTrader 8.

                Please let me know if you have any questions.
                Attached Files

                Comment


                  #23
                  Sweet! That was easy! Thanks so much Patrick for the rapid response and your help.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by algospoke, Yesterday, 06:40 PM
                  2 responses
                  19 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
                  21 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