cryptex23
cryptex23
Friends

Add friends via their profile or user search and you will be able to see if they are online

cryptex23
Added topic Kill signal for EAs
Hi Folks, Last week a position went somewhat wrong and I wanted to stop my EA, but as my EA sits on a VPN, I was not able to stop it. Can someone advise me if there is a way to send an email kill message to EAs? Thanks,  
cryptex23
Added topic Arrays vs Loops MT4
Hi All, I am using loops to run a few calculations. For example look at the below, where I am using this to calculate mean over a period of time. I was wondering if I am better of inserting this into an array or is loop a better way? I am
cryptex23
Registered at MQL5.community
cryptex23
Added topic Freeze EA trading during economic news
Hello All, My EA is burning out at times of high volatility. I am trying to avoid trading during a major news. Any pointers or suggestions or articles towards one? Right now I am thinking of storing news event timings in an array. Then compare with
cryptex23
Added topic Closing all orders
  vol= MathFloor (AccountEquity())/ 10000 ;   {    for ( int count= 0 ;count< OrdersTotal ();count++)   {    OrderSelect (count,SELECT_BY_POS,MODE_TRADES);    if (OrderType()== 1 )
cryptex23
Added topic OrderSend failed
Heloo All,  My EA uses the below piece of code.    double vask    = MarketInfo( "EURUSD" ,MODE_ASK);    OrderSend ( "EURUSD" ,OP_BUY,vol,vask, 70 , 0 , 0 , NULL ,magic, 0 , clrRed );   I am using this
cryptex23
Added topic Array Out of Range Error
Hello, I would be grateful if someone could help me handle this Array Out of Size Error.   double b [ 200 ][ 1 ]; int OnInit ()   { for (j= 0 ;j<=param- 1 ;j++)   {   b[j][ 1 ]=(summation/product); //correct
cryptex23
Added topic Onint function
Hello everyone, What happens when my mt4 loses internet connection and then reconnects; will an active EA run the Onint function again
cryptex23
Added topic Log variables to a file
Hello All, I want to do a step by step check of the results of my EA. I want to output the variables somewhere i can later on refer to. Can some please guide me here? If i use the print function will it store in the journal files? 
cryptex23
Added topic Tester doesn't support multicurrency? :S
Hi All, Just read it on the forum that the tester doesn't support mutli currency trading (I am assuming EAs can do). Is there a workaround way? perhaps a little nudge in that direction. Or is there a way i could export variables to excel. That way i
cryptex23
Added topic Understanding OnTick()
Hello everyone, I was little clarity on how OnTick()  works. I am trying to check if a new bar is forming  void OnTick ()   { //---    int m_nLastBars= 0 ;    int m_bNewBar;    int nBars= Bars (
cryptex23
Added topic function not defined
I am running this inside a for loop, Strangely enough, it keeps giving me " function not defined error." I have defined lookback as an array lookback[i, 1 ]= iClose( "USDCHF" , PERIOD_M15 ,param- 1 -i);
cryptex23
Added topic Multiplication of arrays
Hello All, What functionality does mql when it comes to multiplication of Arrays?  Can I try 10*a, where a[x][1]?   Cheers! Cryptex 
cryptex23
Added topic EventKillTimer
Can someone give an example where EventKillTimer used ? Say if my trades have been filled, how do i stop the EvenSetTimer
cryptex23
Added topic Error 4108
t=total- 1 ;    for (t;t>= 0 ;t--)   {    OrderSelect (t, SELECT_BY_POS , MODE_TRADES );    if ( OrderType ()< 2 )   {   quant= OrderLots ();    if ( OrderType ()== 0 )
cryptex23
Added topic A token of appreciation
It has been quite some time since i started on this forum. I began as a person who didn't want to code. perhaps due to my inhibitions i never bothered writing any piece of code on my own. over time i realized that the best way to get your self a
cryptex23
Added topic Getting Slippage
Is there any way that i can find the slippage from the price when a pending order became a market order and the entry price of the same? Any functions or reliable way
cryptex23
Added topic OrderOpenPrice
If I am performing a buy operation. will the OrderOpenPrice return the Bid or Ask price. Since the Price that I pay is Ask, should not it return the ask Price
cryptex23
Added topic Tick Storage
How has the recent update affected the way a price is received? I am writing a piece of code to store the BID/ASK values into an array and then later write it to a xlsx or txt file. earlier only upon the arrival of a new quote were the BID/ASK prices
cryptex23
Added topic OrderSend sl=NULL
What would happen if send NULL under sl in an ordersend command
12