GAP Indicator

 

Dear All,

Tearing my hair out, trying to  get this to work in MT5! This is a MT4 indicator that plots a arrow if the open on the current day is greater than the close of the previous day by a specific amount. MT5 seems to have the a problem with SETINDEXBUFFER, but when i try and fix that something else breaks! Could anyone give me pointes in how to convert this to work in MT5?


Thanks

Reason: