TakeShrt(SymBid,ProfitTarget, SymPoints,SymDigits) ????
qjol:
TakeShrt(SymBid,ProfitTarget, SymPoints,SymDigits) ????
oops. Sorry.
double TakeShrt(double price,double take,double point,double SymDgts ) { if(take==0) { return(0);} else { return(NormalizeDouble( price-(MathAbs(take)*point),SymDgts));} }
Change this:
datetime tmpTime=TimeSeconds(TimeCurrent());
To this:
datetime tmpTime=TimeCurrent();
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
How do you put the date in for expiration in the OrderSend function if your using a 'pending order' command? If I replace tmpTime+3450 w/ 0, it works.
I also get an 'invalid stops - 130' on my order modify.
Anyone got any ideas? I'd appreciate it. TIA!