cTrader Chart Drawing Saving Tool not loading Fibo correctly

Created at 14 Oct 2022, 09:03
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!
IM

imAsparky

Joined 10.06.2022

cTrader Chart Drawing Saving Tool not loading Fibo correctly
14 Oct 2022, 09:03


Hi Folks,

This is an awesome tool and has become invaluable to me.  https://clickalgo.com/chart-template-save

I have posted a bug to clickAlgo and they have told me that Spotware develops this tool.

I have some trouble with the tool in that it doesn't load negative Fibonacci extension values.

The values appear ok in the xml file (see below), but when the chart loads the extension lines are missing, eg -27.2, -61.8.
This bug has been happening across several cTrader version, and I am running 4.4.13 at the moment.

cheers

mark

<?xml version="1.0"?>
<ChartObjectsContainer xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TextModels />
  <TriangleModels />
  <RectangleModels />
  <VerticalLineModels />
  <HorizontalLineModels>
    <ChartHorizontalLineModel>
      <Name>Horizontal Line 4</Name>
      <Comment />
      <IsInteractive>true</IsInteractive>
      <IsLocked>false</IsLocked>
      <IsHidden>false</IsHidden>
      <ZIndex>0</ZIndex>
      <ObjectType>HorizontalLine</ObjectType>
      <AreaIndex>-1</AreaIndex>
      <Y>145.91660267857145</Y>
      <ColorHex>#FFAA83C6</ColorHex>
      <Thickness>1</Thickness>
      <LineStyle>Solid</LineStyle>
    </ChartHorizontalLineModel>
  </HorizontalLineModels>
  <TrendLineModels />
  <ChartEquidistantChannelModels />
  <ChartAndrewsPitchforkModels />
  <ChartFibonacciRetracementModels>
    <ChartFibonacciRetracementModel>
      <Name>Fibonacci Retracement 1</Name>
      <Comment />
      <IsInteractive>true</IsInteractive>
      <IsLocked>false</IsLocked>
      <IsHidden>false</IsHidden>
      <ZIndex>0</ZIndex>
      <ObjectType>FibonacciRetracement</ObjectType>
      <AreaIndex>-1</AreaIndex>
      <FibonacciLevels>
        <FibonacciLevelModel>
          <PercentLevel>0</PercentLevel>
          <IsVisible>true</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>11.4</PercentLevel>
          <IsVisible>false</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>-27.2</PercentLevel>
          <IsVisible>true</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>38.2</PercentLevel>
          <IsVisible>true</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>50</PercentLevel>
          <IsVisible>true</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>61.8</PercentLevel>
          <IsVisible>true</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>-61.8</PercentLevel>
          <IsVisible>true</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>76.4</PercentLevel>
          <IsVisible>false</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>88.6</PercentLevel>
          <IsVisible>false</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>100</PercentLevel>
          <IsVisible>true</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>112.8</PercentLevel>
          <IsVisible>false</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>123.6</PercentLevel>
          <IsVisible>false</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>127</PercentLevel>
          <IsVisible>true</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>138.2</PercentLevel>
          <IsVisible>false</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>150</PercentLevel>
          <IsVisible>false</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>161.8</PercentLevel>
          <IsVisible>true</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>176.4</PercentLevel>
          <IsVisible>false</IsVisible>
        </FibonacciLevelModel>
        <FibonacciLevelModel>
          <PercentLevel>261.8</PercentLevel>
          <IsVisible>false</IsVisible>
        </FibonacciLevelModel>
      </FibonacciLevels>
      <DisplayPrices>false</DisplayPrices>
      <Thickness>1</Thickness>
      <LineStyle>Solid</LineStyle>
      <ColorHex>#FF025776</ColorHex>
      <Time1>2022-05-23T21:00:00Z</Time1>
      <Time2>2022-07-13T21:00:00.002Z</Time2>
      <Y1>126.854</Y1>
      <Y2>139.392</Y2>
    </ChartFibonacciRetracementModel>
  </ChartFibonacciRetracementModels>
  <ChartFibonacciFanModels />
  <ChartFibonacciExpansionModels />
  <ChartEllipseModels />
  <ChartIconModels />
</ChartObjectsContainer>

 


@imAsparky
Replies

Spotware
14 Oct 2022, 09:28

Dear imAsparky,

This is an open source tool, serving mostly as an example of how to use cTrader Automate API, therefore it is not actively supported. If we decide to revisit this in the future, we will take your comment into consideration.

Best regards,

cTrader Team


@Spotware

imAsparky
14 Oct 2022, 09:37

RE: Open Source

Spotware said:

Dear imAsparky,

This is an open source tool, serving mostly as an example of how to use cTrader Automate API, therefore it is not actively supported. If we decide to revisit this in the future, we will take your comment into consideration.

Best regards,

cTrader Team

Hi Folks

 

Thank you for the fast feedback.

 

Hey could you please point me to the source code for the tool.  That would be a great help.

 

thank you

 

kind regards

mark


@imAsparky