I am trying to create a strategy through the Strategy Builder where a long position is initiated after 2 consecutive price bars close above the SMA. To achieve this I tried adding two conditions in Conditions and Actions as follows;
IF ALL of the following conditions are met:
1st condition:
Price --> Close --> Bars Ago (0)
Cross Above --> Look back period (1)
Indicator --> SMA --> Bars Ago (0)
2nd condition:
Price --> Close --> Bars Ago (1)
Cross Above --> Look back period (1)
Indicator --> SMA --> Bars Ago (1)
Do the following:
EnterLong(DefaultQuantity,"");
And I tried various combinations but its not giving the desired results.
Thank you,
Remo
Comment