Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Is it possible to create a ChartObject like rectangle with x-distance and y-price?
 Post subject: Is it possible to create a ChartObject like rectangle with x-distance and y-price? Post rating: 0   New post Posted: Thu 11 Dec, 2014, 16:00 
User avatar

User rating: 0
Joined: Sat 02 Aug, 2014, 10:12
Posts: 23
Location: China, Shijiazhuang
Hello,support
Is it possible to create a ChartObject like rectangle with x-distance and y-price?

I want to create a vertical lump on chart,which is always near the right boundary of the chart and the size of the longitudinal is current market price +/- 50 pips(like 1.2350 to 1.2450 for EURUSD).
But have not found a way to realize it.

Would you help me?

Best regards!

N.S.


Image


Attachments:
example.jpg [99.73 KiB]
Downloaded 173 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Is it possible to create a ChartObject like rectangle with x-distance and y-price? Post rating: 1   New post Posted: Fri 12 Dec, 2014, 17:01 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
To draw on chart relative to chart window we recommend using https://www.dukascopy.com/wiki/#IDrawing ... _interface
Please see the attached sample indicator.


Attachments:
SimpleDrawInd.java [4.62 KiB]
Downloaded 68 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Is it possible to create a ChartObject like rectangle with x-distance and y-price? Post rating: 0   New post Posted: Sun 14 Dec, 2014, 18:48 
User avatar

User rating: 0
Joined: Sat 02 Aug, 2014, 10:12
Posts: 23
Location: China, Shijiazhuang
Thank you very much!


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com