hi sangmane thanks for your script. its very usefull. if its possible for you add R/R to your script when calculate position size. and show position size and R/R before get position. thanks...