Conversion of code consultation

Работа завершена

Время выполнения 2 часа

Техническое задание

Need help regarding compiling error. Based on csharp language on trading platforms.



using System;

using NinjaTrader.Cbi;

using NinjaTrader.Gui.Tools;

using NinjaTrader.NinjaScript;

using NinjaTrader.NinjaScript.Strategies;


namespace NinjaTrader.NinjaScript.Strategies

{

    public class StochasticBot : Strategy

    {

        private Stochastic stochasticOscillator;

        private double volumeInUnits;


        protected override void OnStateChange()

        {

            if (State == State.SetDefaults)

            {

                Description = "StochasticBot Strategy";

                Calculate = Calculate.OnEachTick;

                Quantity = 0.01;

                takeProfit = 150;

                stopLoss = 150;

                percentK = 150;

                percentKSlow = 150;

                percentD = 150;

            }

            else if (State == State.Configure)

            {

                stochasticOscillator = Stochastic(percentK, percentKSlow, percentD);

            }

        }


        protected override void OnBarUpdate()

        {

            if (stochasticOscillator.PercentK[2] < stochasticOscillator.PercentD[2])

            {

                if (stochasticOscillator.PercentK[0] > stochasticOscillator.PercentD[0])

                {

                    Print(stochasticOscillator.PercentK[0]);

                    EnterLong("Stochastic Long");

                }

            }

        }


        #region Properties

        [Range(0.01, double.MaxValue, 0.01)]

        [NinjaScriptProperty]

        public double Quantity { get; set; }


        [Range(4, 1000)]

        [NinjaScriptProperty]

        public int takeProfit { get; set; }


        [Range(4, 1000)]

        [NinjaScriptProperty]

        public int stopLoss { get; set; }


        [Range(4, 1000)]

        [NinjaScriptProperty]

        public int percentK { get; set; }


        [Range(4, 1000)]

        [NinjaScriptProperty]

        public int percentKSlow { get; set; }


        [Range(4, 1000)]

        [NinjaScriptProperty]

        public int percentD { get; set; }

        #endregion

    }

}


Откликнулись

1
Разработчик 1
Оценка
Проекты
1
0%
Арбитраж
0
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(23)
Проекты
29
66%
Арбитраж
1
0% / 0%
Просрочено
1
3%
Работает
Похожие заказы
Hello, I need a custom made strategy that can be turned into a bot. The strategy needs to make at least 10-20% return per month. The strategy needs to have very very low max and relative drawdown of max 2-4% and also a drawdown limiter function. The bot/strategy should be able to pass prop firm challenges and trade on the live funded account. The strategy needs to be automated into a bot (EA) and have the ability to
"I'm seeking a skilled coder to assist in developing my custom Ninjatrader 8 strategy, ensuring flawless functionality without errors. Your expertise is essential for this project. Please contact me to discuss further details and proceed."
DJANGO EA 30 - 1000 USD
I need smart, professional, and fast programmer for doing this project quickly, that have experience in EA with minimum 500 projects finish, and have good review and reputation from their client Share your link review, if you not qualified, dont apply! I will bidding the programmer from experience, review, reputation, price, and days working My EA using Moving Average, Average True Range, and using consecutives
I am looking for a coder to code my custom Ninjatrader 8 strategy to make it work perfectly your professioalism is needed in the project Kindly cotact me now and let Proceed
I am looking for a coder to help me code my custom Ninjatrader 8 strategy and make it work perfectly without any error, your expertise is highly needed in this job kindly reach out to me and let proceed
I am looking for a developer to code my custom Ninjatrader 8 strategy and make it work perfectly, your expertise is highly needed for this project kindly reach out and let's proceed
Hello I am looking for a professional in building a stock trading robot and make it work perfectly Specifically, I want to build a robot for trading in options from the IOF your expertise is highly needed in this project Kindly reach out and let proceed
Hello Great Developer. I have a HFT bot for mt4. Can you copy it for ctrader? I will be looking for a Great Developer to bid for it and let talk about it now
How are you today? We’re looking for a ctrader bot that can receive signals from tradingview and place orders on different ctrader accounts, so no strategy coding is required. Here are the details: https://www.loom.com/share/d8166c67a74f46c28920be9e131f8ec7?sid=bd2c6ff2-52e4-4355-b35f-f4fc1bfb0f3b&nbsp ; We would like to know from you what’s the most cost effective method to create this bot. PDF is also attached to
I am in need of a developer to connect my TradingView signal with cTrader in other to make receive information and make it work perfectly your expertise is highly needed in this project feel free to reach out to me and let's get started

Информация о проекте

Бюджет
30+ USD
Исполнителю
27 USD
Сроки выполнения
от 1 до 4 дн.