Histograms

How to create strategies and indicators
Message
Author
abdunbar
Posts: 1
Joined: Wed May 05, 2010 11:33 pm

Histograms

#1 Postby abdunbar » Wed Feb 27, 2013 4:49 pm

Hello,

I have an indicator, DPI, that is in the lower window on each of these charts. Metatrader and FT2. I set both charts to the same point in time so it would be apparant that the indicators are duplicates. This indicator draws a histogram between two buffers and I would like to use the HistogramFill option. The way I wrote this indicator was more difficult. I just used the normal Histogram functins with an extra two buffers to print black histograms to cover up the red and yellow.

Example code to use ds_HistogramFill please?

Next, the histogram thickness does not seem to be adjustable?

Finally, I would like to have default Gold Hisogram bars but my compiler, Lazarus with Delphi syntax does not accept "clGold." Is there another way to reference that color?



Thanks,
Archie
Attachments
metatrader rapid.JPG
metatrader rapid.JPG (100.69 KiB) Viewed 9534 times
ft rapid.JPG
ft rapid.JPG (104.67 KiB) Viewed 9534 times

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#2 Postby FT Support » Thu Feb 28, 2013 11:40 am

Hello Archie,

Sorry but we do not have an example of ds_HistogramFill usage. As far as I remember this buffer style was added by the request of a customer, we do not have indicators made by him.

Yes, histogram thickness cannot be adjusted.

Try this color:
clGold = TColor($327FCD);
Check our other product here:
http://www.forexcopier.com


Return to “FT API”

Who is online

Users browsing this forum: No registered users and 5 guests