Chart.TryChangeTimeFrameAndSymbol always return false
Chart.TryChangeTimeFrameAndSymbol always return false
03 Jun 2019, 21:02
https://ctrader.com/api/reference/chart/trychangetimeframeandsymbol
Trying to use this method to change chart symbol when starting cbot
It always return false, not sure why.
Replies
CharlieBrown
14 Nov 2020, 03:55
RE:
PanagiotisCharalampous said:
Hi HOMERUN,
Thanks for posting in our forum. This method can only be used in indicators. When cBots are running changing symbol and/or timeframe is not allowed.
Best Regards,
Panagiotis
Hi Pana
Does this mean the following scenario on cBots will not work?
Open Position on MA crossover on H1 timeframe, followed by Close Position on opposite MA crossover on 5m timeframe.
Danke,
@CharlieBrown
PanagiotisCharalampous
16 Nov 2020, 10:20
Hi CharlieBrown,
This is about the ability of the user to change the timeframe on the chart. The cBot can retrieve information from any timeframe you want and use it accordingly.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Jun 2019, 09:42
Hi HOMERUN,
Thanks for posting in our forum. This method can only be used in indicators. When cBots are running changing symbol and/or timeframe is not allowed.
Best Regards,
Panagiotis
@PanagiotisCharalampous