gavin
gavin
Friends

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

gavin
Registered at MQL5.community
gavin
Added topic help required for a small function
I have a function here that i use to calculate the total risk per currency pair . I have it displayed on my chart so i know my total exposure if all trades on that pair hit there stop loss. void Pair_risk() {   if (show_risk== false )
gavin
Added topic selecting a pair - and checking if a trade exists or not on that pair?
A question here for someonw who can help. I want to select a currency pair , then check to see if there is an open trade on that pair or not? >>> if no trade are open on that pair xyz............ thanks
gavin
Added topic MAJOR PROBLEM IN LATEST VERSION OF MT4
THE VALUE POINT IN LATEST BUILD OF MT4 IS READING 0 ????????? CAUSING PROBLEMS ON EVERY EA AND INDI OUT THERE
gavin
Added topic problem on reading from a binary file ?
void function() {        int i;           for (i = OrdersTotal ()- 1 ; i >= 0 ; i--)             {
gavin
Added topic What am i missin in this loop????
void Function2_b() {      if (Use_TP1==false) return ;         int i; int MAGIC2;   bool tp1_allowed= true;         for (i = OrdersTotal ()- 1 ; i >= 0 ;
gavin
Added topic Question about trying to read from an array of numbers????
Hi all, I have an array of ticket numbers saved in a file (10 ticket numbers), What i am trying to do is; I want to search the array and read the 10 nunbers, then if my current ticket number does NOT match ANY of the 10 ticket mumbers i will then
gavin
Added topic Trying to add ordercomment() to a trade after partial close??
Is this possible in mt4? If so can anyone shed some light on how to do it. I have tried with no sucess. thanks
gavin
Added topic Can i have more than one BIn files?
I have a few functions in my ea, one writes info to file, mydata.dat and the other to mydata.dat3
gavin
Added topic Coders, what am i doing wrong in this snipit of code?
void SetCandleColor( int col, int i) { //+----------------   part one below      int limit;      int counted_bars= IndicatorCounted ();      //---- check for possible errors
gavin
Added topic Can anyone answer this Question for me >??
int limit;      int counted_bars= IndicatorCounted ();      //---- check for possible errors      if (counted_bars< 0 ) return (- 1 );      //---- last counted bar
gavin
Added topic problem with my indicator not showing data...
Hi, my indicator displayes info in the subwindow of my chart. However if there certain other standard indicators on the chart at the same time, the data on mine becomes displayed on the other indicator. Or in some cases not displayed at all.. Any
gavin
Added topic Is it possible to put object lable in seperate window??
Is it possible to put object lable in seperate window
gavin
Added topic Editing Experts error discriptions ??
Hi, can anyone tell me how can i change the error discription of a particular error code . eg. (Error 130== "invalid stops") Can i make error 130 say "invalid/no stoploss present" ?? thanks in advance
gavin
Added topic Can anyone correct this bit of code... I NEED to get the Time that the high and low happened on each day.
Can anyone correct this bit of code... I NEED to get the Time that the high and low happened on each day. int D1_bar = iBarShift( NULL , PERIOD_D1 , Time[i]);        double High_i=iHigh( NULL , PERIOD_D1 , D1_bar);
gavin
Added topic Your search did not match any documents?????????????????????
Your search did not match any documents What is going on?? I get this message everytime i do a search in this forum
gavin
Added topic Old tick>> Any answers to the problem of it stopping ea from working...
Old tick stops ea's from operating. Please dont say that it does not because it does. I have searched the forum with no joy. Any actual known ways around the problem
gavin
Added topic question about a script?
Hi, i have an ea that calculates infromation such as lot size and places it on my screen. I then have a script that i want to attach to enter a trade. I need the script to read the lable info displayed on my screen.. Is this possible????? Eg. lable
gavin
Added topic Filedelete question?
what is wrong with this code. it doesnot work.. if ( OrdersTotal ()== 0 )              FileDelete ( "mydata.dat" ); I am just trying to delete the file if there are no open positions. thanks
123