if (there is closed buy position in this candle) {dont open a new position}; ???

Created at 11 May 2017, 01:41
alexgbg30@gmail.com's avatar

alexgbg30@gmail.com

Joined 10.05.2017

if (there is closed buy position in this candle) {dont open a new position}; ???
11 May 2017, 01:41


Hello guys

I need some help to writing two lines in code

1- if (there is buy position in this candle) {dont open buy position};

2- if (there is closed position in this candle) {dont open new position};

by the way I am a new programming


@alexgbg30@gmail.com