Protrader and VisualStudio Working instructions











>> YOUR LINK HERE: ___ http://youtube.com/watch?v=YAUYsQExcA8

This video helps you to create and debug your own indicator or strategy for Protrader platform on C# using Visual Studio. • 0:21 Create Test Indicator • Let's run Visual Studio. Then create a new Visual C# project “Class Library”. Let's call it “TestIndicator”. .NET Framework 3.5 is the recommended framework, but you can use the earlier versions. Further, we need to add the necessary references. • 0:48 Necessary references for creating test indicator • Let’s open the directory in which we have installed the client. By default, the directory is C:\\Users\\Username\\Application data\\Roaming\\Protrader 3. We need two libraries from this directory: Commons.dll and PTLRuntime.dll. Let’s add them. Add one system library System.Drawing, it will be needed further. Go to project Properties then Build Events. Here we can immediately specify the place where DLL file be copied to after successful build of the project. This way of copying DLL will result to their immediate displaying in the script lookup of the client. • 1:37 Classes for Algo trading • Classes for Algo trading are in the namespace PTLRuntime.NETScript. All indicators are the inheritors of the class NETIndicator, strategies respectively are the inheritors of the class NETStrategy. • 1:56 Creating of simple indicator • Let's create a simple indicator that will draw one line by the close price. Then Build the project. The build was done successfully. Now open the Protrader 3. Then open the indicator lookup on any chart. You can see the created indicator in the Custom group. Let's add it to the chart. We can see that the indicator was drawn correctly. Now return to Visual Studio. Go to “Tools”, then “Attach to Process…”. Find “netclient.exe” in the active process list. This is Protrader 3. Let’s attach project to it. Put the breakpoint on the row which sets the indicator value. We can see that the breakpoint has triggered. So now, we can start to debug the created script on the actual data. • • More links: • Protrader Website https://protrader.com • PTMC Community https://protrader.org • Official blog   / pfsoft.company   • Base of knowledge https://protrader.org/kb/en/knowledge... • Twitter page   / protrader_com   • Facebook page   / pfsoftprotrader   • LinkedIn page   / pfsoft   • Instagram page:   / pfsoft  

#############################









New on site
Content Report
Youtor.org / YTube video Downloader © 2025

created by www.youtor.org