• 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

Fibonacci Retracements problems

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

    Fibonacci Retracements problems

    Hi,

    I made an indicator based in the volume indicator. All the options I added work great but I have problems with Fibonacci Retracements.
    All my objects are drawn in the main instrument panel and Volume bars in another panel.

    The problems:

    1- If i use the format Draw.FibonacciRetracements(NinjaScriptBaseowner,stringtag,boolisAutoScale,intstartBarsAgo,doublestartY,intendBarsAgo,doubleendY) the fibo is drawn in the Volume panel, and the only solution I found to draw it in the main panel is use the format Draw.FibonacciRetracements(NinjaScriptBaseowner,stringtag,boolisAutoScale,intstartBarsAgo,doublestartY,intendBarsAgo,doubleendY,boolisGlobal,stringtemplateName) setting isGlobal true and templateName "Default".

    2- I use my licensed Agile.Net for offuscation and assembly.
    In the assembled indicator all works ok but the above Fibos are "transparent" and you only see the diagonal trace line. I tryied add a tempalate to the assembly but it does not solve the problem.


    Please could you help me?

    Regards,

    Marcos L.





    #2
    Hello superg3,

    All my objects are drawn in the main instrument panel and Volume bars in another panel.
    This is generally controlled by the DrawOnPricePanel property. Based on the description, it sounds like you have this as the default or set as true. If you have this set to false, the object will follow the indicators panel.

    https://ninjatrader.com/support/help...ightsub=drawon

    For the agile.net question, when you exported/tested this which version of NT8 were you using? There was a issue that has been resolved in the latest release around this situation.

    13610
    Fixed
    DrawingTool
    Calling draw tools which use PriceLevels with templates from compiled assembly could fail to get price levels from template
    https://ninjatrader.com/support/help...s/8_0_18_0.htm

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Hello Jesse,

      The last NT8 version solved the problem related with templates.
      But the DrawOnPricePanel property property is set false and does not solve the problem.

      Comment


        #4
        Hello superg3,

        Did you remove and re add the script from where it was applied? The DrawOnPricePanel property is the only way to toggle where the drawing object is drawn. Using false is the way to allow it to follow the panel from the host that drew it. If you just did a F5 or Reload NinjaScript it would not likely change the outcome until it is re applied due to this being a OnStateChange property.

        Are there any other details to the use case, is this indicator being manually applied or added from a strategy? Are you using IsOverlay = false or manually dragging the item to a new panel?

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment


          #5
          Hello Jesse,
          DrawOnPricePanel property is set to flase since I started to develop de indicator some months ago, so it seems not be the problem.

          It si not added from strategy, it is just added manually as a normal indicator. I do not use IsOverlay .







          Comment


            #6
            Hello superg3,

            I believe I mis-read what you wanted as the result here, if you wanted this in the primary panel the DrawOnPricePanel would need to be true.

            Is the overall result that you want for the indicator to be in a sub panel and the object in the primary panel? If so, that would be IsOverlay = false and DrawOnPricePanel = true. Using false for draw on price panel should be putting the object in the indicators panel rather than the primary panel.

            I look forward to being of further assistance.


            JesseNinjaTrader Customer Service

            Comment


              #7
              Hello Jesse ,

              tested with IsOverlay = false and DrawOnPricePanel = true and it works as expected.

              Thank you very much for you assistance.

              Regards,

              Marcos L.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by kitwit, Today, 09:47 AM
              0 responses
              5 views
              0 likes
              Last Post kitwit
              by kitwit
               
              Started by vantojo, Today, 08:35 AM
              1 response
              7 views
              0 likes
              Last Post NinjaTrader_PatrickG  
              Started by frankduc, Today, 08:28 AM
              1 response
              9 views
              0 likes
              Last Post NinjaTrader_Jim  
              Started by EddieBeanPit, 06-21-2019, 07:17 PM
              1 response
              20 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by futures2018!, Yesterday, 05:01 PM
              3 responses
              14 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Working...
              X