Yes it is quite straightforward, you need to read the http://book.mql4.com/
Inserted Code if( Open#91;0#93; gt; Close#91;1#93;-RRB- Printing ( Good ); else if( Open#91;0#93; lt; Close#91;1#93;-RRB- Printing (Poor );
comparing double values could be a small minefield though, it is feasible to get an evaluation of price == price to return false... read this for more info: http://forum.mql4.com/45053