Spécifications

//————————————————————————————————————————————————————————————————————
struct S_MCAV
{
    double matureSum;
    double totalSum;
    double value;

    void Init ()
    {
      matureSum = 0.0;
      totalSum  = 0.0;
      value     = 0.5;
    }

    void AddContext (int ctx)
    {
      totalSum += 1.0;
      if (ctx == 1) matureSum += 1.0;
    }

    void ApplyDecay (double rate)
    {
      matureSum *= rate;
      totalSum  *= rate;
    }

    void Update ()
    {
      if (totalSum > 0.01) value = matureSum / totalSum;
      else value = 0.5;
    }
};

//————————————————————————————————————————————————————————————————————//————————————————————————————————————————————————————————————————————
struct S_DCA_Cell
{
    E_DC_State state;
    double     csm;
    double     semi;
    double     mature;
    double     threshold;
    int        agentIndices [];
    int        agentCount;

    void Init (double migrationThreshold, int maxAgents)
    {
      state      = DC_IMMATURE;
      csm        = 0.0;
      semi       = 0.0;
      mature     = 0.0;
      threshold  = migrationThreshold;
      agentCount = 0;
      ArrayResize (agentIndices, maxAgents);
    }

    void Reset (double newThreshold)
    {
      state      = DC_IMMATURE;
      csm        = 0.0;
      semi       = 0.0;
      mature     = 0.0;
      threshold  = newThreshold;
      agentCount = 0;
    }

    void AddAgent (int idx)
    {
      if (agentCount < ArraySize (agentIndices))
      {
        agentIndices [agentCount++] = idx;
      }
    }
};

//————————————————————————————————————————————————————————————————————

Répondu

1
Développeur 1
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(15)
Projets
22
45%
Arbitrage
6
33% / 33%
En retard
2
9%
Chargé
Publié : 7 articles, 35 codes
3
Développeur 3
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
4
Développeur 4
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
5
Développeur 5
Évaluation
(7)
Projets
9
33%
Arbitrage
0
En retard
1
11%
Occupé
Publié : 1 code
6
Développeur 6
Évaluation
(2)
Projets
2
0%
Arbitrage
1
0% / 0%
En retard
0
Travail
7
Développeur 7
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
8
Développeur 8
Évaluation
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
9
Développeur 9
Évaluation
Projets
0
0%
Arbitrage
1
0% / 0%
En retard
0
Travail
Publié : 2 codes
Commandes similaires
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
1. PROJECT OVERVIEW Development of a custom automated and manual trading bot for NinjaTrader 8, primarily designed for Nasdaq Futures (NQ/MNQ). The bot will contain the original trading strategy, configurable risk management, automatic and manual operating modes, alerts, profit/loss management, partial profit taking, Break Even, backtesting functionality, and the additional configurable contract-averaging system
Develop an Expert Advisor for MetaTrader 5 that manages existing positions. Features Automatically detect all open positions. Apply Break-Even after price reaches a configurable profit. Partial Close: Close X% of volume at the first target. Move Stop Loss to Break-Even. ATR Trailing Stop (optional). Magic Number filter. Comment filter. Symbol filter. Trading session filter. Retry mechanism for trade operations
Mt5 ea 30+ USD
I have a fast execution ea that need a little touch, it trade on gold and my problem is about the risk ratio the tp is 3pip and stop loss 20 but i cannot get it right to make the average win larger and average loss lower. I would like to know if i can get help to get it right without touching the tragedy and the trade frequency. Those two pictures I attached is the example of what my bot actually do like i explained
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the

Informations sur le projet

Budget
40+ USD

Client

Commandes passées1
Nombre d'arbitrages0