return( (datetime)86400*MathFloor(tNY/86400) + (datetime)ClsSess - tNY );tNY/86400 is a datetime/int try
return( 86400*((ulong)tNY/86400) + ClsSess - tNY );
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
Hi,
to calc the NY-Session I use:
The numbers are the line nubmers.
The warning is:
I get the same warning even before I added all the (datetime)-casting.
Why do I get this warning on the expression being returned?
Gooly
I got it this is ok - no warning: