Not common knowledge to me as a newcomer to this thread. Seems to me you should have some sort of diclosure here don't you? Your Profile mentions nothing about your working for Trade Ideas.
Should be easy to do with SWP www.crontech.com Bar[Open,D] <= Bar[Low,D] * 1.01 & Last > Bar[High,D,1]