How Do i Draw ellipse

Forums ProRealTime English forum ProBuilder support How Do i Draw ellipse

Viewing 7 posts - 1 through 7 (of 7 total)
  • #39774

    Can any one write a simple code to draw eclipse on the price once close.

    #39782

    You meant “ellipse”? 😆

    To draw a circle (an ellipse), you need 2 set of coordinates, just like you would draw a rectangle for instance: DRAWELLIPSE

    What do you want to have inside the ellipse please?

    #39796

    Yes, Ellipse, inside ellipse there must be Candle for that a period. like for example instead of putting buy signal then there must be ellipse. I have attached example with buy or sell signal. instead of those buy and sell signal I need to replace it with ellipse to show me that my startergy is activated once the candle closes then the trade will be placed.

    #39798

    I copy/paste your document here:

    Description

    Long signal (buy)

    When cycle cross over value 0 then buy signal activated. When CCI cross over 100 then is over bought exit the trade.

    Short Signal (Sell)

    When cycle cross under value 0 then sell signal activated and when CCI cross under -100 is oversold exit the trade.

     

    I attached the example of what the code is doing right now, could you please tell me what signals should be replace by an ellipse now? There are many different things already plotted, that’s why I asked to be sure 🙂 Thanks.

     

    #39840

    Buy signal and sell signal to be replaced by ellipse.

    Thanks in advance Nico

    #39844

    Ok, so I replaced the “buy” and “sell” text with ellipse including the candlesticks that generate the signals. They are drawn 1 bar after the signal, because to include correctly the candlestick into the circle, we need to start to draw it before the bar and end after it.

     

    #39870

    You are amazing, Thank you very much Nico. It work perfectly

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

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