Improve backtest speed performance fixing/ rewriting calculation concept

MQL5 Göstergeler Uzmanlar

İş tamamlandı

Tamamlanma süresi: 17 saat
Müşteri tarafından geri bildirim
Always the best. Fast, professional and available!
Geliştirici tarafından geri bildirim
Very professional and working with him goes smoothly. many thanks

Şartname

Request to improve performance in back test of a custom indicator SMC_OSC (Smart market concept + Market sentiment oscillator).

It works fine but it has a hard problem, it is extremely slow in tick-mode and I cannot use it in EA due the infinite range times it gets to back-testing.

About the first section in Chart price  (Smart market concept), it uses candle close pivots (on bar, no ticks) and so I think that this section it's OK and does not limit the performances.

About the second section (Oscillator), the indicator gets signals (buffers) from natives very fast basic indicators and it processes an own calculation to finally output a “Market sentiment histogram”.

Here is very slow and maybe is possible to improve or fix calculation to improve performances.


Indicators used: RSI, CCI, MA, ATR.


I developed an simply EA just to test the speed of getting buffers (on ticks). 


Here the reports:


For one day test,  15 min bar, on-tick calculation:

Test 1: Only EA, no copy-buffer

Test 2: Copy-buffer of the native indicators: RSI, CCI, MA, ATR.


Test 3: Copy-buffer of the custom indicator SMC_OSC:


 how can we see the group of indicator need a few ms (385). to be read, unfortunately, the SMC_OSC need 37 second and it uses the same buffers.

MY REQUEST: 

The indicator work fine yet, only need to fix or rewrite calculation code.

Anyway there is a calculation it is an oscillator that use very fast indicators .. Should be fast at the same of them (about 385 ms (+ calculation time) in the previous test).


Many thanks.



Yanıtlandı

1
Geliştirici 1
Derecelendirme
(50)
Projeler
94
29%
Arabuluculuk
4
25% / 0%
Süresi dolmuş
4
4%
Serbest
Yayınlandı: 3 kod
2
Geliştirici 2
Derecelendirme
(390)
Projeler
416
30%
Arabuluculuk
74
19% / 72%
Süresi dolmuş
52
13%
Çalışıyor
3
Geliştirici 3
Derecelendirme
(298)
Projeler
478
40%
Arabuluculuk
105
40% / 24%
Süresi dolmuş
82
17%
Yüklendi
Yayınlandı: 2 kod
4
Geliştirici 4
Derecelendirme
(87)
Projeler
121
68%
Arabuluculuk
5
80% / 0%
Süresi dolmuş
12
10%
Çalışıyor
Benzer siparişler
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing
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
Hello, I need a custom NON-REPAINT MT5 indicator that gives sell/buy arrow signals 1–2 candlesticks before a spike on Crash and boom indices respectively occurs. Requirements: Works perfectly on MT5 Shows arrows before the spike (1–2 candles earlier). Non-repaint – once the arrow appears, it must stay. Should be accurate, not quantity — only quality signals. Must work on both demo and live accounts. I want the
Hello, I saw an indicator on TradingView and would like to know if you will be able to convert it for use on Thinkorswim platform? Thanks. if anyone can help me with it kindly do well to bid it urgent thanks looking forward too see you
calcVolume( void ) { //--- MqlRates rates[]; if ( CopyRates ( _Symbol , PERIOD_CURRENT , startTime, endTime, rates) > 0 ) { double rangeHigh = rates[ 0 ].high, rangeLow = rates[ 0 ].low; int count = MathAbs ( iBarShift ( _Symbol , PERIOD_CURRENT , startTime) - iBarShift ( _Symbol , PERIOD_CURRENT , endTime)) + 1 ; //---VERTICAL PRICE RANGE for ( int b = 0
Create an MT5 Expert Advisor (EA) for trading Gold (XAUUSD). The EA should provide BUY and SELL signals based on trend direction, market momentum, and price action. It should automatically place trades only when the entry conditions are met. Risk management: Use a small adjustable lot size. Include Stop Loss (SL) and Take Profit (TP). Include a maximum daily loss limit. Include a maximum number of open trades. Do not
Hello there, I am looking for a automated strategy for ninjatrader 5 Looking for a proven profit factor of 1.5 ( minimum ) on 15 mins time frame . I do MNQ futures I do not have the logic, but I like mean reverssion variable , plus RSI etc . that could make the automated tool robust and long lasting. i need fast response if you have

Proje bilgisi

Bütçe
30+ USD
Son teslim tarihi
from 1 to 3 gün