You need to add an import in the following way:
import com.dukascopy.api.drawings.*;
We strongly suggest you to use an IDE for writing your own strategy as it assists you in cases like suggesting imports and methods, as well avoid syntactic mistakes before compilation. Download Eclipse IDE for Java Developers here:
https://www.eclipse.org/downloads/And then follow the instructions given here:
https://www.dukascopy.com/wiki/#Use_in_Eclipse