|
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.
Volume Tick indicator |
PhilMeijer
|
Post subject: Volume Tick indicator |
Post rating: 0
|
Posted: Mon 22 Jan, 2018, 13:24
|
|
User rating: 1
Joined: Wed 19 Feb, 2014, 10:42 Posts: 16 Location: NetherlandsNetherlands
|
Hello all,
I am wondering how to create a custom indicator which counts all ticks for the instrument and period its attached too. The indicator should start when I have started my platform so historical ticks are not needed, it will start collecting tick data when its started.
Next, upon completion of the price bar, I would to display the count of ticks in some sort of histogram. I can collect all information I want In a strategy but I don't know how to go about this in an indicator and most of all, how to output the count in a histogram.
Is there anyone who can point me in the right direction or has already researched this?
Thanks in advance, Phil
|
|
|
|
 |
API Support
|
 |
Post subject: Re: Volume Tick indicator |
Post rating: 0
|
Posted: Tue 23 Jan, 2018, 15:58
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Here is an example indicator
Attachments: |
TicksInBar.java [7.76 KiB]
Downloaded 225 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.
|
|
|
|
|
 |
PhilMeijer
|
Post subject: Re: Volume Tick indicator |
Post rating: 0
|
Posted: Wed 24 Jan, 2018, 06:38
|
|
User rating: 1
Joined: Wed 19 Feb, 2014, 10:42 Posts: 16 Location: NetherlandsNetherlands
|
Thanks for your help!
Much appreciated.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|