MACD (Period => Time span)

Created at 24 Jan 2018, 05:26
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
JO

joshc1092

Joined 24.01.2018

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


@joshc1092
Replies

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

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