Thread: MQL4 Learning
View Single Post
  #381 (permalink)  
Old 06-09-2008, 06:24 AM
MANSTIR's Avatar
MANSTIR MANSTIR is offline
Senior Member
 
Join Date: Nov 2007
Posts: 141
MANSTIR is on a distinguished road
closed order

i want to closed order for ea on each day, if i'got my achieve profit..

how can i do that?

do i put;

========
bool ProfitAchieve = true;
int ProfitAchieve = 40;

========

if ProfitAchieve = true;
{
if ProfitAchieve >= 40;
{
ClosedOrder;
{
else
{


are my code were correct? i need help...please

Last edited by MANSTIR; 06-09-2008 at 06:28 AM.
Reply With Quote