if(OrdersTotal==0) { // here we can open one order }
Or set a flag when you opened your order.
if(order==0) { //order something order=1; }
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hi everybody,
even tho my understanding of things like this is growing a bit bigger, im stuck once again.
which basically opens a trade when X pips from the last trade (this case its a buy order) has changed in the opposite direction.
now, logical thing would be to change the last_buy_price - ask to a ask - last_buy_price.. right?
well, i tried that, and a ton of other combos - it kinda does what i want it to - but it opens not one, but a gazzilion orders.
any help?
i have this here :