You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
sorry that was a typo, its right in the EA... i mean , in ea its "timedelay==true"....
timedelay is a bool, a bool is true or false . . . so you don't need to say . . .
you can simply write . . .
if(true)
and specifically in the case of your code . . .
if(timedelay)
So you want the Order placed at the open of the 01:35 bar ?
After your sleep BarTime equals 0, this is less than Time[0] so BuyOrder1 is called . . . try this . . .
By the way . . . timedelay=true should give an error ?
I did exactly the same way u told, but still the EA works the same way....am just too confused.
Ah, yes . . . make BarTime a static . . .
no dude, i declared bartime a static variable....still the same....
no dude, i declared bartime a static variable....still the same....
ok dudes, i tried this way, and it worked for me...
thanks for helping all the way.....