Help for graphical indicators development version 10.3

Forums ProRealTime English forum ProBuilder support Help for graphical indicators development version 10.3

  • This topic has 41 replies, 13 voices, and was last updated 5 years ago by avatardan55.
Viewing 15 posts - 16 through 30 (of 42 total)
  • #29335

    Sorry for the misunderstanding , but in the example screen shot the arrow and the circle are drawn by hand on the 1 hour chart , and  they show up on the 5 mins …

    My question is :

    Can a segment drawn using the code shown running on the 1 hour chart show through on lower time frames , in the same way it can manually…

    I assume it cannot be done ?

    Thanks

    #29353

    No it cannot be done by code. A graphical object drawn by code is an indicator, it will only show up on the chart where it is attached to. Hope I’m clear this time 🙂

    #29361

    Yes, understand now.. Thanks for clarifying this for me.

    #29503

    Hi Nicolas, in addition to my pending post in the Indicator section, I have a problem I hope you can help me with- because after two days I have given up. I discovered that the DRAWSEGMENT is not updating Live, but stops the moment you put on the indicator, I suspect it’s the same problem with the drawrectangle(?) though I haven’t been able to live test the drawrectangle between 8 and 9 am.  I also change the code a bit from the pending post- I think we need to solve this issue first before releasing the indicator post. Also the stop time is not correct. if time 135000 the yesterdays draw of the segment stops at 220000?

    Cheers Kasper

     

     

    #29505

    Kasper,

    It may not be a good hint, but at lines 25 and 26 you are drawing segment from now (barindex) to future bars that still don’t exist (barindex+count) and it’s not possible to draw at the right of the price chart (in the future)..

    #29507

    To replace the impossibility to draw segment to the right of current live candle, the only way I could program a work around this in my codes was to add an “if” statement at the following candle, checking when there should have been a piece of “future” segment from previous candle, and draw it from there “to the left”, effectively still updating the segment as history develops, but with the future bits appearing “one candle late in time, but at the right place”. A bit heavy, but worth it in case the segment is really important to you.

    #29508

    Okay, I can understand that we cannot draw on barindex in the future, but it should be possible to draw the line as we go along- until 22 pm

    #29509

    hahaha- turned out to be a good hint 😀 😀

    Can you dismiss the pending post? I want to make a new one with the new code

     

     

    #29513

    Yes Kasper, don’t worry about the first post that will go to trash bin 🙂

    #31458

    hi nicholas,

     

    Could you please help me?

    I try to write a code that will be done – an upward arrow – wherever the price closes above the high of the previous candle.
    That is, in fact, it will signify any “break-in” of the price.

    The code is attached.
    The result was not for what to attach …
    The software has drawn me some kind of unclear line on the graph …

    I thank you very much for your help.
    great day.
    Chaim.

     

    #31468

    Hello again, Nicholas.
    I got a result with arrows, attached.
    But the condition I am asking is not related to the outcome.

    I would be very grateful if you could take a look at the code I added in the previous post.
    And write to me why it does not work.

    Thank you very much in advance for your help.

     

    #31534

    Why do you want to make a loop? (FYI, drawn objects can’t be erased, even with a loop through the whole bars like you did).

     

    #31535

    Thanks Nicholas.
    This is progress for me.
    But the point is that I want only the candle of the breakthrough to be marked and not the candles after it that continue the way up.
    Even if they meet the condition

    #31539

    Ok but you need first to define the first breakthrough. Because your code is doing what it is supposed to 🙂

    #31540

    Sorry for the question but,
    I have a plan for an indicator that my question is only part of.
    Is there a possibility to ask you to do this for me – for a fee of course?

Viewing 15 posts - 16 through 30 (of 42 total)

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