Refresh chart

Created at 26 Mar 2020, 19:46
MR

mrha1000

Joined 04.10.2017

Refresh chart
26 Mar 2020, 19:46


Hello friends

I want to write a code in my indicator to refresh the chart 5 seconds after the new candlestick opens.

please guide me


@mrha1000
Replies

PanagiotisCharalampous
27 Mar 2020, 07:58

Hi mrha1000,

You can use the Timer.TimerTick() to execute code at specific intervals.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

mrha1000
27 Mar 2020, 10:54

RE:

PanagiotisCharalampous said:

Hi mrha1000,

You can use the Timer.TimerTick() to execute code at specific intervals.

Best Regards,

Panagiotis 

Join us on Telegram

 

Thankful
What command should I use to refresh the chart?


@mrha1000

PanagiotisCharalampous
27 Mar 2020, 11:01

Hi mrha1000,

There is no command to refresh the chart. You have to write a method that recalculates all the values of the indicator.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

mrha1000
27 Mar 2020, 16:17

RE:

PanagiotisCharalampous said:

Hi mrha1000,

There is no command to refresh the chart. You have to write a method that recalculates all the values of the indicator.

Best Regards,

Panagiotis 

Join us on Telegram

Yes Yes

I realized now

Thankyou


@mrha1000