How do I use IF when referencing another sheet

This is the reference: =$‘Daily Trading Plan’.

This is the formula I need to attach to it: =IF(F6<>"",F6,"")

What is the correct format for this?

Hello,

=IF($'Daily Trading Plan'.F6<>"";$'Daily Trading Plan'.F6;"")

Thank you very much!