Reply

Comparing Two Recent Highs on the MACD

2 replies

ssdex

Customer, bbp_participant, community, 99 replies.

Visit profile

9 years ago #113003

Hello,

 

I’m trying to compare two recent highs on the MACD. I’m using the (Highest High) for price but I don’t see a way to use this for the MACD. 

 

Example:

 

IF (MACD highest high of last 10 periods is > MACD highest high of last 20 periods)

 

Is there a way to code this in EA Wizard?

 

Thank you again for your time.

 

James

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

9 years ago #128016

hmm, it is not possible to do this in EA Wizard using some simple command.

 

we have to create a special function for that, that will return highest value of an indicator over some period, similar to how Indicator Average is computed.

We’ll add this function in a new version.

 

If you know a little programming you can create a custom function that does this.

Mark
StrategyQuant architect

0

ssdex

Customer, bbp_participant, community, 99 replies.

Visit profile

9 years ago #128039

Mark

 

Thank you. I will look at the custom function and see if I can work something out. Would love to see this in the next version. Thanks again for your time.

 

James

0

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