I need to do something like the following:
When my strategy A starts, it immediately enters a LONG position.
Once the LONG position is entered, the price is retrieved for the LONG position and then this strategy A loads strategy B which gets passed the fill price of the LONG position.
Strategy B then opens a SHORT position based upon the price of the LONG position. It may then load stratgy C, passing the filled price of the SHORT position.
Can someone tell me, how do I pass the entry prices between strategies,
how do I kick-off a strategy from within another strategy, and if it is possible to close a strategy form within another strategy?
Sorry for dumb questions. I am a newbie!
Comment