Cheers,
I have a workspace with four charts running strategies.
In each strategy I have inputs to compute how many contracts I should trade.
It's easy math, there's an input named MaxRisk, one named BankRoll, and another named MarginRequired: I trade the number of contracts that fit my MaxRisk setting, but also the Margin Requirements related to my bankroll. So if risk settings say trade 10x, but I have the margin for 5, I trade 5.
Now the problem arises when two trades happen at the same time. I'm using my bankroll to trade a future, how to tell the strategy in the other chart that $ X are busy with another trade? I didn't find anything in EasyLanguage that refers to this; maybe there's something related to your account if you trade with Tradestation brokerage, but I don't, so that's useless.
I have a workspace with four charts running strategies.
In each strategy I have inputs to compute how many contracts I should trade.
It's easy math, there's an input named MaxRisk, one named BankRoll, and another named MarginRequired: I trade the number of contracts that fit my MaxRisk setting, but also the Margin Requirements related to my bankroll. So if risk settings say trade 10x, but I have the margin for 5, I trade 5.
Now the problem arises when two trades happen at the same time. I'm using my bankroll to trade a future, how to tell the strategy in the other chart that $ X are busy with another trade? I didn't find anything in EasyLanguage that refers to this; maybe there's something related to your account if you trade with Tradestation brokerage, but I don't, so that's useless.