Topics
Replies
rjalopes
02 Jul 2022, 13:23
Bug Ctrader desktop 4.3 version
Just to give you the especific error :
Crashed in Initialize with ArgumentOutOfRangeException: Tipo de excepção 'System.ArgumentOutOfRangeException' accionado. Nome do parâmetro: chartObjectType O valor real é ArrowLine.
Even if i then remove the arrow and restart the indicators they will not show up anymore i have to reload the template and everything works fine from there so i think i will have to continue using the epic pen
@rjalopes
rjalopes
29 Mar 2022, 05:34
( Updated at: 29 Mar 2022, 05:37 )
RE:
amusleh said:
Hi,
Do you mean something like this:
using cAlgo.API; namespace cAlgo { [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)] public class NewIndicator : Indicator { private int _lasyBarIndex; protected override void Initialize() { } public override void Calculate(int index) { if (_lasyBarIndex == index) return; _lasyBarIndex = index; var bar = Bars[index]; var barMiddle = bar.Low + ((bar.High - bar.Low) / 2); Chart.DrawTrendLine(index.ToString(), index, barMiddle, index + 1, barMiddle, Color.Red); } } }
Sorry for the the late reply amusleh, Thank you that is exactly what i want .
@rjalopes
rjalopes
31 Aug 2021, 15:03
Go to date historical data
It's unbelievable that 5 years after the first post asking for a simple feature to have the possibility to see historical data base on a range date that feature is still missing. I really ask my self how this platform can still be in the market associated to brokers I can have this information for free in barchart.com
@rjalopes
rjalopes
08 Jul 2022, 11:15
RE:
amusleh said:
Hi amusleh sorry for the late reply but i had the indicator working in the 4.1 version and at this moment is also working at 4.3 so everything is ok thank you amusleh
@rjalopes