Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
How to add on a chart an Indicator of an Indicator via API http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=57657 |
Page 1 of 1 |
Author: | xevious [ Thu 22 Apr, 2021, 15:04 ] |
Post subject: | How to add on a chart an Indicator of an Indicator via API |
Hello, on JForex platform I can easily create an Indicator of an Indicator and add it on a chart (i.e. bollinger bands calculated over RSI values and displayed on RSI chart panel). I'd like to do the same in the onStart() method of a simple strategy, just to automatically see on the chart the indicators during backtesting. Could you please explain how to do it via API. I've tried to do it by setting RSI indicator as input of a bollinger bands indicator, but I got a StackOverflow exception. Is there any code snippet with a such example? Thanks in advance. Regards, Marco |
Author: | API Support [ Thu 15 Jul, 2021, 14:21 ] |
Post subject: | Re: How to add on a chart an Indicator of an Indicator via API |
Greetings. It is possible only using custom indicator for now. See https://www.dukascopy.com/wiki/en/devel ... -indicator Regards. |
Page 1 of 1 |