Shift Function for Simple Moving Average
Shift Function for Simple Moving Average
06 Feb 2020, 14:56
Hello Everyone,
I'm using the simple moving average as the main indicator in my cBot and would like to add the "shift" feature to it. Does anyone have the code ? Or from where to get it ?
Thank You
Replies
mah2020@yahoo.com
13 Feb 2020, 17:31
Hello Mr. Panagiotis,
Thank you for your reply.
I’m just curious to know when this feature will be added in the API ? Is it a paid feature ?
@mah2020@yahoo.com
PanagiotisCharalampous
17 Feb 2020, 08:45
Hi Mr. John,
We do not have plans to add this at the moment but this can be programmed by you in a custom indicator.
Best Regards,
Panagiotis
@PanagiotisCharalampous
mah2020@yahoo.com
25 Feb 2020, 10:48
Hello again Mr. Panagiotis,
Thank you for the advise..
I have requested my developer to use/integrate a custom indicator to be able to have same function of “shift” in the cBot.. It works partially OK in positive values (above zero) but it doesn’t give any results in negative values such -1 or -40 ... etc !!
There are no values in the latest bars !!
How do you think this can be fixed and results can be seen ?
Thanks a lot in advance
@mah2020@yahoo.com
PanagiotisCharalampous
25 Feb 2020, 10:55
Hi Mr. John,
I am not sure why do you think this is an issue and what values would you expect to see. If the indicator is shifted backwards then there will not be any results in the latest bars.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Feb 2020, 14:59
Hi there,
This parameter is not available in the API at the moment.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous