Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Camarilla for previous days.

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

    Camarilla for previous days.

    Hi,

    I am looking for an option to have Pivots to be displayed for the previous day. Is there an option with the built in Camarilla NT8 indicator, if not can some one help me with the require code so that the previous days pivots are displayed.

    Thanks in advance

    Neil

    Attached Files

    #2
    Hello toughnedglass,

    Thank you for the post.

    Both indicators should be able to do that when you scroll back, what settings for the pivot do you have selected?

    Are you asking to have it visible at the same time as the current day?

    If you used intraday data and Day for the pivot you should get the effect you are asking for when scrolling.


    I look forward to being of further assistance.

    Comment


      #3
      Hi Jesse,

      Thank you for the reply. I am looking to have the pivot details at the same time as current day. Want to have the pivots displayed on the screen for at least two consecutive days at the same time.

      Comment


        #4
        Hello toughnedglass,

        Thank you for clarifying that.

        To make the current pivot render differently to include more days would likely be difficult as that would require modifying the overall rendering logic. The rendering logic uses the session information to know what to render currently.

        You may be able to prevent the rendering logic and instead just plot the results, that is less pretty but produces a constant plot for the whole chart.

        To do that you could duplicate the indicator and then comment out lines 297 - 346 or the whole OnRender override. That leaves just the default plots visible.

        You can also keep the plotting logic by just adding the following line to OnRender:

        Code:
        protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
        {
        [B]  base.OnRender(chartControl, chartScale);[/B]

        I look forward to being of further assistance.

        Comment


          #5
          Thanks Jesse, I have commented the code as advised by you/added the additional code, does the job but agree with you, chart doesn't look pretty.

          Hope there is an alternate solution. Thanks for your help.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by SalmaTrader, 07-07-2026, 10:26 PM
          0 responses
          35 views
          0 likes
          Last Post SalmaTrader  
          Started by CarlTrading, 07-05-2026, 01:16 PM
          0 responses
          20 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 06-17-2026, 10:32 AM
          0 responses
          13 views
          0 likes
          Last Post CaptainJack  
          Started by kinfxhk, 06-17-2026, 04:15 AM
          0 responses
          19 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by kinfxhk, 06-17-2026, 04:06 AM
          0 responses
          21 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Working...
          X