Hi.
I would like to know if is possible to code an intrabar order even with IOG = false.
I mean, all my strategy is calculated on a closing basis and all orders are placed only after a new bar is generated. But there is one rare case, after knowing that the Opening price meets certain criteria, I would like to immediately place an order. According to my knowledge of MC, I guess I would have to check On the IOG option, but that would cause a big mess on my strategy.
Could MC explain if is possible?
Kind regards.
Placing an exceptional intrabar order even with IOG = false [SOLVED]
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Placing an exceptional intrabar order even with IOG = fa [SOLVED]
Hello lois77,
You can add a separate study that will be running with IOG = On alongside your regular signals.
Or make all your non-IOG code run only when barstatus=2.
You can add a separate study that will be running with IOG = On alongside your regular signals.
Or make all your non-IOG code run only when barstatus=2.
Re: Placing an exceptional intrabar order even with IOG = fa
Hi Henry.
Thanks for the help. I will try those code options you mentioned.
Kind regards.
Thanks for the help. I will try those code options you mentioned.
Kind regards.