Reilly Gailey
Reilly Gailey
  • Information
7+ years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Friends

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

Reilly Gailey
Added topic Help converting small piece of code from mt4 editor to mt5 editor
So I was using this piece of code to calculate the most recent bar.      static datetime BarTime= 0 ;    datetime now_bar= Time [ 0 ];    if (BarTime!=now_bar)      {
Reilly Gailey
Added topic What is code for closing all orders
Im working on a simple 2 moving average EA where when the lines cross over it will sell off the last order and make a new buy or sell order depending on which way the lines crossed. Im getting quite a few errors when I run it, feels like im missing
Reilly Gailey
Added topic How do I add code for Maximum Trades Open At A Time?
Hi, I cant seem to get the Max Orders to work. (Max Orders being maximum ammount of trades open at a time) A little help please and thanks! Here is the whole EA code [Very simple 2 moving average EA] when the lines cross it trades.   #property
Reilly Gailey
Added topic EA only makes sell trades? even when theres no OP_SELL?
Made a simple moving average cross over ea. 2 things; It only makes sell trades. I dont know how to add in a maximum open trades code.  Please help. Here is the code for it only making sells. can supply full ea if needed    void OnTick
Reilly Gailey
Added topic return value of 'OrderSend' should be checked?????
Hey so I wrote up my first ea, but im getting a couple warnings I dont know how to fix, can someone please help?   here is the whole ea   //+------------------------------------------------------------------+
Reilly Gailey
Registered at MQL5.community
12