Fully integrate cAlgo with Visual Studio 2015 Community Edition

06 Mar 2016, 08:17Fully integrate cAlgo with Visual Studio 2015 Community Edition#1
gainerposts: 29since: 24 Jan 2016

Since i answered a couple of topic i saw this is a matter that interest many of us, I opened this subject with all the instructions to FULLY integrate the cAlgo with the Visual Studio 2015 Community Edition

This is the complete procedure

  1. Above all, if you don't have it yet, download and install the powerful but TOTALLY FREE Visual Studio 2015 Community Edition

    https://www.visualstudio.com/en-us/products/visual-studio-community-vs.as

    Take a seat and a good coffee because the installation is really long!

  2. During the installation, you can choose the full version (with web development, C++, Visual Basic, Python and much much more...) or select only our loved C# environment for a lighter implementation

  3. Download the extension visual studio package https://visualstudiogallery.msdn.microsoft.com/e3279d0a-8002-4773-b8d3-bd70f57c27f7
  4. The vsix is simply a zipped file, unzip it in a folder as "VSExtension"

  5. Enter in the folder and you'll see the file "extension.vsixmanifest"

  6. Open the file "extension.vsixmanifest" with a normal text editor

  7. Add the references to the visual studio community edition between the eligible products
     

    <VisualStudio Version="11.0">
      <Edition>Community</Edition>
    </VisualStudio>
    <VisualStudio Version="12.0">
      <Edition>Community</Edition>
    </VisualStudio>
    <VisualStudio Version="13.0">
      <Edition>Community</Edition>
    </VisualStudio>
    <VisualStudio Version="14.0">
      <Edition>Community</Edition>
    </VisualStudio>
    <VisualStudio Version="15.0">
      <Edition>Community</Edition>
    </VisualStudio>

     

  8. This is the complete code, you can also copy and past it in the extensione.vsixmanifest in place of the current one

     

    <?xml version="1.0" encoding="utf-8"?>
    
    <Vsix Version="1.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">
      <Identifier Id="2c72cc50-6c69-4b16-b1f4-ab470673f284">
        <Name>cBots and Custom Indicators</Name>
        <Author>Spotware</Author>
        <Version>1.4</Version>
        <License>EULA.txt</License>
        <Description xml:space="preserve">Building cBots and Custom Indicators in Visual Studio</Description>
        <Locale>1033</Locale>
        <InstalledByMsi>false</InstalledByMsi>
        <SupportedProducts>
          <VisualStudio Version="10.0">
            <Edition>Pro</Edition>
          </VisualStudio>
          <VisualStudio Version="11.0">
            <Edition>Pro</Edition>
          </VisualStudio>
          <VisualStudio Version="12.0">
            <Edition>Pro</Edition>
          </VisualStudio>
    	  <VisualStudio Version="11.0">
            <Edition>Community</Edition>
          </VisualStudio>
          <VisualStudio Version="12.0">
            <Edition>Community</Edition>
          </VisualStudio>
          <VisualStudio Version="13.0">
            <Edition>Community</Edition>
          </VisualStudio>
          <VisualStudio Version="14.0">
            <Edition>Community</Edition>
          </VisualStudio>
          <VisualStudio Version="15.0">
            <Edition>Community</Edition>
          </VisualStudio>
    	</SupportedProducts>
        <SupportedFrameworkRuntimeEdition MinVersion="4.0" MaxVersion="4.0" />
      </Identifier>
      <References>
        <Reference Id="Microsoft.VisualStudio.MPF" MinVersion="10.0">
          <Name>Visual Studio MPF</Name>
        </Reference>
      </References>
      <Content>
        <VsPackage>VSExtension.pkgdef</VsPackage>
      </Content>
    </Vsix>
    

     

  9. Now from within the directory, zip again all the files in a new "VSExtension.vsix" (be carefull to include all the files, but NOT the directory)

  10. Double click on the new vsix you just created within your directory... and it's done!

Wait for the installatione, then try it: within cAlgo select the "Edit in Visual Studio" option from the left drop down arrow menu near the name of one of your cBots/Indicators and after a while, it will appear within Visual Studio 2015 Community with the fully integration we want

That's all and have a good job!


