Reply

Need help with creating a rule for a difference in 2 SMAs

2 replies

profitkeeper

Subscriber, bbp_participant, community, 12 replies.

Visit profile

10 years ago #111666

I want to create a rule that would have one SMA at least 30 pips above/below a different SMA for an EA.

Alternatively, create a histogram indicator that shows the difference in values between 2 SMAs.

 

A solution for either one would be really appreciated.

0

profitkeeper

Subscriber, bbp_participant, community, 12 replies.

Visit profile

10 years ago #122836

I should qualify my request.

I know this sounds like a MACD, but I want to use a 3(shift1) SMA and a 2(no shift) SMA as the moving averages.

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #122910

Hello,

 

this shouldn’t be difficult to define., see the attached strategy.

 

Mark

Mark
StrategyQuant architect

0

Viewing 2 replies - 1 through 2 (of 2 total)