I need a C# programmer to help me with the kind of coding shown in this video [login to view URL] using the Visual Studio Solution called [login to view URL] and GUI named [login to view URL] from the attached Visual Studio project zip files that are found within the C:\TWS API folder after installation of the attached TWS platform and api.
This specific project involves translating, debugging, and back-testing code written in the easy-language development environment for TradeStation, into c# using the CS_Testbed Visual Studio development environment for Interactive Brokers.
I am more likely to be accessible here in this chat specifically developed for this project [login to view URL], than in any other chat. Please find me there.
The EasyLanguage code to be converted to C# and incorporated specifically into the CS_Testbed solution for Interactive Brokers is below:
Inputs:
double TradeSize(1),
bool ExitOnSessionClose(true);
Vars:
IntrabarPersist bool Filter(true), //used just before sending order
IntrabarPersist double PriceBuyMarket(0); //order open price
//Close Long Positions (LX)
if (XAverage(Close of Data2, 12) of Data2 Crosses Below XAverage(Close of Data2, 26) of Data2
and ( [login to view URL](" ")
and ([login to view URL](" ")[1] astype string).Contains("C") )) //Bullish Exit Open Sell Order
or (XAverage(Close of Data2, 12) of Data2 Crosses Above XAverage(Close of Data2, 26) of Data2
and ( [login to view URL](" ")
and ([login to view URL](" ")[1] astype string).Contains("P") )) //Bearish Exit Open Sell Order //Custom Code
then
begin
Filter = (MarketPosition <> 0);
if Filter then
Sell ("LX") next bar at market;
end;
//Open Buy Order (LE)
if (XAverage(Close of Data2, 12) of Data2 Is > XAverage(Close of Data2, 26) of Data2
and OpenD(0) > CloseD(1)
and Close > CloseD(1)
and ( [login to view URL](" ")
and ([login to view URL](" ")[1] astype string).Contains("C") )) //Bullish Open Buy Order
or (XAverage(Close of Data2, 12) of Data2 Is < XAverage(Close of Data2, 26) of Data2
and OpenD(0) < CloseD(1)
and Close > CloseD(1)
and ( [login to view URL](" ")
and ([login to view URL](" ")[1] astype string).Contains("P") )) //Bearish Open Buy Order //Custom Code
then
begin
Filter = true;
if Filter then
begin
PriceBuyMarket = Close;
Buy ("LE") TradeSize contracts next bar at market;
end;
end;
if ExitOnSessionClose then SetExitOnClose;
Hi, I am a programmer. Working on ASP.NET with C#. It will be convenient for me to work on this project. Given a chance we can build a good relationship.
Relevant Skills and Experience
ASP.NET, C#, API Integration
Proposed Milestones
$35 USD - Requirement Gathering, Analysis, Design and Development