API Support wrote:
imtsfx wrote:
For other parameters, can you please advise how I could get the rest of them, i.e. Tenkan Sen, Kijun Sen, Chinkou Span and Cloud?
Run the following example with
indName = "ICHIMOKU" to find out the output names and numbers:
https://www.dukascopy.com/wiki/#Calculate_arbitrary_indicator/Calculate_by_shiftimtsfx wrote:
Also, i noticed 2 is the default shift value for Senkou A & B and Cloud on Jforex platform. Does it shift the location of the cloud?
Consider running the next example and compare the outputs with on-chart values to see how it works:
https://www.dukascopy.com/wiki/#Calculate_arbitrary_indicator/Calculate_by_candle_intervalhttps://www.dukascopy.com/wiki/#Add_indicators_on_chart/Include_in_OHLCI was able to get the following output by running Calculate_by_shift,
2012-09-10 08:04:38 Cloud type is Object - class [D, which needs customized processing.
2012-09-10 08:04:38 Senkou B=1.27943
2012-09-10 08:04:38 Senkou A=1.27932
2012-09-10 08:04:38 Chinkou Span=1.27940
2012-09-10 08:04:38 Ki-jun Sen=1.27932
2012-09-10 08:04:38 Tenkan Sen=1.27932
2012-09-10 08:04:38 indicator outputs:
2012-09-10 08:04:38 Set default opt input: Senkou=52
2012-09-10 08:04:38 Set default opt input: Kijun=26
2012-09-10 08:04:38 Set default opt input: Tenkan=9
2012-09-10 08:04:38 inputCount=1, optInputCount=3, outputCount=6
Since I'd like to call and get output for each parameter individually, for instance, what you did in the IchimokuStrategy is,
if (bar.getClose() < i_sh[SENOKU_A]
&& bar.getClose() < i_sh[SENOKU_B]) {
I still couldn't figure it out what the other names I am supposed to use are. Can you help please?
Thanks.