There is most likely a simple coding technique for this, it is driving me mad I can't find any solutions any advice would be appreciated.
//Variables
private int trend = 1;
private int rsi = 1;
// Rule 1
if (trend == 1)
{
Strategy Logic... blah blah
condition1 = true;
}
else {condition1 = false}
//Rule 2
if (rsi == 1)
{
Strategy Logic... blah blah
condition2 = true;
}
else {condition2 = false}
//and so on for seven rules
// order placement
if (condition1 == true && condition2 == true)
{
EnterLimit....
}
Comment