how would i add this simple code?


close all orders on candle color change

if((redcandle))closebuy();

if((greencandle))closesell();

much thanks

zoop