
To wit:
Summary: I am wanting to simplify the algo by minimizing if possible the number of condition sets in the 'Conditions and Actions' window by combining separate target group conditions into one set. Possible?
1. I have 4 target settings and each have their own designator; i.e. Long_1, Long_2, Long_3, etc. and conversely for shorts.
2. The objective is to use 1 'Set' in the conditions and actions window using 4 conditional groups. The reason for 4 is because I am using boolean conditionals (on/off) for each target in user settings and hence I assume each entry needs separate permission for entry.
Note: All 4 conditional groups in this Conditions and Actions window (Set 1) have exactly identical requirements for entry, the sole difference being each target group has its own on/off switch in user settings, so "Use_Target_1, Use_Target_2, Use_Target_3" etc...
3. I am aware each entry need have it's own designator (as above). So examine the picture attached and see what I'm up to; I'm curious to see if I can avoid having to create 16 different sets to accommodate each designated entry. As in the picture, the primary Set window is set to "If Any", whereas the individuals of course are set to "If All".
4. Down below, The 'Do the following' window does not have if/then capability. I assume thus any action entered is executed. So if so then another possible arises:
5. What happens if my target contract is set to zero?
Explaining: In user settings I have Contracts_1st_Target which pairs with Target_1, Contracts_2nd_Target which pairs with Target_2, etc.
Since this is a C# construct, is it not possible that I can simply use the one conditional statement for entry (since all are equal except for bool switches)?
Can I not just set non-used contracts and targets to zero in user settings and go ahead and add all four separate entry executions in the 'Do the Following' window?
Out on a limb here, but I'm thinking that if the entry execution line sees a zero setting would the system realize 'not being used thus ignore'?
6. Multiple Targets I know have to be assigned open entry designators. I assume you have a link you can add here for this? Also needing Trailing stop instruction (link please) in this environ. If it matters, the trailing system will apply to all active entries equivalently, as I know how the DOM will react.
Thanx
JM

Comment