zen656565: To sell short on next bar
Wait until the next bar starts (once per bar) and open.
zen656565:
Use time, Time[] or iTime() , the time of any Bar is the time that the bar opened, so if you check the time of bar 1 it will only change when there is a new bar 1 . . . . if you search for once per bar you will find some example code.
I'm using:
where 0 is the currentBar - how would I determine when the Next Bar starts - a bit confused?
would the snippet of code be something like:
RaptorUK:
Use time, Time[] or iTime() , the time of any Bar is the time that the bar opened, so if you check the time of bar 1 it will only change when there is a new bar 1 . . . . if you search for once per bar you will find some example code.
Use time, Time[] or iTime() , the time of any Bar is the time that the bar opened, so if you check the time of bar 1 it will only change when there is a new bar 1 . . . . if you search for once per bar you will find some example code.
Thanks I will try out.
-Zen

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
To sell short on next bar - how would I manipulate the following or is this the right way to go to sell short on next bar?
OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES)
Predominately I would like to sell short on next bar at -1 Point Stop
- Zen.