Topic: How to do entry condition

Sir,

     State me how to do this entry logic :

       if ( Highest(Bar, ROCSeries(#Close, 1), 3) < StdDev(Bar, ROCSeries(#Close, 1), 31)) ? then buy.