my nick "gainer" stands for the parkour evolution where you backflip while running forward, the minimum error and you smash your face or worst... I don't know why, but this remember me the forex!
07 Mar 2016, 06:19#2
Paul_Hayesposts: 250since: 05 Feb 2015

Thank you for your time and effort in sharing this. :-)


www.clickalgo.com
07 Mar 2016, 09:01#3
gainerposts: 29since: 24 Jan 2016

It's a pleasure! We are here to help each other!


my nick "gainer" stands for the parkour evolution where you backflip while running forward, the minimum error and you smash your face or worst... I don't know why, but this remember me the forex!
17 Mar 2016, 14:18RE:#4
.icsposts: 40since: 10 Mar 2015

gainer said:

Since i answered a couple of topic i saw this is a matter that interest many of us, I opened this subject with all the instructions to FULLY integrate the cAlgo with the Visual Studio 2015 Community Edition

This is the complete procedure

  1. Above all, if you don't have it yet, download and install the powerful but TOTALLY FREE Visual Studio 2015 Community Edition

    https://www.visualstudio.com/en-us/products/visual-studio-community-vs.as

    Take a seat and a good coffee because the installation is really long!

  2. During the installation, you can choose the full version (with web development, C++, Visual Basic, Python and much much more...) or select only our loved C# environment for a lighter implementation

  3. Download the extension visual studio package https://visualstudiogallery.msdn.microsoft.com/e3279d0a-8002-4773-b8d3-bd70f57c27f7
  4. The vsix is simply a zipped file, unzip it in a folder as "VSExtension"

  5. Enter in the folder and you'll see the file "extension.vsixmanifest"

  6. Open the file "extension.vsixmanifest" with a normal text editor

  7. Add the references to the visual studio community edition between the eligible products
     

    
      Community
    
    
      Community
    
    
      Community
    
    
      Community
    
    
      Community
    

     

  8. This is the complete code, you can also copy and past it in the extensione.vsixmanifest in place of the current one

     

    
    
    
      
        cBots and Custom Indicators
        Spotware
        1.4
        EULA.txt
        Building cBots and Custom Indicators in Visual Studio
        1033
        false
        
          
            Pro
          
          
            Pro
          
          
            Pro
          
    	  
            Community
          
          
            Community
          
          
            Community
          
          
            Community
          
          
            Community
          
    	
        
      
      
        
          Visual Studio MPF
        
      
      
        VSExtension.pkgdef
      
    
    

     

  9. Now from within the directory, zip again all the files in a new "VSExtension.vsix" (be carefull to include all the files, but NOT the directory)

  10. Double click on the new vsix you just created within your directory... and it's done!

Wait for the installatione, then try it: within cAlgo select the "Edit in Visual Studio" option from the left drop down arrow menu near the name of one of your cBots/Indicators and after a while, it will appear within Visual Studio 2015 Community with the fully integration we want

That's all and have a good job!

I'm not sure what the result is what we need to get. When i try to do above steps, i receive the message:

---------------------------
VSIX Installer
---------------------------
This extension is already installed to all applicable products.
---------------------------
OK   
---------------------------


Would you mind posting a screenshot of the result expected?


Greetngs, .ics
26 Aug 2016, 12:59#5
emk4827posts: 1since: 16 Aug 2016

All worked for me, apart from the version Visual Studio 2015 Enterprise Edition:

Below is my fully working manifest

 

<?xml version="1.0" encoding="utf-8"?>

<Vsix Version="1.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">
  <Identifier Id="2c72cc50-6c69-4b16-b1f4-ab470673f284">
    <Name>cBots and Custom Indicators</Name>
    <Author>Spotware</Author>
    <Version>1.4</Version>
    <License>EULA.txt</License>
    <Description xml:space="preserve">Building cBots and Custom Indicators in Visual Studio</Description>
    <Locale>1033</Locale>
    <InstalledByMsi>false</InstalledByMsi>
    <SupportedProducts>
      <VisualStudio Version="13.0">
        <Edition>Pro</Edition>
      </VisualStudio>
      <VisualStudio Version="14.0">
        <Edition>Pro</Edition>
      </VisualStudio>
      <VisualStudio Version="15.0">
        <Edition>Pro</Edition>
      </VisualStudio>
    </SupportedProducts>
    <SupportedFrameworkRuntimeEdition MinVersion="4.0" MaxVersion="4.6" />
  </Identifier>
  <References>
    <Reference Id="Microsoft.VisualStudio.MPF" MinVersion="10.0">
      <Name>Visual Studio MPF</Name>
    </Reference>
  </References>
  <Content>
    <VsPackage>VSExtension.pkgdef</VsPackage>
  </Content>
