LONNV
LONNV
LONNV
Added topic how can prevent button click event between click on and off
hello friend , I need help , i make button that open order , the problem is when click on , the order is open and when click off the order open again . how can i prevent it , i want only open in click on , click off is initial state. int OnInit ()
LONNV
Added topic how make on off button object
i try to make button on off , that mean when click button ,it change color different before click ,how can do void createButton( string bName, color bgClr, color bClr, color tClr, int width, int height, int x, int y, string text){
LONNV
Added topic how backtest with spread zero
i want to know how can bakctest with zero spread.whenever I change to zero in spread box , strategy tester not read zero and show always current spread
LONNV
Added topic how can get 1st 2nd 3rd order ticket number and their information
i have grid order example 1 st order ticket = 1 , lot = 0.1 ,openprice = 1.2345 2 nd order ticket = 2 ,lot = 0.2 ,openprice = 1.2367 3 rd order ticket = 3 ,lot = 0.3 ,openprice = 1.2389 i want to get their informations i tried as follow ,but not work
LONNV
Added topic How delete remaining pending order while open new order in mql4
I need help bros. I have two pending orders in market. when one order is execute,the remaining pending order need to close. how can delete this pending order. ` OrderSelect ( OrdersTotal ()- 1 ,SELECT_BY_POS,MODE_TRADES); //selecting tha last order
LONNV
Added topic How can get buffer value from supply demand indicator
I want to call buffer value from zone indicator , it is multitimeframe indicator. here is its buffer int t1; t1= 0 ; SetIndexBuffer (t1,BufferResistance1); SetIndexEmptyValue(t1, 0.0 ); SetIndexStyle(t1, DRAW_NONE ); t1+= 1 ; SetIndexBuffer
LONNV
Added topic how can use python in mql4 file and how can backtest optimize it
I am interesting how to use python in mql4. can we use? how can use? and how can backtest and optimize it
LONNV
Added topic why optimization limitation parameter cannot change
When I try to optimize , I want to change these optimization limit but cannot change. why this happen
LONNV
Added topic Optimization not continue although many hours long in testing time
I optimize EA with zigzag , it cannot continue its optimization although I run for many hours. Only three tests pass. why
LONNV
Added topic How to count standard deviation of past 200 candles
I want to count past 200 candles that they has highest standard deviation or lowest standard deviation value. double DeviationArray[ 200 ];           for ( int i= 199 ;i> 0 ;i--){     
LONNV
Added topic How optimize objectget() / ObjectGetValueByShift() function in EA
I optimize EA , no result show , later I know ObjectFind() and ObjectGet() functions don't work at optimizing! but in this articles https://www.mql5.com/en/articles/1512 Special Features of Optimization Process Draw objects are not really set The
LONNV
Added topic initialization failed (1) in optimization
I optimize my EA. it take too long to pass data and not show result . Although it passed over 100 data , it not show result in optimization results. So I stop optimization , it show error as 2022.04.19 03:45:16.130    ZigZag
LONNV
Added topic Array out of range in zigzag EA optimization
My EA can run on real and backtest,it base on zigzag indicator. When optimization , it show array out of range and cannot optimization. Can zigzag EA optimize
LONNV
Added topic How trendline object coordinate point make static as manual trendline
I want to draw trendline on chart, example I drawl uptrend line , it coordinate points need to be static , it mean dont want to move whenever coordinate point value change,because we write the code as follow void OnTick () {     
LONNV
Added topic How can get trend value of SuperTrend (ahtf + arrows + alerts) button
here is indicator code // modified by banzai // July 13th, 2020 // not for sale, rent, auction, nor lease // I copied the code from Mr. Tools. Thank you. #property copyright "Copyright 2016, mladen - MetaQuotes Software Corp." #property link
LONNV
Added topic How can close grid orders by selecting wanted orders
as show in pictue ,sell order total is 5 orders I want to close 0.05 lot sell order and 0.02 sell orders / not all orders / How can do this Can count existing orders, how many buy sell orders but how can select as above logic. by also ticket , 1st
LONNV
Added topic is correct if use iTime for wanted timeframe bar open time
if want to open at open of bar ,use Time[0] can I use iTime(0,PERIOD_H1,0) for H1 Bar open time
LONNV
Added topic How correctly use this bool function
bool useit(){    if ( 2 > 1 )    Print ( "OK" ); return ( true ); }      if (useit())      //======================== is this correct use of bool function? I cannot call this
LONNV
Added topic what function should use if want to choose 4 out of 7
I have this 7 value example  A,B,C,D,E,F,G if value of A,B,D,E is more than 1 (or) if value of B,D,E,F is more than 1 (or) if value of C,E,F,G is more than 1 I mean when any 4 value out of 7 > 1 how can made this condition by mql4 thanks
LONNV
Added topic ManualGMToffset work on backtesting?
Is manualGMTOffset work on backtest ? I backtest for order open in London session by manualGMTOffset but signal show almost all time. What wrong
12