Ok. When you copy a strategy from some forum thread, the first step is understanding the strategy. Simply copying the MQ4 code will normally not do, because very often the MQ4 code posted on forums is already wrong. So you must 100% understand what the strategy does.
I do not understand this strategy, so can you explain to me in a few words when it enters and exits a trade?