Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 8/11/2005(UTC) Posts: 104
|
Hi Asish,
Thank you for your interest.
When formula below is posted in MetaStock Pro v 8.0 with PowerPivots.
An Error message is displayed with the curser is at the “Pds” term at this line in the formula,
A:=Mov((CLOSE-LLV(LOW,Pds))/(HHV(H,Pds)-LLV(L,Pds)),Slw,E)*100;
and Error message says:
“Pds”…. “This variable or expression must contain only constant data.”
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have written the formula again below
Pds:=ExtFml( "Hilbert.HilbertPeriod");
Slw:=Input("Slowing double stoch",1,20,3);
trigger:=Input("Trigger Length",1,20,3);
A:=Mov((CLOSE-LLV(LOW,Pds))/(HHV(H,Pds)-LLV(L,Pds)),Slw,E)*100;
DSS:=Mov((A-LLV(A,pds))/(HHV(A,Pds)-LLV(A,Pds)),Slw,E)*100;
20;
80;
Mov(DSS,trigger,S);
DSS;
Best regards,
Derek
|