[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rules



PureBytes Links

Trading Reference Links


Input:

UseCond1(TRUE),
UseCond2(TRUE);

If (UseCond1 and Condition1) AND (UseCond2 and Condition2) Then Buy at Market;





 ---- you wrote: 
> I want to be able to switch conditions (parts of rules) on and off through
> the INPUTS to the strategy.
> 
> For example, my ebtry might be: If Condition1 AND Condition2 Then Buy at
> Market;
> 
> How can I switch off, say, Condition2 in the Inputs by saying FALSE if I
> don't want that part of the entry rule to be working?
> 
> Thanks
> 
> Tom
>