Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Indicator custom data values - no rangebars
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=200&t=57985
Page 1 of 1

Author:  ccadar [ Sat 20 Aug, 2022, 11:35 ]
Post subject:  Indicator custom data values - no rangebars

hi,

does anybody know how to add/hack a rangebar value (10 pips) into the "Calculate from custom data" Period field of an Indicator ?


Image

Attachments:
indi.JPG [45.29 KiB]
Downloaded 1190 times

Author:  mak [ Mon 05 Sep, 2022, 11:08 ]
Post subject:  Re: Indicator custom data values - no rangebars

I asked for the same option (non time charts) a while ago and did not get response. It's probably difficult to implement.

Author:  Platform Support [ Fri 28 Oct, 2022, 12:10 ]
Post subject:  Re: Indicator custom data values - no rangebars

Yes, this is technically difficult.

10 points range bars is so called "Price based" period. When it is displayed in the chart, the time scale is no longer linear. You are asking for a possibility to display an indicator, calculated on the price based period, on the time based period.

Consider doing it the other way around. Why not displaying a time based period (use CUSTOMCANDLE indicator for this) on the price based period with an indicator calculated on it?

Attached is a sample of the SMA on 10 points range bars with CUSTOMCANDLE showing the 5 minutes candles.
Image

Attachments:
121.png [88.88 KiB]
Downloaded 1108 times
121.png [206.65 KiB]
Downloaded 218 times

  Page 1 of 1