</Vsix>

 

Hope this helps.

Evrard

 

30 Dec 2016, 13:36RE:#6
dmitriysonechkoposts: 4since: 30 Dec 2016

Hi guys,

I am trying to find a way how to compile CALGO file from Visual Studio but using VB.NET.

I have been working in VB.NET for quite some time and learning C# would be quite an effort. Compiling and building from C project in VS 2015 works like a charm but I really need a solution to compile CALGO file from VB.NET environment.

How is CAllgo file is compiled? From .dll compiled from C project or?

Thanks in advance,

Dmitriy

 

 

 

gainer said:

Since i answered a couple of topic i saw this is a matter that interest many of us, I opened this subject with all the instructions to FULLY integrate the cAlgo with the Visual Studio 2015 Community Edition

This is the complete procedure

  1. Above all, if you don't have it yet, download and install the powerful but TOTALLY FREE Visual Studio 2015 Community Edition

    https://www.visualstudio.com/en-us/products/visual-studio-community-vs.as

    Take a seat and a good coffee because the installation is really long!

  2. During the installation, you can choose the full version (with web development, C++, Visual Basic, Python and much much more...) or select only our loved C# environment for a lighter implementation

  3. Download the extension visual studio package https://visualstudiogallery.msdn.microsoft.com/e3279d0a-8002-4773-b8d3-bd70f57c27f7
  4. The vsix is simply a zipped file, unzip it in a folder as "VSExtension"

  5. Enter in the folder and you'll see the file "extension.vsixmanifest"

  6. Open the file "extension.vsixmanifest" with a normal text editor

  7. Add the references to the visual studio community edition between the eligible products
     

    <VisualStudio Version="11.0">
      <Edition>Community</Edition>
    </VisualStudio>
    <VisualStudio Version="12.0">
      <Edition>Community</Edition>
    </VisualStudio>
    <VisualStudio Version="13.0">
      <Edition>Community</Edition>
    </VisualStudio>
    <VisualStudio Version="14.0">
      <Edition>Community</Edition>
    </VisualStudio>
    <VisualStudio Version="15.0">
      <Edition>Community</Edition>
    </VisualStudio>

     

  8. This is the complete code, you can also copy and past it in the extensione.vsixmanifest in place of the current one

     

    <?xml version="1.0" encoding="utf-8"?>
    
    <Vsix Version="1.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">
      <Identifier Id="2c72cc50-6c69-4b16-b1f4-ab470673f284">
        <Name>cBots and Custom Indicators</Name>
        <Author>Spotware</Author>
        <Version>1.4</Version>
        <License>EULA.txt</License>
        <Description xml:space="preserve">Building cBots and Custom Indicators in Visual Studio</Description>
        <Locale>1033</Locale>
        <InstalledByMsi>false</InstalledByMsi>
        <SupportedProducts>
          <VisualStudio Version="10.0">
            <Edition>Pro</Edition>
          </VisualStudio>
          <VisualStudio Version="11.0">
            <Edition>Pro</Edition>
          </VisualStudio>
          <VisualStudio Version="12.0">
            <Edition>Pro</Edition>
          </VisualStudio>
    	  <VisualStudio Version="11.0">
            <Edition>Community</Edition>
          </VisualStudio>
          <VisualStudio Version="12.0">
            <Edition>Community</Edition>
          </VisualStudio>
          <VisualStudio Version="13.0">
            <Edition>Community</Edition>
          </VisualStudio>
          <VisualStudio Version="14.0">
            <Edition>Community</Edition>
          </VisualStudio>
          <VisualStudio Version="15.0">
            <Edition>Community</Edition>
          </VisualStudio>
    	</SupportedProducts>
        <SupportedFrameworkRuntimeEdition MinVersion="4.0" MaxVersion="4.0" />
      </Identifier>
      <References>
        <Reference Id="Microsoft.VisualStudio.MPF" MinVersion="10.0">
          <Name>Visual Studio MPF</Name>
        </Reference>
      </References>
      <Content>
        <VsPackage>VSExtension.pkgdef</VsPackage>
      </Content>
    </Vsix>
    

     

  9. Now from within the directory, zip again all the files in a new "VSExtension.vsix" (be carefull to include all the files, but NOT the directory)

  10. Double click on the new vsix you just created within your directory... and it's done!

