仕事が完了した
実行時間1 時間
依頼者からのフィードバック
The developer is very professional. The job was completed in less than 2 hours of being accepted. I would recommend him any-day.
指定
i converted an MQL5 indicator "Volume Zone Oscillator" to cAlgo. The indicator attaches to the chart and displays but it throws an error " Crashed in Calculate with IndexOutOfRangeException: Index was outside the bounds of the array."; I need assistance with debugging
MQL5 indicator is attached.
The cAlgo indicator is below
///=====================================================
// Importing necessary namespaces
using cAlgo.API;
using System;
namespace cAlgo
{
[Cloud("Upper Level", "Lower Level", FirstColor = "Gainsboro", SecondColor = "Crimson", Opacity = 0.4)]
[Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class VolumeZoneOscillator : Indicator
{
// Declare the indicator buffers
[Output("Upper Level", PlotType = PlotType.Line, LineColor = "Gainsboro")]
public IndicatorDataSeries LevUp { get; set; }
[Output("Lower Level", PlotType = PlotType.Line, LineColor = "Crimson")]
public IndicatorDataSeries LevDn { get; set; }
[Output("Volume Zone Oscillator", PlotType = PlotType.Line, LineColor = "DarkGray")]
public IndicatorDataSeries VZO { get; set; }
[Output("Volume Zone Oscillator Color", PlotType = PlotType.Line, LineColor = "LimeGreen")]
public IndicatorDataSeries VZOC { get; set; }
// Declare input variables
[Parameter("Period", DefaultValue = 14)]
public int Period { get; set; }
// Private variables
private double[,] work;
private double alpha;
// Initialize method
protected override void Initialize()
{
work = new double[Bars.Count, 2];
alpha = 2.0 / (1.0 + Period);
//Chart.Title = "Volume Zone Oscillator (" + Period + ")";
}
// Calculate method - Called for every new bar/candle
public override void Calculate(int index)
{
// Skip if insufficient data
if (index < Period) return;
double sign = 0;
if (index > 0)
{
sign = (Bars.ClosePrices[index] > Bars.ClosePrices[index - 1]) ? 1 : (Bars.ClosePrices[index] < Bars.ClosePrices[index - 1]) ? -1 : 0;
}
double R = sign * Bars.TickVolumes[index];
work[index, 0] = (index == 0) ? R : work[index - 1, 0] + alpha * (R - work[index - 1, 0]);
work[index, 1] = (index == 0) ? Bars.TickVolumes[index] : work[index - 1, 1] + alpha * (Bars.TickVolumes[index] - work[index - 1, 1]);
// Calculate VZO (Volume Zone Oscillator)
if (work[index, 1] != 0)
VZO[index] = 100.0 * work[index, 0] / work[index, 1];
else
VZO[index] = 0;
// Calculate VZOC color (Volume Zone Oscillator Color Index)
VZOC[index] = (VZO[index] > 0) ? 1 : (VZO[index] < 0) ? 2 : 0;
// Calculate LevUp and LevDn (to draw filling)
LevUp[index] = Math.Max(VZO[index], 0);
LevDn[index] = Math.Min(VZO[index], 0);
}
}
}
===================================================================
応答済み
1
評価
プロジェクト
2
0%
仲裁
2
0%
/
50%
期限切れ
0
暇
2
評価
プロジェクト
3
0%
仲裁
8
13%
/
88%
期限切れ
1
33%
暇
3
評価
プロジェクト
182
46%
仲裁
3
33%
/
33%
期限切れ
1
1%
取り込み中
4
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
5
評価
プロジェクト
1
0%
仲裁
5
0%
/
100%
期限切れ
0
暇
6
評価
プロジェクト
2
0%
仲裁
1
0%
/
100%
期限切れ
0
暇
類似した注文
i need someone that can make me an EA really easy with the martingala system?, I am looking for something that doesn't exceed 5 trades for the martingale, I think I did it, but it only works for propfirms, So i need to develop it on ninja trader I have identified a very very simple strategy but it only works on propfirms, with only two propfirm accounts, i absolutely need account A and account, And they have to open
I want to develop a custom trading indicator based on the functionality shown in a YouTube video and the indicators available on a website that I will provide. The main indicators/features I want to replicate or develop are: Volume Profile – Display volume distribution at different price levels, including key levels such as POC, VAH, and VAL where applicable. Order Flow – Analyze buying and selling activity at each
I’m looking for a developer to help automate trade execution from a TradingView Pine Script indicator I’ve already built for NQ/ES futures. The indicator already generates final LONG and SHORT entry signals, so I mainly need help connecting those signals to a broker or execution platform through alerts/webhooks. I’d like the system to support automatic entries, stop losses, profit targets, and basic protections such
I'm a ninja trader day trader and I have worked with a company called Legendary Trader and use their indicated and automated strategies to trade. I rencenly have been playing with a free indicator I was able to download that uses CCI & ATR calculations to define the market being in an up or down trend. I have found in reviewing historical data that taking a trade when the signal flips from bull to bear sentiment or
EA: Smart Break-Even & Partial Close Manager
30 - 200 USD
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 could you make me same indicator for ninja ? https://www.youtube.com/watch?v=pxs2MuqvH3w if yes for how much and timeline ? thks in advance and please reply me as soon as possible you get my notification
Ninjatrader 8 bot development
30+ USD
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
I need a developer that can make my trading strategies into a working perfect EA Robot working on Mt5. Candlestick pattern confirmation through PDH, PDL, PWH, PWL, Liquidities, HTF OB
Macd Rsi stochastic vwap Bot. I have code.
150 - 300 USD
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
プロジェクト情報
予算
30+ USD
締め切り
最高 2 日