indicator variable no longer working in v11

Forums ProRealTime English forum ProBuilder support indicator variable no longer working in v11

Viewing 6 posts - 1 through 6 (of 6 total)
  • #162308

    Hi, since moving to v11 from 10.3 one of the variables in an indicator i use no longer works. basically if the variable is true then it should only display the horizontal lines on bars for “today”.

    i’m not very good with coding so hoping someone can help me out? –  attached a picture of the variables.

     

    #162315

    emmkay – Welcome to the forums but….. please follow the forum rules and do not double post. I have deleted your other similar question that you added to another old topic.

    • Do not double post. Ask your question only once and only in one forum. All double posts will be deleted anyway so posting the same question multiple times will just be wasting your own time and will not get you an answer any quicker. Double posting just creates confusion in the forums.
    #162329

    In PRT v11, yesterday is the date from the previous day, even in history, so your condition to show levels only on the current day is not longer working. In fact, there is no “easy” workaround or replacement for this change. A complete rewrite of the indicator is needed in this case.

    #162402

    Thank you for your reply Nicolas, in that case would it be possible to show for bars >= yesterday? ultimately I just didn’t want the horizontal lines extending to the left on the chart.

    #162405

    Here is a modified code that plot segments for your pivot points only for the current day. I only recoded 2 segments for example, you’ll have to code the rest the same way as I did 😉

     

    #162596

    Thank you Nicolas this has worked perfectly! your help has been greatly appreciated!

Viewing 6 posts - 1 through 6 (of 6 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login