|
Burbank + California/ USA
Posts: 6 since Mar 2020
Thanks Given: 0
Thanks Received: 0
|
One other question along a similar line:
This works with regards to what it is supposed to do. Resets profits to zero at specified time and with P&L / Loss parameters set it would stop trading once target is met.
However, it works for the specific code on the market that it is activated on.
If I am trading 3 different markets for example, it would run the parameters individually on each market and stop trading accordingly for that particular market.
Trying to figure out what I would need to implement in the code to have it look at the combined P&L / Loss for the account for the day / markets traded for the day.
For example: If we set the day P&L target to $500 in the code it would keep taking new trades until that market either hit the $500 profit target or the daily loss amount was triggered.
But, if were trading 5 markets for example, I want to be able to have each individual market look at the profit / loss overall for the day before taking a new trade. So, if $500 has already been hit for the profits it would not enter new trades in any of the other markets since the daily goal has been hit. Regardless of the fact that each particular market may not have had a trade.
I hope that all makes sense, and I am pretty sure it is something rather simple I am missing.
Really appreciate the assistance.
Thank you
|