• 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

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.
    Patrick H.NinjaTrader Customer Service

    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
        Patrick H.NinjaTrader Customer Service

        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.
            Patrick H.NinjaTrader Customer Service

            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
                Patrick H.NinjaTrader Customer Service

                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 U0000999, Today, 05:17 AM
                  0 responses
                  3 views
                  0 likes
                  Last Post U0000999  
                  Started by Prataturry89, Today, 03:40 AM
                  0 responses
                  5 views
                  0 likes
                  Last Post Prataturry89  
                  Started by UltraFastKetoBoost28, Today, 02:43 AM
                  0 responses
                  6 views
                  0 likes
                  Last Post UltraFastKetoBoost28  
                  Started by kojakojids, Today, 02:04 AM
                  0 responses
                  5 views
                  0 likes
                  Last Post kojakojids  
                  Started by pitifak, Today, 01:01 AM
                  0 responses
                  4 views
                  0 likes
                  Last Post pitifak
                  by pitifak
                   
                  Working...
                  X