Forum

EA to close trade at the close of current [0] candle

Hello mql4 coders. I myself have some knowledge of this codes but I think have reached my limit of getting this EA to do just what I want. So am pushing it open to everyone who knows more than I do to help. Its kind of simple with plain words. 1. The EA is meant to buy if the last two candles are

lot size and no trade hr

pls i need a code for my EA to close all trade 18:00 on Friday and stop tradeand open 2:00 on Monday . also i want the EA to calculate a particular percentage of free margin as lot for every trade. i want u guyz to help me with these codes pls. thanks in anticipation

order select

it possible to select closed trade from history but how do you chose the last closed trade out of all the trades in history. any idea inregards to this will be very appreciated