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.

Indicator based on Cursor Pointer
 Post subject: Indicator based on Cursor Pointer Post rating: 0   New post Posted: Sun 13 Jul, 2014, 14:18 

User rating: 0
Joined: Sun 13 Jul, 2014, 14:07
Posts: 1
Location: Germany,
Hello,

I like to create an Indicator that is based on the Cursor Pointer (see Screenshot).
Where can I find the Class or download the file to customize it?

Or maybe you can Post me a sample Code that would be very obliging.

Thank You!

Screenshot:

https://www.pic-upload.de/view-23882213/Cursor-Pointer-Sample-1.jpg.html


 
 Post subject: Re: Indicator based on Cursor Pointer Post rating: 0   New post Posted: Mon 28 Jul, 2014, 12:54 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
You can't "listen" to mouse cursor position with respect to the chart coordinates. What you could do is create a strategy which draws a short line or a rectangle and the strategy could "listen" to the modifications of the object.


 

Jump to:  

cron
  © 1998-2024 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