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.

Button on chart, set up price levels from click on chart
 Post subject: Button on chart, set up price levels from click on chart Post rating: 0   New post Posted: Fri 13 May, 2011, 23:29 

User rating: 0
Joined: Fri 20 May, 2011, 17:14
Posts: 4
Location: SpainSpain
Hello,

I am looking for ability of start/activation button on chart for running strategy, and ability to setup various price levels from click on chart as well.
It is like you push an activation button, then like one click for set one price level (SL may be), second click – another price level...

I didn't find anything searching forum that's why I post a topic.

That's not mad idea :geek: if many time you trip and only you can run your method by VNC connection so just less clicks would be implemented.
Not sure if this is possible by API at all, but would be great to know an answer and may be some example as well. :)

As option, it can be a possibility that strategy scan drawn line where it begin is first level, where it ends - second level.

What do you think?


 
 Post subject: Re: Button on chart, set up price levels from click on chart Post rating: 0   New post Posted: Wed 25 May, 2011, 08:10 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Currently it's not possible to add a button to the chart. If you wish to add objects to the chart with event handling (function calls on move, delete, select etc.) you can see example:
https://www.dukascopy.com/wiki/index.php ... ect_events

It depends what you mean by "drawn line" - it can be either a chart object, an indicator or a price line
For accessing chart objects see:
https://www.dukascopy.com/wiki/index.php?title=IChart
See indicators:
https://www.dukascopy.com/wiki/index.php ... Indicators


 

Jump to:  

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