I have the basic MACD test and I want to test the perfect combination with 4 other indicators, say EMA, SMA, HMA, VMA
I will have inputs for these so I can optimize in the Strategy Optimizer
boolEMA. (T or F)
boolSMA (T or F)
boolHMA. (T or F)
boolVMA. (T or F)
how do I program this in the strategy builder
I want to do this in one set
I was thinking of using groups
if all
if Close > MACD
group (if boolEMA = true && Close > EMA)
group (if boolSMA = true && Close > SMA)
group (if boolHMA = true && Close > HMA)
group (if boolVMA = true && Close > VMA)
then
Enter Long Order
the above wont work because if one bool is false, everything is false and I wont have an order
how do I do this... There are 16 possible combinations... i don't want to do 16 strategies
basically I want to answer which combination of indicators work best with the MACD?

Comment