Wait for the installatione, then try it: within cAlgo select the "Edit in Visual Studio" option from the left drop down arrow menu near the name of one of your cBots/Indicators and after a while, it will appear within Visual Studio 2015 Community with the fully integration we want

That's all and have a good job!

 

25 Sep 2017, 16:37#7
tasr1r1posts: 7since: 25 Dec 2012

I installed the VS community and the extension from this link (http://anthonyirwin.teachable.com/courses/134179/lectures/1972363)

i cant open the link given above. But I can confirm i can see 'CBot and Custom Indicator" in 'Extension and Update' appear in my Visual Studio.

 

However, I cant right click Open in Visual Studio from cAlgo. Tested with two Calgos from two brokers with no avail. Anybody can help me on this?

26 Sep 2017, 09:16#8
Panagiotis Charalampousposts: 285since: 13 Jan 2017

Hi tasr1r1,

Which version of VS do you use? Currently, the official support is for VS2013. If you want to use VS2015 or VS2017, you need to follow the workaround described above and open the solution files manually from the cBot's folder. Support for VS2015 and VS2017 will be added in an upcoming version of cTrader.

Best Regards,

Panagiotis


Head of Community Management at cTrader
27 Sep 2017, 15:25#9
tasr1r1posts: 7since: 25 Dec 2012

Panagiotis,

Im using version 2017, tried to download the extension package from https://marketplace.visualstudio.com/items?itemName=Spotwareextensions.cBotsandCustomIndicators

 

but nothing happened when i clicked download

27 Sep 2017, 15:36#10
Panagiotis Charalampousposts: 285since: 13 Jan 2017

Hi tasr1r1,

Follow the instructions described here 

Use the following code for your manifest file

<?xml version="1.0" encoding="utf-8"?>
  
<Vsix Version="1.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">
  <Identifier Id="2c72cc50-6c69-4b16-b1f4-ab470673f284">
    <Name>cBots and Custom Indicators</Name>
    <Author>Spotware</Author>
    <Version>1.4</Version>
    <License>EULA.txt</License>
    <Description xml:space="preserve">Building cBots and Custom Indicators in Visual Studio</Description>
    <Locale>1033</Locale>
    <InstalledByMsi>false</InstalledByMsi>
    <SupportedProducts>
      <VisualStudio Version="10.0">
        <Edition>Pro</Edition>
      </VisualStudio>
      <VisualStudio Version="11.0">
        <Edition>Pro</Edition>
      </VisualStudio>
      <VisualStudio Version="12.0">
        <Edition>Pro</Edition>
      </VisualStudio>
<VisualStudio Version="13.0">
  <Edition>Community</Edition>
</VisualStudio>
<VisualStudio Version="14.0">
  <Edition>Community</Edition>
</VisualStudio>
<VisualStudio Version="15.0">
  <Edition>Community</Edition>
</VisualStudio>
<VisualStudio Version="15.1">
  <Edition>Community</Edition>
</VisualStudio>
<VisualStudio Version="15.2">
  <Edition>Community</Edition>
</VisualStudio>
    </SupportedProducts>
    <SupportedFrameworkRuntimeEdition MinVersion="4.0" MaxVersion="4.0" />
  </Identifier>
  <References>
    <Reference Id="Microsoft.VisualStudio.MPF" MinVersion="10.0">
      <Name>Visual Studio MPF</Name>
    </Reference>
  </References>
  <Content>
    <VsPackage>VSExtension.pkgdef</VsPackage>
  </Content>
</Vsix>

Let me know if this helps.

Best Regards,

Panagiotis


Head of Community Management at cTrader