Rank: Advanced Member
Groups: Registered, Registered Users Joined: 8/3/2005(UTC) Posts: 40
|
Price Headley - Momentum Divergence
http://www.iqchart.com/p...technical_divergance.asp
[code:1:d48bfb34bc]
pds:=Input("Check for Divergence - Periods",5,100,15);
UTH:=90;
DTH:=30;
MOM:=MACD(); {Momentum Indicator}
Value1:=If(HHV(MOM,pds)-LLV(MOM,pds)<>0,HHV(MOM,pds)-LLV(MOM,pds),50);
Value2:=If(HHV(CLOSE,pds)-LLV(CLOSE,pds)<>0,HHV(CLOSE,pds)-LLV(CLOSE,pds),50);
PcMOM:=100*(MOM-LLV(MOM,15))/value1;
PcClose:=100*(CLOSE-LLV(CLOSE,15))/value2;
{Plot Values}
PcClose;PcMOM;UTH;DTH;
{Plot Signal}
{PcClose < 30 AND PcMOM > 90};
[/code:1:d48bfb34bc]
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.