Varun Maithani
Varun Maithani
  • Information
2 years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Varun Maithani
Added topic is forward testing result shown for each configuration while performing optimization?
1. is forward testing result shown for each configuration while performing optimization in the optimization result table? 2. Is forward testing performed while optimization pass is running? or is it something we have to manually run for each
Varun Maithani
Added topic Chaining genetic algorithm optimization mql5
hi, i have 2 custom meteics to optimize my algo with. First I want to backtest optimize using genetic algo using custom metric 1 and then using threshhold x , i want to optimise using custom metric 2.  So my expectation is that when i start the
Varun Maithani
Added topic MQL5 - backtest with optimization - optimisation results - optimization inputs not visible
After backtesting with optimisation (genetic algo using custom max) is completed, in the optimisation result tab, i cant see all inputs which i selected initially for optimising. I only see around 16 1. Is that there a limit of 16 parameter in the
Varun Maithani
Added topic How can i find out what configuration was used for a certain pass during backtest optimisation?
Hi During certain pass while performing backtest using genetic algo and custom max criterion i got error: genetic pass (0, 110) tested with error "critical runtime error 502 in OnTester function ( array out of range , module Experts\XXXX.ex5, file
Varun Maithani
Added topic HistorySelect mql5 question
In documentation it says HistorySelect retrieves the history of deals and orders for the specified period of server time. My question is , is that history of deals always sorted chronologically increasing order
Varun Maithani
Added topic Finding out the balance after each deal, after EA backtesting finished.
Hi, Is there a way to find what the balance was after a deal finished in the OnTester method at the end of a backtesting pass? I noticed when we traverse through the deal and their properties, in the documentation  ENUM_DEAL_PROPERTY_DOUBLE
Varun Maithani
Added topic EA Backtest Optimisation question
Hi, I just finished a backtesting with optimization using genetic algo . After optimizations finished I saw below log in journal tab. I am a bit confused why a pass could vary so much. I have not manually added conditions to terminate the tester pass
Varun Maithani
Added topic Profitable EAs developer/testers, what optimal threshold values do you believe an EA should have for different metrics in strategy tester optimizer result ?
Hi all This may be more experience based opinion question but knowledge expert's opinion welcome too. Based on your experience(and knowledge), if you have created or backtested a profitable EA (an EA that you have noticed actually was profitable in
Varun Maithani
Added topic MQL5 Question: unable to initialise a 2 dimensional array using existing array variables
Hi Below is the code (for Script) i am trying to compile but i get error. I am not sure why i cant get this syntax to work. enum SBP   {    SS = 0 ,    MM = 1 ,       WW = 2   }; void
Varun Maithani
Added topic MQL5 - Unclear about struct variable assignment and change within a function
Hi, in below code,  struct LL   {    double             price; } LL x; int OnInit ()   {         x.price = 1 ;
Varun Maithani
Added topic MQL5 : Can we do late initialisation of array?
i want to do     ENUM_TIMEFRAMES xTF; // some logic to set xTF    bool listOfIsNewCandle[ 6 ] ;      if (someBoolCondition)          {
Varun Maithani
Added topic Backtesting - early quiting of agents' run.
While performing optimization of input parameters via backtesting feature in metatrader 5, I wish to use some condition to stop the agents run of a particular combination of input parameter early. On reaching a certain condition while the agent is
Varun Maithani
Added topic MQL5 : Header (mqh) file unable to use parent mql file's struct variable
Hi, I have a EA which has a struct defined in it (because there are variables of its type in the EA mql file) and the struct type is being used to declare a variable in the header file too. // within mql EA file struct LLevel   {
Varun Maithani
Added topic Re: fetching trade info when position opens/closes, editing csv to update info, matching closed position with its corresponding limit order
Hi all, I want to do the following: -Step 1- catch information about a trade when a  position (whether its direct market order or when price hits limit order) opens eg ticket, trade spread, slippage, price requested , price received attribute X
Varun Maithani
Added topic Where to find source code for mobile (Android) MT5
I want to modify code to add my custom features on chart for risk management cuz no one has done it in last decade (surprised pikachu face).  The UI of mobile mT5 to create new orders is highly non intuitive/ non user friendly as you may have
Varun Maithani
Added topic Best practices for coding MQ5 Indicators
Hi, I just wanted to know if any experienced developer has made post / topic about best practices and patterns about   creating I ndicators. Since information about EA/MQL5/Indicator is spread out across forum posts/articles/MQL5 documentation
Varun Maithani
Added topic ISsue with Creating an indicator buffer that stores values for different timeframe (than the chart) and should be accessed by EA
Hi,  I was creating an indicator that  has 2 buffers.  double x_1hr[] , x_30min[]; This indicator has to be used on 4 hr chart (for convenience purpose). But it needs to also populate values in the x_1hr and x_30min buffer array after
Varun Maithani
Added topic MT5 Indicator problem : How to only call Telgram message sending function on detecting latest condition only (Also not while getting tested in strategy tester)?
Hi everyone, I have built an indicator in MT5 (MQL5)  which detects a condition and draws it out on chart for me to take a trade manually. I am planning to write a telegram message sending function too, which is  supposed to send a message
Varun Maithani
Added topic Issues with importing a indicator in an EA
Hi, I am trying to create a handle for a custom indicator in my EA. However the custom indicator has in its code used several #include statements to import many Enums which it uses in its input. When i initialize the inputs in the EA they require the
Varun Maithani
Added topic Issues in indicator coding - 7th indicator not plotting, SetIndexBuffer not working
I have created an indicator which plots several indicators within itself. In total there are 7 indicators inside the code defined by : #property indicator_typeN   xxxx #property indicator_labelN  "xxx" Each of them has its own
12