Forum

Position gets closed entirely when it should be a partial close (PositionClosePartial - Ctrade)

Hello guys, I have an expert advisor running in the market from an hedge account of Icmarkets. I am struggling with a situation which I can not solve, despite the research I have already made online: During an open position, at some point I move my stop loss to break-even and try to partially close

Build 2949 of May 28th 2021 - Serious Bug in Optimization

Hello Guys, Suddenly the optimization of my EA stopped working. And its because the most recent Build 2949. When I try to run an optimization process, even a simple one like "balance max", it gets stucked at the beggining and doesn't provide any kind of result. When I look at the Journal Log I can

Not getting ask price on position opened from pending order

Hello guys, As we know the prices information on the Data Window of Strategy Tester Visualization are "BID prices".We also know that when we open a long position, we buy at the Ask Price. I am using only pending orders on the EA, but when they get triggered I am not seeing the Ask price beeing used

Exporting trades history to csv with script - empty results

Hello, I have more than a script to export my trades history to csv. After I finish running my EA on the Strategy Tester , I drag and drop one of these scripts into the output chart but I only get empty results. There´s something really basic that I am not getting. Can you help me

Optimization including input variables from custom indicator

Hello guys, I wanna run a backtest with optimization enabled for the input variables of my EA. However, I am struggling on how to also consider in this process the input variables of my custom indicator . Basically I want the input variables of my custom indicator to be shown the tab "Input" below

Exclude/remove a specific element of an Array with string data

Hello, I would like to code a simple situation in theory, but i am kind of struggling with that. Imagine I have an array with string data like this: FirstArray [8] = {"A","B","C","D","E","F","G","H"} I am having the need to remove one specific position which can be any of the 8 elements, and then

Build 2622 24Sep2020 - Strategy Tester Visualization do not allow move chart backwards

Hello, I would like to know if this is also happening to you guys... Suddenly after running any EA on backtesting, the Strategy Tester Visualization do not allow me to move the chart backwards so i can analyze my trades on any part of the period selected initially. For instance, when I click one a