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,
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
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
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
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
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?
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
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 (
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);
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
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
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
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