Thank you very much for the updated version! I would try it out in my Expert Advisor........ so maybe you can add a buffer something like this: if(iCustom(Symbol(), 0, "csDash",0, 0) != 0){ upsignal = true; } if(iCustom(Symbol(), 0, "csDash",1, 0) ...