Kailash Bai Mina / Publications
Codes
How to Disable/Enable Auto/Algo-Trading in both MT5 and MT4. for MetaTrader 4
Just simple codes to Disable/Enable Auto/Algo-Trading in both MT5 and MT4. Of course, DLLs must be allowed, This cannot be done without DLLs
BreakEven Function for MetaTrader 4
Just a Basic Functions For BreakEven
Trailing Step Function for MetaTrader 4
This Is Just A Normal Trailing Step Function
Trailing Function for MetaTrader 4
This Is a Normal Trailing Function For All Open Order In MT4
Get Comma Separated Things From String for MetaTrader 4
Custom Function To Get Comma Separated Things From String
Get Last Round Time And Date Acc To TF for MetaTrader 4
This Custom Function Will Help To Get Round Time For Any Given Timeframe And Time
Articles
Modified Grid-Hedge EA in MQL5 (Part IV): Optimizing Simple Grid Strategy (I) for MetaTrader 5
In this fourth part, we revisit the Simple Hedge and Simple Grid Expert Advisors (EAs) developed earlier. Our focus shifts to refining the Simple Grid EA through mathematical analysis and a brute force approach, aiming for optimal strategy usage. This article delves deep into the mathematical
Modified Grid-Hedge EA in MQL5 (Part III): Optimizing Simple Hedge Strategy (I) for MetaTrader 5
In this third part, we revisit the Simple Hedge and Simple Grid Expert Advisors (EAs) developed earlier. Our focus shifts to refining the Simple Hedge EA through mathematical analysis and a brute force approach, aiming for optimal strategy usage. This article delves deep into the mathematical
Modified Grid-Hedge EA in MQL5 (Part II): Making a Simple Grid EA for MetaTrader 5
In this article, we explored the classic grid strategy, detailing its automation using an Expert Advisor in MQL5 and analyzing initial backtest results. We highlighted the strategy's need for high holding capacity and outlined plans for optimizing key parameters like distance, takeProfit, and lot
Modified Grid-Hedge EA in MQL5 (Part I): Making a Simple Hedge EA for MetaTrader 5
We will be creating a simple hedge EA as a base for our more advanced Grid-Hedge EA, which will be a mixture of classic grid and classic hedge strategies. By the end of this article, you will know how to create a simple hedge strategy, and you will also get to know what people say about whether this
Market Reactions and Trading Strategies in Response to Dividend Announcements: Evaluating the Efficient Market Hypothesis in Stock Trading for MetaTrader 5
In this article, we will analyse the impact of dividend announcements on stock market returns and see how investors can earn more returns than those offered by the market when they expect a company to announce dividends. In doing so, we will also check the validity of the Efficient Market Hypothesis
Improve Your Trading Charts With Interactive GUI's in MQL5 (Part III): Simple Movable Trading GUI for MetaTrader 5
Join us in Part III of the "Improve Your Trading Charts With Interactive GUIs in MQL5" series as we explore the integration of interactive GUIs into movable trading dashboards in MQL5. This article builds on the foundations set in Parts I and II, guiding readers to transform static trading
Improve Your Trading Charts With Interactive GUI's in MQL5 (Part II): Movable GUI (II) for MetaTrader 5
Unlock the potential of dynamic data representation in your trading strategies and utilities with our in-depth guide to creating movable GUIs in MQL5. Delve into the fundamental principles of object-oriented programming and discover how to design and implement single or multiple movable GUIs on the
Improve Your Trading Charts With Interactive GUI's in MQL5 (Part I): Movable GUI (I) for MetaTrader 5
Unleash the power of dynamic data representation in your trading strategies or utilities with our comprehensive guide on creating movable GUI in MQL5. Dive into the core concept of chart events and learn how to design and implement simple and multiple movable GUI on the same chart. This article also
Forum
How to get price of ellipse points?
I think I have explained everything in image. OBJPROP_PRICE4 doesn't exist, I wrote that in image by mistake, sorry about that. Can someone help me with this problem of ellipse? Thanks for your time
Just a Small Queries About Declaring Classes Instances
//+------------------------------------------------------------------+ //| Script program start function | //+------------------------------------------------------------------+ void OnStart () { TestFunction(testClassInstance1); }
A quick help with functions.
I want to show my function's input like that. normally it is : [Variable Type][Space][Variable Name] I want : [Variable Type][Space][Whatever I Want (eg : flags=TIME_DATE|TIME_MINUTES)] A little Help Will Be Really Appreciated
Need Help In Opening a URL in Browser From MT5 (MQL5)
Currently I am Using the Below Code In MQL4, //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ bool openURL( string url){ int APPEND
How To Disable Algo trading in MT5?
I want to disable trading for a .ex5 file on a specified condition using EA. Can Someone please help Me in disabling Algo-Trading via Code? Help Will be really really appreciated and By helping me you will help many other peoples too because there is no previous forum of any detail about doing it on
Can Someone please Help me With This Arrow?
How To Draw These Arrow? I can't see them in wingdings or anywhere else. Can Someone Please help me
String Array Default value
What is the string default value? I want to use a if statement on a string array default value. It's not EMPTY_VALUE , 0, ""(Empty String). Then What It Is? example string Array[]; ArrayResize (Array, 10 ); for ( int i= 0 ; i< ArraySize (Array); i++) { if ( Array[i]==( default value(I don't know
Array out of range
This is my completed indicator code : //+------------------------------------------------------------------+ //| Smart Arrow.mq4 | //| Copyright 2021, MetaQuotes Software Corp. | //|
Cannot Get Value from iCustom Function
Hi Coders, I want to get value of ex4 indicator from iCustom. I am not new to coding and i have used iCustom a lot. But needed to change string input variable in iCustom brfore today. I have attached the Indicator. And this is the code I am using
API Request
Hi, I want to send GET and POST request to API. but i didn't know how to do it so i searched for it and found official documentation : WebRequest - Common Functions - MQL4 Reference And I tried it's examples code with some different API's but i don't know how to use JSON Header. Can some one please