wing
wing
Friends 1
wing
Added topic Problem with drawing lines not from bar to bar
Dear all   I would like to know, is it possible for an indicator to draw a line that points are not assigned bar by bar?   For instance:   point 1 at bar[2], point 2 at bar[5], point 3 at bar[10], point 4 at bar[11], point 5 at
wing
Added topic Why does this indicator keep looping in MT4?
Dear all When I added this indicator to chart, MT4 keeped looping all the time!  (indicator "pha_1" ran normally) What's the problem? Thanks for your help!   wing  #property indicator_chart_window #property indicator_buffers 2
wing
Added topic which folder can I find Accelerator Oscillator?
Dear all   I want to use Accelerator Oscillator as icustom function but I can't locate it.   Would anyone please help?    Thanks a lot!     wing 
wing
Added topic expression on global scope not allowed
Dear all, what can I do? //+------------------------------------------------------------------+
wing
Added topic why does arraycopy not work?
Dear all   here is my code:   //+------------------------------------------------------------------+
wing
Added topic Why can't I attach this EA to a chart?
Dear all   When I try to drag this EA to EURUSD M5 chart or choose "Attach to a chart" command, MT4 just gave me no response.    Does anybody know why?   Thanks for your kind help!   wing    int old_tt1, old_tt2
wing
Added topic minimum tick time difference
Dear all   What is the minimum tick time difference between a new quote and an old one should be?   Is it accurate to use this code to measure?   int old_tt; double old_bid; int start() {    int start= GetTickCount ();
wing
Added topic why does my function return no result?
Hi all,   below is my code:   int init()   { //---- indicators    int a[] = { 4 , 5 , 6 };    int c;       for ( int z= 0 ; z< ArraySize (a); z++ )    {
wing
Added topic EA with multi pairs trading
Dear all   I coded a EA to trade with multi pairs:    for ( int z= 1 ; z<= 3 ; z++ )    {               switch (z)       {
wing
Added topic why does this for loop not work?
Dear all   Would you please tell me how to fix it?          int k2= 10000 , k3= 1000 , TimeFrame2= 60 ;        for ( int i=k2; i>k3; i-TimeFrame2* 60 )
wing
Left feedback to developer for job Indicator needed
wing
Added topic What's the problem with my code?
Dear all   I wrote an indicator to look for following condition:   If price is within ibands(deviation 1, upper) and ibands(deviation 1, lower)  for 2 timeframes, give me a "1" result.   However, it doesn't work when I put it on
wing
Added topic why it works properly for + or - but not / ?
Dear all,   Here is my code:      double a[];    SetIndexBuffer ( 0 ,a);    SetIndexStyle( 0 , DRAW_HISTOGRAM );      int limit;    int counted_bars=IndicatorCounted();
wing
Added topic Partial close of position
Dear all For instance, my EA opened an order of 1 lot and I would like to close 0.5 lot now. If totally 1 lot is closed at final, does it mean that broker does not allow partial close of an order? or I have to adjust any parameter in OrderClose
wing
Added topic remember many variables after log off of computer, pls help!
Dear all If I have 90 variables in an array[3,10,3] (each variable has 6 digits) that I want EA to remember after I log off my computer, apart from adding globalvariable one by one, is there any other method that is more efficient to do it? Would
wing
Added topic How can I make the 2nd dimension of an array to be dynamic?
Hi all, I want to record time[0] and time[1] every tick on individual row of an array, i.e. on every new tick, a new row should be opened to record the figures. here are my code: datetime a[ 0 ,dm2, 1 ]; int dm2= 0 ; start() {    a[ 0 ,dm2
wing
Added topic It is my first to use file in MQL4, help!
here is my code: int start()   {    int     counted_bars= IndicatorCounted ();    int handle, _GetLastError;    string File_Name= "spreadandbar.csv" ;    int time, count;
wing
Added topic Please help to double check my calculation!
Dear all, I would like to know whether my calculations are correct: 1. any time if I want to open an order, contract size should be: contract size = AccountFreeMargin() / MarketInfo(Symbol(),MODE_MARGINREQUIRED) ( can anybody tell me the usage
wing
Added topic How to setup an relationship between two orders? HELP!
Dear all How can I let EA know order A is the stop order of order B? If I need EA to search all orders which have its stop order, and replace them with stoploss, how? (I tried to use magic number but I can't as it can't be updated) Thanks for your
wing
Added topic Question regarding to backtesting
Dear all, I would like to know, if I put entry condition in an indicator and put order execution in EA, is it still able to perform backtesting for this system? If yes, how? Thanks for your kind help. wing
123