rookie_forawhile
rookie_forawhile
Friends

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

rookie_forawhile
Added topic How to check for closed trades?
Hi fellow coders, I am trying to figure out how to stop my EA from trading if there was a trade in lets say last 5 bars. It should be relatively simple but I cant get it done. I came up with this code, where LastTradeBar is extern int and I set it to
rookie_forawhile
Added topic Did I make a trade on the current bar?
Hello folks, Could you please give me a hint how to check if there is /was a transaction on the current bar? I think I need to modify this: for (int i = 0; i < Total; i ++) { OrderSelect(i, SELECT_BY_POS, MODE_TRADES); if(OrderType() <= OP_SELL
rookie_forawhile
Added topic How to copy an array from an indicator to an EA?
Hi folks, I am trying to figure out how to copy an array from an indicator to an EA. I am using global variables in order to do that, but that obviously has its flaws ( you cannot use tester, problems when applying to multiple instruments, etc.). I
rookie_forawhile
Added topic I cannot get this simple code to work ! PLEASE HELP...
Hi people, I am struggling with this: int mlevel1upper; double rangeup[13]; for(int vx=0;vx<13;vx++) { rangeup[vx]=Zone1Upper-m_line[vx]; mlevel1upper=ArrayMinimum(rangeup,WHOLE_ARRAY,0); //double MaxRange=(High[Max]-Low[Max])/Point; } Why do I
rookie_forawhile
Added topic Arraybsearch problem
Hi Guys, I am creating this thread out of pure frustration. I searched metaquotes website and googled the internet ... BUT ... I cannot find an answer. What I am trying to accomplish is this i have a sorted array ( ascending,meaning that the 0 index
rookie_forawhile
Added topic How to store historic indicator values in an EA
Hey guys, Yesterday I got stuck with my EA. It uses an indicator but what happens is that it obviously changes all the time. However, when in trade i need the ea to use values that were calculated when the trade was opened in order to set exit
rookie_forawhile
Registered at MQL5.community
rookie_forawhile
Added topic Can anyone help me with mapping an indicator into the EA?
Hi Everyone! I have been struggling with this problem for a while. I used mql4 references and Googled so hard that actually some keypad came out of my keyboard. So what am I trying to achieve? I have this indicator SDX8 and EA from a template. SDX8