Ming Luo
Ming Luo
  • Information
9+ years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Ming Luo
Added topic How to get the Bar difference between two orders?
Hi :   I want to apply the rule that if an order is opened, then in the following, say 30 bars, no same direction order can be opened.   I tried to implement this using the Time difference between the two orders, but obviously when it comes
Ming Luo
Added topic Why can't append text to the end of file?
Hi:   I have the following code which is not working:   file = FileOpen ( "Result.csv" , FILE_CSV | FILE_WRITE , ";" );          if ( file > 0 ){
Ming Luo
Added topic OrderSwap and pipcost
Hi: Can anyone explain what's the meaning of an OrderSwap in a forex market please? Also, in the mt4, how can I get the pipcost for a single pip please?   Thanks
Ming Luo
Added topic How to recalculate indicator in back testing?
Hi all: I am currently writing an EA based  the Zigzag indicator. As you know that, the Zigzag swing high or swing low may change as the market is going.    In my EA, I wrote something like:   zArr[ 1000 ]; zHighArr[ 1000 ];
Ming Luo
Added topic How to know the ticket number converted by the pending order?
Hi : I am trying to write a EA which keeps track of my mannually open orders. I am wondering if it is possible to know the ticket number which is converted by a pending order for example sell limit, buy stop order etc. I want to make the pending
Ming Luo
Added topic How to test program during weekend? How to manage manual orders in program?
Hi all: I have two questions. 1. How to test program during weekend? how to launch start() when there is no tick coming through? 2. If I manually open an order, I want the prgram to take over and manage the order.   In another case, when
Ming Luo
Added topic How to loop the indicator buffer efficiently and how to declare dynamic array?
Hi all : I am a newbie to the MT4 programming. I have read through most of the MT4 book but I wasn't able to find any way to loop through the indicator array.  I have two questions.  1. the first question is how to loop into the indicator
12