MACD (Period => Time span)
MACD (Period => Time span)
24 Jan 2018, 05:26
Hello,
Does anyone know how to change the period of MACD to time span ?
For example, compare the average price for the last 10 seconds to the average price for last 200 seconds on tick chart.
Thanks
Replies
joshc1092
24 Jan 2018, 15:37
RE:
Hi Panagiotis ,
Thanks for replying.
The build in MACD indicator does not have such a feature.
Yes, I'm aware of that. Is it possible to code it using clago ?
If so, could you please provide a sample code ? :)
However specifying periods is equivalent to specifying a time span e.g. 5 periods on a minute chart = 5 minutes timespan. Aren;t the available timeframes working for you?
I can't get the average price for last N seconds in minute chart. E.g. : 10s , 25s, 80 seconds .. etc
and there is no 1 second chart in calgo.
@joshc1092
PanagiotisCharalampous
25 Jan 2018, 12:02
Hi joshc1092,
Yes, I'm aware of that. Is it possible to code it using clago ?
It is possible but it will require some work to be implemented. So I am afraid that I cannot offer you a sample code. If you wand you can ask for a assistance of a Consultant or post a Job.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Jan 2018, 09:59
Hi joshc1092,
Thanks for posting in our forum. The build in MACD indicator does not have such a feature. However specifying periods is equivalent to specifying a time span e.g. 5 periods on a minute chart = 5 minutes timespan. Aren;t the available timeframes working for you?
Best Regards,
Panagiotis
@PanagiotisCharalampous