Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
How to set indicator output shift via code? http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=57439 |
Page 1 of 1 |
Author: | mese79 [ Wed 23 Sep, 2020, 14:41 ] |
Post subject: | How to set indicator output shift via code? |
Hi I have an indicator that its output needs to be shifted based on a condition. I use getOptInputParameterInfo method to set shift for default output: if (condition) { But the problem is that once condition is false the shift won't reset to zero! Why? How should I fix this? |
Author: | API Support [ Tue 20 Oct, 2020, 16:34 ] | ||
Post subject: | Re: How to set indicator output shift via code? | ||
Greetings. Will be fixed in next platform release. Output parameters can be changed by the indicator when setting input parameters (example attached). Regards.
|
Page 1 of 1 |