Forum

MT5 Tester local agents/cores overwrites each other on CSV file when I use optimization.

Hi guys, im looking for a way around or an alternative to do things. Basically I use FileOpen , FileWrite, etc on OnTester to write information during optimization on CSV File. I notice while back that somehow, the number of Optimization Passes was always missing 1 or 2, or there is a incomplete row

Wrong Exit Price on MT5 Tester

I have this situation where I exit on a bar that even exceeds its high/low on the tester. (See picture for reference). M5 Timeframe. Here is the code on how I exit trades. I have been using it since a long time. Its just accumulation of codes i read here and inputs of my own preference. void

MT5 Literally gives wrong input value

Hi wanna inform everyone and might as well get some inputs. heres the thing, I encountered an error and trace its origin. I have then simplify the problem. I literally have an input value like this: input int InpAppliedPrice = 0 ; And gives a different value when i debug/print/initialize the program

MT5 Rates_total different in EA using Tester

Hi guys, I had trouble programming and finding errors in my EA when the called Indicator is functioning correctly. Upon examining hours, I discovered that when I run my EA in Tester (and calling the Indicator for inputs), the rates_total printed is around 300++ only. I used Daily Bars for 3 days

Custom Indicator for EA doesnt work as intended

Hi guys, first just wanted to thank everyone who makes an effort to read my concern. Here goes: 1. I created an Custom Indicator. Working Fine. (Checked) 2. Created an EA from my EA template. Used donchian channel method as error checked for basic function i.e. trading/SL/trailing/etc. No custom

Custom Indicator Bug? Wrong Values given. Help Please.

Hi, Im programming an EA that calls a Custom Indicator for values. EA goes something like this: int init() { Alert ( "Initializing" ); itrend_1 = iCustom (currency, PERIOD_D1 ,indicator, 0 , 1 ); itrend_2 = iCustom (currency, PERIOD_D1 ,indicator, 0 , 2 ); trigger_1 =