I did not know that the hydraulic fluid was same as for the engine oil. Are you saying the hydraulics (three point hitch lift & the front end loader uses the oil from the engine as well? I used 10W40 is that ok?
WAIT, WHAT, WHAT ????
No the Three point lift and loader don't take the same oil as the engine!
What dip stick are you talking about???
One on the engine or elsewhere?
The transmission and rearend use hydraulic fluid which is the same fluid as the three point lift and the loader.
Next if you were talking about the hydraulics yes it's 100% the wrong oil type, drain all of it and replace all the filters and UDT hydraulic fluid.
Now if it's engine oil you are talking about , no it's not OK, it's still wrong as it should be 15w40, again drain and replace filter, there is a difference between gasoline engine oil (10w40) and diesel engine oil (15w40).
As far as the marks go on the dipstick on the engine fill to the top mark.